for members, groups etc i have used
`<a href="/members/”>Members`
and for specific members, groups etc i have used (say for a member’s profile)
`<a href="/members/display_name; echo $userName;?>/profile” >My Profile`
and so on
but mods may refine these as i am making it up as i go !
Thanks @valuser. I also found out more about it here: http://bit.ly/r2akXB
The BuddyBar builds those links mostly out of $bp->bp_nav and $bp->bp_options_nav (which are also responsible for site navigation in other places). See https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-buddybar.php#L423
The WP Admin Bar is built more independently of the BuddyBar. Each component essentially does its own work. See for instance https://buddypress.trac.wordpress.org/browser/trunk/bp-groups/bp-groups-loader.php#L370