Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Privacy ?


peterverkooijen
Participant

@peterverkooijen

OK, to bring the thread back to the original subject, in the current version of my site I use Burt Adsit’s solution for the most immediate privacy problem, making members sections members-only:

function js_restrict_access(){
global $bp, $bp_unfiltered_uri;

if (!is_user_logged_in() &&
(BP_MEMBERS_SLUG == $bp_unfiltered_uri[0] ||
BP_GROUPS_SLUG == $bp->current_component ||
BP_BLOGS_SLUG == $bp->current_component)){

bp_core_redirect( get_option('home') . "/register" );

}
}
add_action( 'wp', 'js_restrict_access', 3 );

Put that in bp-custom.php and it works pretty painlessly. It doesn’t have a built-in message to let the user know why he’s being redirected though.

Haven’t tried Jeff Sayre solution yet, but apparently it has some problems. I’ll try that one in my next upgrade to BP 1.2 and WP 3.0.

Also commercial membership plugins apparently have built-in privacy features, so that could be a solution. Haven’t gotten that far yet…

Skip to toolbar