Protect your BuddyPress Installation from strangers. Only registered users will be allowed to view the installation.
Yes, you can define the excludes on the settings page unter Settings -> Privacy.
Yes, currently you need to write a filter function in your functions.php.
function redirect_nonloggedin_users($current_uri, $redirect_to) {
// Redirect users to the homepage
// Caution! Exclude the homepage from 'Private BuddyPress' options
// to avoid redirection loops!
return get_option('siteurl') . '/?from=' . $redirect_to;
}
add_filter('pbp_redirect_login_page', 'redirect_nonloggedin_users', 10, 2);
Yes, you need to write a filter:
function make_blog_directory_visible($visibility) {
global $bp;
if ( bp_is_directory() && $bp->current_component == $bp->blogs->slug )
return false;
return $visibility;
}
add_filter('pbp_login_required_check', 'make_blog_directory_visible');
Yes, currently in Private Buddypress are existing 5 actions:
Also in Private BuddyPress are existing 6 filters:
Requires: 3.0, BuddyPress 1.2 or higher
Compatible up to: 3.1, BuddyPress 1.3
Last Updated: 2011-1-23
Downloads: 24,018
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?