Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • Phil Emery
    Participant

    @noise

    Wow – I swear that that plugin wasn’t there

    I think that’s exactly what I need.

    Thanks Man!

    wow – for some reason the above got totally borked:

    the first <li> item should read "echo bp_loggedin_user_domain().'profile/'" in between the php tags

    Got an update as I saw others on the web trying to find a solution:

    The following will output the appropriate links when put in an admin page:

    
    <li><a href="" rel="nofollow">Profile</a></li>
    <li><a href="" rel="nofollow">Settings</a></li>
    <li><a href="" rel="nofollow">Friends</a></li>
    

    The following function puts a tab in the admin menu (this as a submenu under the profile.php) and that allows a url to be directly linked to it (as opposed to being launched from a admin page)

    
    
    function admin_menu_new_items() {
        global $submenu;
        $submenu['profile.php'][232] = array( 'Menu item name', 'edit_posts' , 'http://google.com' ); 
    } 
    
    add_action( 'admin_menu' , 'admin_menu_new_items' );
    
    So now just have to load the <code>bp_loggedin_user_domain().'profile/'

    into a variable I can put in the above string.

    Still trying to figure that one out.

    anyone?

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar