This plugin lets you have a normal site Homepage for visitors while logged-in users have their BP Profile as Homepage. This is similar to Facebook. The redirection can be disabled for a particular role.
** When a user logs in, (s)he is redirected to the BP Profile.
** When a logged-in user goes to the site Homepage, (s)he is redirected to the BP Profile.
** When a user logs out, (s)he is redirected to the site Homepage.
The plugin is successfully tested with WordPress 3.6 and BuddyPress 1.8.1
Note: This plugin is a fork of the excellent plugin https://wordpress.org/extend/plugins/bp-profile-as-homepage/ by Jatinder Pal Singh. This fork updates and improves the code in a variety of ways.
bp-profile-as-homepage-forkdirectory to the
- Activate the plugin through the ‹Plugins› menu in WordPress
- Under Settings -> BP Profile as Homepage Fork, the plugin redirection can be disabled for a particular role. By default, the plugin redirection is disabled for No one.
- How is this plugin best used?
It is suggested that you should have a static HOMEPAGE for visitors which allows registration. Once a user has logged in BuddyPress, (s)he will be redirected to the BP Profile. While being logged in the user is redirected to the BP Profile when clicking Homepage links or the logo of the website. This provides the user with easy access to the BP Profile.
- Is the plugin compatible with earlier version og WP and BP
The plugin is very likely to be compatible with earlier versions of WordPress and BuddyPress, at least to WP 3.2 and BP 1.5. However, backwards compatibility has not been tested.
- Possible conflicts with this plugin?
The plugin may conflict with other redirection plugins. There are no known plugin conflicts.
- Is this plugin ready for translation?
There are no reviews for this plugin.
Contributors & Developers
“BP Profile as Homepage Fork” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Removed code used for debugging
- Updated .POT file
- Logic behind role checking redone
- Status codes are no longer returned
- Separated redirects after login and on homepage for logged in users
- Removed use of $bp global variable
- Just forked from https://wordpress.org/extend/plugins/bp-profile-as-homepage/
- Now returns status code 302. This is required by some browsers and firewalls to allow the plugin redirection
- Removed use of deprecated functions
- Now uses nonces for verification
- Now uses redirect function as described in the Codex
- Now handles custom roles
- Now fully ready for localization