The “Dashboard” link in BP Admin Bar only shows up for logged in users who have a role higher than Suscriber – the default role of BP members unless you changed it.
I find it quite handy but if you still want to remove it, create a file bp-custom.php
if you don’t have one yet. then add this
<?php
remove_action( 'bp_adminbar_menus', 'bp_adminbar_thisblog_menu', 6 );
?>
then upload bp-custom.php to wp-content/plugins/ folder
P.S. BuddyPress forums at http://buddypress.org/support/topics/
Better still, add the line to your themes functions.php like so:
// REMOVE ADMIN BAR ELEMENTS
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_thisblog_menu’, 6 ); // DASHBOARD
I am using this and it works but now I get all these errors…
Warning: Cannot modify header information – headers already sent by (output started at /home/tango/public_html/wp-content/themes/buddyboss/functions.php:955) in /home/tango/public_html/wp-login.php on line 349
Warning: Cannot modify header information – headers already sent by (output started at /home/tango/public_html/wp-content/themes/buddyboss/functions.php:955) in /home/tango/public_html/wp-login.php on line 361
I have tries putting it in all different spots in functions.php.
@satori83 that’s a theme issue – contact theme authors of Buddyboss