Re: Add extra sections to members
ok,so here you go.
The links are displayed by
bp_get_displayed_user_nav()
You can modify it using the following code inside your functions.php
global $bp;
if(!bp_is_home())
$bp->bp_nav[110]=array ( 'name' => 'test','link' => 'test/', 'css_id' =>'test','show_for_displayed_user' => 1 ,'position' => 110 );
replace test with your link/component name
Then create some function to handle the link,as shown in the example component.
Again remember,when you are viewing other’s profile ,the function
bp_get_loggedin_user_nav()
and
bp_get_displayed_user_nav()
Uses same global variable
$bp->bp_nav
to render the navigation,so The link will appear in the userbar for logged in user and in the options bar for the displayed profile.
Have a look at the code of the two above mentioned methods to look for a workaround.