BuddyDev

Search

How to remove buddypress profile tab?

  • Participant
    Level: Enlightened
    Posts: 31
    Valarie Bakkar on #6271

    Hi i want to remove buddypress profile tab like message, forum, group…etc…etc… anyone can help me please? thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 21489
    Brajesh Singh on #6287

    Hi Valarie,

    Can you please be more specific like when you want to remove those tabs. Do you want to remove it for the logged in user or the displayed user? Also, which tabs do you want to remove exactly.

    I can post the code to remove them then. Please do know that once you remove the tabs, They won’t be accessible directly.

    Or do you just want to remove them visullay. In case you don’t need them at all, you can disable them from Dashboard->settings->BuddyPress->Components page too.

    Hope that helps.
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 31
    Valarie Bakkar on #6293

    hi thanks for reply, i was trying to remove tabs from 3rd party plugins added the tabs into buddypress profile… our site only shows to login user…. the plugin is invite anyone… can you help? thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 21489
    Brajesh Singh on #6295

    Hi Valarie,
    For Invite Anyone, you can disable it from plugin settings.

    Please visit dashboard->Settings->Invite Anyone and click on the tab ‘Access Control’

    There you will need to check this option

    
    Allow email invitations to be sent by
    --All Users
    --A limited set of users 
    

    Select

    
    A limited set of users 
    

    And then from the checkboxes below, Check this

    
     Only users who have at least the following role on this blog: 
    

    and select the role as “Administrator”

    Now, The Send Invite will be only available to admin’s profile not on other user’s profile.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 31
    Valarie Bakkar on #6301

    No actually i want to let them use it just want to hide the profile tab from members profile… kindly help me how to remove any profile tab from all user profile?

  • Keymaster
    (BuddyDev Team)
    Posts: 21489
    Brajesh Singh on #6312

    Hi,
    Please put this css in your css file

    
    
    #object-nav #user-invite-anyone {
    display:none;
    }
    
    

You must be logged in to reply to this topic.

This topic is: not resolved