Change position of tab in profile


#1

Hi,

I would like to change position of Media tab in profile in Buddypress.

I tried to use this code in functions.php, but works only for default Buddypress tabs.

$bp->bp_nav[‘profile’][‘position’] = 1;

$bp->bp_nav[‘activity’][‘position’] = 2;

$bp->bp_nav[‘media’][‘position’] = 3; // in this line i try to order rtMedia tab

$bp->bp_nav[‘friends’][‘position’] = 4;

$bp->bp_nav[‘messages’][‘position’] = 5;

$bp->bp_nav[‘notifications’][‘position’] = 6;

$bp->bp_nav[‘settings’][‘position’] = 7;

Any idea what is wrong or how can I put tab on 3rd place?


#2