New answers tagged buddypress
You can manipulate the members loop in a variety of ways. Here is an example from the BuddyPress codex that you could adapt: http://codex.buddypress.org/developer/loops-reference/the-members-loop/#code-examples
Short answer: there's no elegant way to do this in BP at the moment. Very early in the page loading process - before BP_Group_Extension objects are loaded - BP identifies whether a group is private and whether the current user should have access to a given tab. When a group is private, there's a hardcoded whitelist of group slugs ('home' and ...
Try pulling in the username directly from WordPress. I don't think BP will do it for you by default. global $bp, $wp_admin_bar, $current_user; $bodytag = str_replace("Admin", "", $current_user->user_login;);
Top 50 recent answers are included