Skip to:

change default position or profile tabs

  • AllHeart Web


    Hi All,, hope all u doing well and missing me :))

    I have a small website .. i have some quick questions…

    I am expacting 1000,000 users ext years

    10,000 active and 90,000 dead ..

    1. how many users can buddypress handle ? or it depend on server ?
    2. i have profile page like >

    here i want to switch place or profile and activity ..
    i want like 1.profile 2.activity 3.friends 4.groups 6.setting

    how can i change these places?

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

  • AllHeart Web


    nobody help me… i am very sad :/

    Cassey’s Designs



    I am not sure about how many users buddypress can handle, I doubt they have any built in restrictions. You will need to find out your host limitations rather than the plugins.

    To switch your menu options you will need to add the following php function to your child-theme’s function.php file…

    function bbg_change_profile_tab_order() {
    global $bp;

    $bp->bp_nav[‘profile’][‘position’] = 60;
    $bp->bp_nav[‘activity’][‘position’] = 50;
    $bp->bp_nav[‘friends’][‘position’] = 40;
    $bp->bp_nav[‘groups’][‘position’] = 30;
    $bp->bp_nav[‘settings’][‘position’] = 10;
    $bp->bp_nav[‘forum’][‘position’] = 20;
    add_action(‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );

    *Note : The increments of 10 determine the position order of the menu item. The higher numbers are to the left and read lowering to the right.

    Hope this helps 🙂

    Cassey’s Designs


    Function Warnings :

    If you choose to remove a menu item, be sure to update this function. If you have a menu item in this function but not on your site you will notice a gap where the menu item would go.

    ex: Suppose you disable the groups option and no longer have the group menu item…Your menu will look something like the following…
    profile | activity | friends | | forum | settings
    If you add a menu item that is not in this function, it will go into its default position, essentially nudging the item that you have set to be in that position over by one position.

    ex: You add a blog option without updating this function. Lets assume the blog menu item defaults to position 30 so that is where it will go …Your menu would appear something like the following …
    profile | activity | friends | blog | groups | forum | settings

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change default position or profile tabs’ is closed to new replies.
Skip to toolbar