Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,009
- How-to & Troubleshooting
- 129,532
- Creating & Extending
- 25,786
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,405
- Miscellaneous
- 9,169
-
@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