Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,459
- How-to & Troubleshooting
- 127,662
- Creating & Extending
- 25,625
- Requests & Feedback
- 9,378
- Third Party Plugins
- 9,704
- Showcase
- 3,317
- Ideas
- 1,315
- Miscellaneous
- 8,825
-
@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