Re: Adding links to admin bar
You can supply your own admin bar if you like. From /bp-core/bp-core-adminbar.php:
add_action( ‘bp_adminbar_logo’, ‘bp_adminbar_logo’ );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’, 2 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_account_menu’, 4 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_blogs_menu’, 6 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_notifications_menu’, 8 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_authors_menu’, 12 );
add_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
Those are the actions that are triggered for each of the major menu sections. For ‘my account’ it’s the function bp_adminbar_account_menu(). In bp-custom.php, make one if you don’t have one, do:
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_account_menu’, 4 );
add_action( ‘bp_adminbar_menus’, ‘my_account_menu’, 4 );
function my_account_menu(){
<your stuff here for the account menu>
}