Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
@sbrajesh the following function suits purpose #2 just fine. I think the var $user_url which seems tied to the main site url is safe enough (untested for sure). fingers crossed.
function bn_loggedin_user_domain() {
global $bp;
return $bp->loggedin_user->userdata->user_url;
}
add_filter(‘bp_loggedin_user_domain’,’bn_loggedin_user_domain’);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS