BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #30114

    Thanks Brajesh for your reply
    Great new I’m sure that it will improve.

    Thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #30110

    Thank you for your answer

    So, if I understood correctly you don’t have permission yet to have this plugin. The plugin will not be available this month.

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #16819

    ok resolved thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #13504

    Thanks Brajesh for your cooperation and your nice job.

    I’m not sure but it seems to me, that is not possible to move main tab to subtab with the new update of the plugin.

    My need is to move main tab (follower, following) to subtab in a one new main tab colled follow. Is it possible?

    Thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #13452

    Grate thanks

    I have another question is it possible to modify a tab to a sub tab with the plugin.
    In fact, follower plugin adds 2 tabs to the buddypress profil, is it possible to moved this 2 tabs in one tab containing 2 sub tabs.

    Thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #13449

    Hi Brajesh

    I’m waiting for the upgrade that allow the modification of the visibility of existing profile Tab. Is it coming soon?

    Thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #12738

    Hi Brajesh, BuddyPress User Profile Tabs Creator Pro plugin 1.0.2 is published, did it support friends visibility now?
    Can you have a look to my programm in the previous comment please.

    Thanks

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #12526

    Thank you for your help.

    I tried your code and it’s working for me except for groups and forums.

    I am trying to hide them for non logged users.

    Her is my code

    function bpdev_custom_hide() {
        // show only for those people
        if ( bp_is_my_profile() || is_super_admin() ) {
            return;
        }
        if (! is_user_logged_in()) {
            bp_core_remove_nav_item( 'activity' );
            bp_core_remove_nav_item( 'friends' );
            bp_core_remove_nav_item( 'groups' ); // not working
            bp_core_remove_nav_item( 'forums' ); // not working
            bp_core_remove_nav_item( 'articles' ); // not working
        }
        else if (! bp_is_my_profile()) {
            bp_core_remove_subnav_item( 'activity', 'mentions' );
            bp_core_remove_subnav_item( 'activity', 'favorites' );
            bp_core_remove_subnav_item( 'activity', 'friends' );
            bp_core_remove_subnav_item( 'activity', 'groups' );
    
            bp_core_remove_nav_item( 'friends' );
            return;
        }
    
        //else if (! friends_check_friendship( bp_displayed_user_id(), bp_loggedin_user_id())) {    
        //}
    }
    add_action('bp_friends_setup_nav','bpdev_custom_hide');

    Thank you.

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #12522

    nice tnank you

  • Participant
    Level: Initiated
    Posts: 11
    slim kacem on #12521

    Thanks for your reply Brajesh

    I found your code in buddypress forum

    add_action(‘bp_friends_setup_nav’,’bpdev_custom_hide_friends_if_not_self’);
    
    function bpdev_custom_hide_friends_if_not_self(){
    if(bp_is_my_profile()|| is_super_admin())
    return ;
    
    bp_core_remove_nav_item(‘friends’);
    
    }

    .

    it is to limit visibility to only profile owner and admin, did you think it’s still working?
    can you help me with modified code to: -limit the visibility of tab to only loged in members.
    -limit the visibility of tab to only freinds and admin.

    thanks