[Resolved] Protecting BuddyPress Pages

Home Forums Support [Resolved] Protecting BuddyPress Pages

Home Forums Support Protecting BuddyPress Pages

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #221532
    Mary Pearson

    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?

    #221540
    Mary Pearson

    Not to worry. I found a plugin called BP Simple Private Pro that I’m purchasing. Hopefully it will do the trick.

    #221598
    Tom
    Lead Developer
    Lead Developer

    Glad you found a solution 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.