@shawnyuan
Not recently active
-
nit3watch posted on the forum topic login-redirect – BP Profile as Homepage ( broken? ) in the group How-To and Troubleshooting: 14 years, 1 month ago
@shawnyuan ** when user log into your website, user is redirected to his/her profile. ** when user tries to move to homepage, user is redirected to his/her profile. ** Here’s the BP Profile as Homepage plug-in:
function bp_profile_homepage() { global $bp; if(is_user_logged_in() && $_SERVER=='/') { wp_redirect( $bp->loggedin_user->domain ); } }…
[Read more]