Skip to:
Content
Pages
Categories
Search
Top
Bottom

customize the profile menu


  • bluesweet
    Participant

    @bluesweet

    Ok, I give up.
    How can I customize the profile menu? Not the drop-down menu but the menu that is shown under the profile picture.
    Activity – Profile – Groups -friends etc…
    I want to remove some of the options from the list but I do not want to remove the functions.
    please help!!

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

  • bluesweet
    Participant

    @bluesweet

    I found the Recorder Tabs plugin. This definitely helps with the order of tabs in the profile page but I still don’t know how to remove the unwanted tabs. I just want to remove them from this bar and not other menus.
    This is the order of my nav bar
    Media – Articles – Docs – Activity – Profile – Friends – Group – Forums
    I want the Activity – Profile – Friends – Groups – Forums to disappear but still be in the drop-down menu.
    Can anyone help me ???


    bluesweet
    Participant

    @bluesweet

    I found this snippet that will remove certain tabs but it also removes the tab from the drop-down menu too. How can I just hide tabs that I don’t want the users to see on the profile page nav bar? I still want them to be seen in the dropdown menu.

    /**
    * Removing the friends tab
    */
    function mb_profile_menu_tabs(){

    global $bp;

    bp_core_remove_nav_item(‘friends’);

    }
    add_action(‘bp_setup_nav’, ‘mb_profile_menu_tabs’, 201);
    /**

    * Removing the friends tab
    */


    clickallco
    Participant

    @clickallco

    If you just want to hide them then use some CSS, i.e. for the activity link in the members section use this.

    #activity-personal-li {
      display:none;
    }

    Find the other class or id names of the elements by inspecting the elements (right click on your screen and click inspect element on Chrome).


    bluesweet
    Participant

    @bluesweet

    Thanks very helpful

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar