Archived topic
Protecting BuddyPress Pages
2 replies · Started by Mary Pearson on August 26, 2016
Hi Tom,
I have a membership site at christiangays.com. I'm using Simple Membership to protect my pages but it doesn't protect my BuddyPress pages, so on the support forums it was suggested that I add
add_action('bp_before_profile_loop_content', function(){
if (!is_user_logged_in()) {
echo '<p>'.__('Only Logged member can see member\'s profile.').'</p>';
return;
}
})
which I did, but it didn't work, so they have asked
You must at least see the message : "Only Logged member can see member's profile." when you are logged-out, UNLESS your buddypress theme does not support that filter/action.
Would you know?
Not to worry. I found a plugin called BP Simple Private Pro that I'm purchasing. Hopefully it will do the trick.
Glad you found a solution :)