Profile as default subtab
-
Hi folks!
I’m new to Buddypress, so my apologies for any noob-ish-ness on my part. Trying to troubleshoot a problem and seeking some guidance on what’s going wrong.
I’m looking to make the Profile tab the default when opening up a member’s page, rather than their activity feed. I’d also like to make the Profile tab come before the Activity tab in the submenu list, but that’s as not crucial.
Based on some other threads I found here, I’ve created a “bp-custom.php” file, stuck that in the root of the Buddypress plugin folder. Right now bp-custom.php looks like this:
`
bp_nav[‘profile’][‘position’] = 10;
$bp->bp_nav[‘forum’][‘position’] = 30;
$bp->bp_nav[‘posts’][‘position’] = 40;
$bp->bp_nav[‘activity’][‘position’] = 20;
$bp->bp_nav[‘blogs’][‘position’] = 60;
$bp->bp_nav[‘friends’][‘position’] = 70;
$bp->bp_nav[‘messages’][‘position’] = 80;
$bp->bp_nav[‘groups’][‘position’] = 50;
$bp->bp_nav[‘settings’][‘position’] = 90;
}add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 );
add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’, 9 );
?>
`However that hasn’t accomplished either of the things I’m attempting to do. The Activity tab still appears when you go to a member’s page, and is listed before Profile in the submenu.
I’m using Buddypress 1.6.4, and the default Buddypress theme (1.6.4), on WordPress 3.5.1.
I have the following plugins installed and active:
- BP Labs 1.3
- BP User Profile Map 1.4.1
- Breadcrumbs Everywhere 1.4
- Contact Form 7 3.3.3
- Really Simple Captcha 1.5
- WP Custom Admin Bar 1.3.5
If there’s a step I’ve missed, I’d really appreciate letting me know! Any help troubleshooting what the problems is would also be appreciated.
Thanks!
- The topic ‘Profile as default subtab’ is closed to new replies.