Recently, I used BuddyPress in a project, and my client me wanted those pages to be private. In particular, they wanted the activity page to be private.
There are many WordPress plugins related to BuddyPress, but none of them help me to achieve this in a simple and easy way. That’s why I created my own plugin, using the BuddyPress documentation. And now I’m sharing it to you.
Buddyfence, protect your community from anonymous users
Buddyfence lets you choose which BuddyPress can access an anonymous user, that is, a not logged in user. If an anonymous user tries to access these pages, they will be redirected either to the login page, or to the homepage, or even to a custom page.
We can restrict access to theses pages: Members, Groups, Activity and User Profiles. If we had a bbPress forum, an anonymous user won’t access to their members profiles either.
Since Buddyfence 1.2 we can use any website page to redirect anonymous users. We can also display a template with a message to log in rather than redirecting them.
You can get more information here or by clicking over the image above.
Take into account that this plugin needs BuddyPress, but if you haven’t installed yet the plugin just won’t work. We won’t be able to see the plugin options until BuddyPress is installed and activated.
Hope this plugin is useful 🙂