"This shows the plugin on only selected discussion pages"

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

There was an error rendering this rich post.

Tagged:

Answers

  • AoleeAolee ✭✭
    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.
  • echo? controller?

    There was an error rendering this rich post.

Sign In or Register to comment.