This topic has 51 replies, 2 voices, and was last updated 10 years by Camyen.

  • Author
  • #71985
     Camyen
    Participant

    It works perfectly. Thank you. @Radu

    #71989
     Camyen
    Participant

    I did some research on #reordering the BP profile nav bar and #renaming ‘Activity’ to ‘Wall’

    All suggestions seemly are pointed out the code below which should be added to my theme’s function.php. It didn’t make any change on my site. Any idea?

    `function bbg_change_profile_tab_order() {
    global $bp;

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

    #71990
     Camyen
    Participant

    I did some research on #reordering the BP profile nav bar and #renaming ‘Activity’ to ‘Wall’

    All suggestions seemly are pointed out the code below which should be added to my theme’s function.php. It didn’t make any change on my site. Any idea?

    COPY CODE
    function bbg_change_profile_tab_order() {
    

    global $bp;

    COPY CODE
    $bp->bp_nav[‘profile’][‘position’] = 10;
    

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

    COPY CODE
    $bp->bp_nav[‘friends’][‘position’] = 30;
    

    $bp->bp_nav[‘groups’][‘position’] = 40;

    COPY CODE
    $bp->bp_nav[‘blogs’][‘position’] = 50;
    

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

    COPY CODE
    $bp->bp_nav[‘settings’][‘position’] = 70;
    

    }
    `add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );

    #71991
     Radu
    Moderator

    Regarding to renaming activity to wall try this

    COPY CODE
    
    
    function change_activity_title($data) {
    	if( $data == 'Activity' ) {
    		$data = 'Wall';
    	}
    
    	return $data;
    }
    
    add_filter( 'bp_get_directory_title', 'change_activity_title' );
    
    

    Let me know if it works.

    Regards

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #71992
     Radu
    Moderator

    Regarding to buddypress tab ordering read here : https://bp-tricks.com/snippets/code/arrange-group-profile-navigation-menu/

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #71995
     Camyen
    Participant

    @Radu

    It not works.

    #72007
     Radu
    Moderator

    Read here :http://blog.maximusbusiness.com/2013/04/bp-profile-nav-positions-names/#change-subnav-tab

    Let me know if this was helped you.

    Regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #72123
     Camyen
    Participant

    I tried all above solutions. MB’s code partly works. All tabs can be reordered or renamed excepted ‘Job Manager’.

    I hunted a plugin from BuddyPress (Reorder Tabs). Now, ‘Job Manager’ can be reordered through modification on WP admin. There isn’t any solution for renaming it.

    Any idea?

    Thank you, @Radu

    #72127
     Radu
    Moderator

    Hi,

    What place would you like to occupy the job manager?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #72128
     Camyen
    Participant

    @Radu

    ‘Job’

    It can be named anything. The core problem is that the above and other known code solutions are not working with ‘Job Manager’. BuddyBoss Reorder Tabs solve reordering only. What’s the root cause for that? Any idea?

    #72395
     Radu
    Moderator

    Hi,

    I don’t know exactly why, it require time to investigate debug etc. But if you have solved it’s ok.

    Can i close the topic ?

    Regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #72797
     Camyen
    Participant

    @Radu

    Please close the topic.

Viewing 12 posts - 41 through 52 (of 52 total)

The topic ‘Theme CSS Required for Plugin Navi Tab’ is closed to new replies.

Log in with your credentials

Forgot your details?