WordPress.org

Ready to get started?Download WordPress

Forums

More Privacy Options
Not protecting buddypress pages (3 posts)

  1. Stacy (non coder)
    Member
    Posted 2 years ago #

    BP 1.5. My BP group pages are on google and completely available to non logged in users. I thought this was protecting them. Has it broken since 1.5 or does it just not cover bp? The registration page is also showing on blogs set to " only logged in users".

    http://wordpress.org/extend/plugins/more-privacy-options/

  2. Corey McKrill
    Member
    Posted 2 years ago #

    I have the same issue. Regular blogs on the network are protected, but BuddyPress is wide open. All are set to "Netword Registered users only".

    WP 3.2.2
    BP 1.5.5

  3. Corey McKrill
    Member
    Posted 2 years ago #

    I'm not sure why this is happening, but I suspect that BuddyPress is sending header information before the redirection to the login page is firing, so it's getting ignored. Here's a workaround that seems to be working for me:

    In the plugin file, ds_wp3_private_blog.php go to line 461 and you'll see:

    add_action('template_redirect', array(&$ds_more_privacy_options, 'ds_users_authenticator'));

    Change template_redirect to send_headers.

    You may want to do the same on 467 and 474 if you use any of the other privacy options.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic