Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

How to remove 'Popular Discussions', 'All Discussions', etc from top of DiscussionList?*

Carlo_13Carlo_13
edited June 2012 in Vanilla 2.0 - 2.8

Hello,

Is there an easy way to remove the Discussion tab ?

Thanks

Best Answer

  • Options
    peregrineperegrine MVP
    Answer ✓

    css

    .DiscussionsTabs {
       display: none; !important
       }
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Answers

  • Options

    Maybe, it depends on the day of the week, whether you can delete it or not.

    There was an error rendering this rich post.

  • Options

    @UnderDog

    Oh really ? So what day do you advise me ?

  • Options

    No seriously,

    I want to delete this bar ( see pic )

    Or at least move it to the sidebar. Does anyone know the path to this bar ?

    Thanks

  • Options
    UnderDogUnderDog MVP
    edited June 2012

    O crap, I'll adjust the title, so it's more clear to the other users.
    Do you want to remove 'popular' and 'toutes les discussions' or 'Votes', 'Suives', 'Vues' and 'Commentaires'?

    There was an error rendering this rich post.

  • Options

    The "Popular" and "Toutes les Discussions" bar.

    Voting is fine.

  • Options

    You are going to need to search in all source files of Vanilla. I always use the program Notepad++ for this purpose.
    First you need to go to your language definition files (locales). Find the text 'Toutes les Discussions' (that's the easy part). It has a language definition, for example $Definition['All Discussions']. You need to find that language definition in the Vanilla source.
    NotePad++ is really easy with that, give it a try :-)

    There was an error rendering this rich post.

  • Options
    peregrineperegrine MVP
    Answer ✓

    css

    .DiscussionsTabs {
       display: none; !important
       }
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine

    Cheers, I should have thought about that....

  • Options
    peregrineperegrine MVP
    edited June 2012

    Carlo_13 said:
    @peregrine

    Cheers, I should have thought about that....

    that's why you pay us to do the thinking :)
    sometimes, the obvious is not so obvious and that is what the forum is for.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.