LH Private BuddyPress
Protect your BuddyPress Installation from strangers. Only registered users will be allowed to view view directory pages, activity and profile pages. Users attempting to view blog content via RSS are also authenticated via HTTP Auth. This plugin is inspired by the Private Buddypress plugin by Dennis
Protect your BuddyPress Installation from strangers. Only registered users will be allowed to view view directory pages, activity and profile pages. Users attempting to view blog content via RSS are also authenticated via HTTP Auth.
This plugin is inspired by the Private Buddypress plugin by Dennis Morhardt. I rewrote it to provide a solution that followed the WordPress coding stndards and the decisions rather than options philosophy. I deploy this on my own multisite environment where I don’t want public profiles, activity or members directories (and where I don’t want site admins changing this).
Like this plugin? Please consider leaving a 5-star review .
Love this plugin or want to help the LocalHero Project? Please consider making a donation .
Use the automatic plugin installation in the backand or install the plugin manuell:
- 01Upload ‘lh-private-buddypress’ to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently asked questions.
Can I change the URL where non-loggedin users are being redirected?
Yes, currently you need to write a filter function in your functions.php or site specific plugin.
function redirect_nonloggedin_users($current_uri, $redirect_to) { // Redirect users to the homepage return get_option('siteurl') . '/?from=' . $redirect_to; } add_filter('lh_private_buddypress_redirect_login_page', 'redirect_nonloggedin_users', 10, 2);
Are there other actions or filters?
In LH Private BuddyPress are 4 existing filters:
- lh_private_buddypress_is_buddypress_feed : Boolean value if the current page is a BuddyPress feed
- lh_private_buddypress_redirect_to_after_login : Called URI from where the users came from