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.

"This shows the plugin on only selected discussion pages"

This discussion is related to the TopPosters addon.
shozen1shozen1 New
edited September 2011 in Vanilla 2.0 - 2.8
I cannot get this to work. Currently it displays the plugin on ALL pages despite the fact that I have it set to display on only selected pages.

Where can I select which discussions the plugin will display and where it will not display.

thanks
Tagged:

Answers

  • AoleeAolee Hobbyist & Coder ✭✭
    edited September 2011
    Hi shozen1,

    you may want to check in TopPosters/default.php

    this part...
    public function Base_Render_Before(&$Sender) { ...

    this is where the hiding and showing happens.
    echo this part to display which controller are you in
    public function Base_Render_Before(&$Sender) { echo $ConfigItem = Gdn::Config('TopPosters.Location.Show', 'every'); ...

    sorry really don't have the time to improve on this part.
Sign In or Register to comment.