Skip to main content

Home/ buddypress/ Group items tagged privacy

Rss Feed Group items tagged

Vernon Fowler

gglnx/private-buddypress · GitHub - 0 views

  • 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. `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);`
  •  
    Protect your BuddyPress Installation from strangers. Only registered users will be allowed to view the installation and all other users will be redirected to the login page. Users attempting to view blog content via RSS are also authenticated via HTTP Auth. You can exclude the registration, the homepage and blog pages (e.g. posts, archives and non-buddypress pages) from protection. In combination with the plugin 'Invitation Code Checker' your installation stays private but the registration is for users with a special password open.
1 - 1 of 1
Showing 20 items per page