Search Results for 'private'
-
AuthorSearch Results
-
September 24, 2012 at 6:39 pm #142363
frank tredici
Member@modemlooper (bp forum not letting me post nicely, so I am splitting my reply in 2 parts)
Out-of-the-box, BP has a Send Invites link on the Groups forum. We don’t want that link unless you are a Group Admin or Group Moderator. Currently, we only have 1 private group set at this time with a group moderator. It is Group 17. But I know we will be getting more and more of these instances and I want to avoid hard coding the Groups each time to control the Send Invites link.
See my code below from a plug-in I wrote. It is in next thread post.
September 22, 2012 at 11:43 am #142274meg@info
Participanthi @farandhigh,
with this code, you can create a private community, just logged members, can access to buddypress page.
/**
* Privacy
* @return [type] [description]
*/
function restrict_access(){
global $bp, $bp_unfiltered_uri;// If user is not logged in and
if (!is_user_logged_in() &&
// The current page is not register or activation
!bp_is_register_page() &&
!bp_is_activation_page() &&
// The current pas is not blog page
!bp_is_blog_page() )
// Redirect to registration page. Change /register to your register page slug
bp_core_redirect( get_option('home') . '/register' );
}// here, you can add som config paramt to check if private community is enabled
add_action( 'wp', 'restrict_access', 3 );September 20, 2012 at 7:44 pm #142180In reply to: SSL too many redirects
Arne
MemberHi @aces thank you for your input, I am using private buddypress that was refered to in thread you mentioned but deactivating all plugins except buddypress did not change anything. I have set up a fresh new buddy press installation to check if it is just my installation, but its the same there I added the code that rodtrent mentioned but that didn’t change anything as well. It looks like it is locked in a redirect loop between e.g. http://example.com/buddypress/groups/group1 and https://example.com/buddypress/groups/group1 because the link that is shown in the url field of the browser is http but all the other pages are properly loaded with https. I have changed the wordpress and site url to https.
September 20, 2012 at 4:28 pm #142163In reply to: SSL too many redirects
aces
ParticipantDo you have any ‘privacy’ plugins or something like a redirect_to_forum() function in your bp-custom.php file such as in https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/too-many-redirects-in-chrome-404-in-ff-when-trying-to-accees-group-ater-update/ ?
If so try disabling it / them as they may need updating / replacing *
September 19, 2012 at 4:44 pm #142102In reply to: Hiding Forums from non-registered users:
aces
ParticipantYou could create a different menu for logged in users?
See the bottom of the following post for more info:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-do-i-make-buddypress-1-6-a-private-community/#post-136021September 17, 2012 at 5:05 pm #141899@mercime
Participant@obsidianmarketing 2 WP instances or 1 Multisite installation == it all depends on what kind of website you are running.
Example 1: I have 2 WP instances for an organization where the main site, http://www.example.com deals mostly with organization blog/news plus around 700 pages of general information. The subsite community.example.com is the private BP site on a second database.
Example 2: For another installation, it’s multisite and the information generated in the main site is from the user blogs.== Since I already have WP installed on my sub-domain do I need to uninstall it on the sub-domain first? If so does that just mean that I will delete the folder that was created with the name of the sub-domain in the public_html folder? ==
Before you make any major changes to your installation, backup DB and server folders. If you believe that your organization will be better served with a multisite installation, then deactivate BuddyPress and create a network (make multisite) on example.com. Then you might want to import DB of subsite into DB of main site if you already have added a lot of information. In certain cases, you only need to import the XML export from your WP install in subsite.example.com
For more assistance should you go the multisite route, please go to https://wordpress.org/support/forum/multisite
September 16, 2012 at 5:16 pm #141804LavishDhand
Participant@djpaul Thank you for your reply
September 16, 2012 at 10:52 am #141795Paul Wong-Gibbs
KeymasterNot possible out of the box. You’d have to write the functionality yourself, or hire someone to figure it out for you.
September 16, 2012 at 9:20 am #141786LavishDhand
ParticipantI guess it is not possible. However if it is, I will appreciate even some clue or hint on this…
regards.
September 13, 2012 at 1:22 pm #141586In reply to: PM and Activity feed SPAMMERS
mayhem3030
Memberfyi the buddypress error is that replying to a private message iframes the site in the reply box!!!
I’ve asked my JS guy to look at it, and his reply is:-
“hmmmm sorry no -its some deep bug in the JS of buddypress. Google it? lol.”
September 13, 2012 at 12:13 pm #141575In reply to: PM and Activity feed SPAMMERS
mayhem3030
MemberHow about the PM Spam?
1.6+ killed my site (the AJAX on private messages didn’t work)
Any ideas on a fix for that?
Will it prevent Activity replies as SPAM though? as that’s how this SPAM bot has been hitting the site…
Not posting up a “What’s New” SPAM, but replying to other members’ What’s New
Mike
September 11, 2012 at 9:42 pm #141478In reply to: [resolved] Clear ”site notices”?
Paul Wong-Gibbs
KeymasterReset his account password, log in with his account, go to private messages, and find/delete the one in question. It’s safer than fiddling in the database
September 11, 2012 at 5:21 pm #141461In reply to: SocialTheme – what do you think?
Aron Prins
ParticipantSeptember 11, 2012 at 11:28 am #141434LavishDhand
ParticipantAny thoughts on this? anyone?
Please
September 10, 2012 at 2:06 pm #141361In reply to: private messages only to and from administrator
LavishDhand
ParticipantPlease share if you have achieved this.
regards
September 8, 2012 at 5:19 pm #141289In reply to: [Solved] Get list of unread private messages
prowseed
Participant@shanebp, you are awesome : )
I just jumped into my ftp, located the function bp_has_message_threads() and trully there is a type param. And… the code you posted on top works like a dream : )
Thanks again.September 8, 2012 at 4:21 pm #141276In reply to: [Solved] Get list of unread private messages
shanebp
ModeratorSee bp_has_message_threads() for type param. It defaults to ‘all’.
You don’t need to dirty hardcode anything – you just need (maybe) to write a custom query and call it from a theme file.
read/unread is stored in wp_bp_messages_recipientsGood luck
September 8, 2012 at 3:50 pm #141287In reply to: [Solved] Get list of unread private messages
prowseed
ParticipantAnd did YOU look at the codex?

Ofcourse, it was the first thing I did when I discovered the problem. I’ve been heavy googling for one hour after I made this question. At the codex there is info that the olny accepted parameters are:
{user_id, box, per_page, max}. Perhaps “box=notices” would be some point of interest (can’t check now as I’m away from working env) but obviusly there’s nothing like type
And about: bp_message_thread_has_unread()
I don’t want to check if the message I get is unread or not, but I need to make this filter on the level of query ( not display ), so I am getting only unread messages, not ‘n’ number of messages from which I am displaying only those that are unread because either way I will not display all of them or I will have to query very big amount.I see the great power of BuddyPress, but I’m pretty new in this system (it’s my second day
) and I’m jumping through files and functions looking for some clue. I could optionaly make it dirty hardcode, but then everyone in my team would push me to the pit of inferno 
//EDIT
Anyway: Thanks for interest
September 8, 2012 at 3:29 pm #141283In reply to: [Solved] Get list of unread private messages
shanebp
ModeratorDid you look at the codex?
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-private-messages-loop-bp_has_message_threads/Try this to start your loop
``
I’m not sure if ‘type=unread’ is valid.
bp_message_thread_has_unread() returns true or false
So you can use it in your loop to decide whether to proceed.September 7, 2012 at 3:01 pm #141205rcpessoa
MemberHello, I have the same problem, and I am using the default theme for buddypress, any ideas on how to fix this issue?
September 6, 2012 at 7:21 pm #141159Ben Hansen
Participantcan anyone actually verify this plugin boone put up works? it appears to have the option but when i tested it the policy is not enforced and even logged out users can see the private fields on our site at least.
August 31, 2012 at 11:45 pm #140672In reply to: Make Private Groups Visible
mrhlmcpl
MemberIm looking for the exact same solution… any progress on this????
August 30, 2012 at 4:39 am #140527hello i jumping on peoples tgs is the only way i can tal on here but ive got a nice tip for u ray if u can help me get my buddy press private community working
August 28, 2012 at 12:51 pm #140430In reply to: How to Hide Members Directory
fcrombez
MemberTry the pluggin “BuddyPress Private Community”
August 27, 2012 at 6:20 am #140327@mercime
Participant@chouf1 site is private, but I took a screenshot of the group forum topic I made for you as well as the screenshot of the config settings. I post code usually e.g.
[ sourcecode lang=”css” ] the code [ /sourcecode ]
or [ php ] the code [ /php ]
P.S. had to put the spacings between brackets or else it won’t show up here. -
AuthorSearch Results