Are you using `bp_core_new_nav_item` ?
If you set the position to any value less than 10, it should work since Activity’s position is 10.
`
bp_core_new_nav_item( array(
‘name’ => ‘Your Item’,
‘slug’ => ‘yourslug’,
‘position’ => 9, // Activity is 10, so any value lower than 10 should work
‘screen_function’ => ‘your_screen_function’,
‘default_subnav_slug’ => ‘your_default_subnav_slug’,
) );
`
@liping this is what i have!
when you press on the user link you go to his profile /members/userName
and the screen you see in the sub nav is activity
what i want to know is what setting the defult screen on the profile single page
setting your sub nav to be first not working
i know it’s somthing with the $bp global defult component just didnt know how to do it.
well here is the solution:
http://www.thinkinginwordpress.com/2010/06/changing-default-component-for-landing-page-of-user-profile-in-buddypress/
`define(“BP_DEFAULT_COMPONENT”,”profile”);`