Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove 'Forums' from profile menu


  • metalmick
    Participant

    @metalmick

    I am making a dating site which requires NO forum capability at all. I deactivated bbpress and this did the job removing the title ‘forums’ from the profile pages. perfect! Then I realised it had also taken away my browse features like Members Online and Top Members features so NOT perfect!
    Surely there must be a simple way of removing the forum feature or at least the Forum button from my profile page? On the forum settings page it allows me to do anything but this! Why not a check box to disable actual forums?
    Help please!

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

  • shpitzyl
    Participant

    @shpitzyl

    Look at this blog post:
    http://themekraft.com/blog/customize-profile-and-group-menus-in-buddypress/

    I haven’t checked it, so if it doesn’t work, you can always use css.

    put this line in bbpress.css in your child theme:
    #forums-personal-li {display:none;}


    metalmick
    Participant

    @metalmick

    Hi, where do I find the bbpress.css? I have my ftp in front of me but cant find this file.


    metalmick
    Participant

    @metalmick

    Hi, where do I find the bbpress.css? I have my ftp in front of me but cant find this file. You say put this line in bbpress.css in your child theme but BBpress is shown in plugins not in plugins not inside themes.


    metalmick
    Participant

    @metalmick

    I followed the advice in the above link and entered the script into the correct file but all it did was show the script at the top of the page!


    metalmick
    Participant

    @metalmick

    Using firebug i was able to remove the forums-personal-li which took the ‘forums tab’ completely away! 🙂 So why can’t I just do this somewhwere in css?

    There so many people asking the same question as me and getting just as frustrate… why can’t there be an update that simply allows deactivation of forums?


    shpitzyl
    Participant

    @shpitzyl

    The script in the link is working, you probably haven’t closed it with php tags.

    Put this in bp-custom.php in the plugins folders

    <?php
    function bp_exclude_profile_tabs() {
    global $bp;
    
    $bp->bp_nav['forums'] = false;
    }
    add_action( 'bp_setup_nav', 'bp_exclude_profile_tabs', 999 );
    ?>
    

    If you prefer to do it with css, you need to copy bbpress.css from:
    plugins/bbpress/templates/default/css

    And put it in:
    themes/[your child theme folder]/css

    (if you don’t have a css folder in your child theme, create one)
    Then put the css rule mentioned above somewhere in the file.


    shpitzyl
    Participant

    @shpitzyl

    I made a mistake with the css file, you’re using buddypress right?

    If so, the file that you need is:

    plugins/buddypress/bp-tamplets/bp-legacy/css/buddypress.css

    Put it in:

    themes/[your child theme]/css

    And then add the css rule to the file.


    metalmick
    Participant

    @metalmick

    The theme does use buddypress but the forum and search functions are bbpress.


    metalmick
    Participant

    @metalmick

    It worked! Many thanks! Did it the bp-custom.php way.


    edensan
    Participant

    @edensan

    hello,
    i did try everything but still. forums in my member pannel from buddypress
    as we are several years later now is there some new plugin or other solution so i can get the “forums” out of my meberpannel?

    thx in advance

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