Show in certain forums

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Goatpod
    New Member
    • Oct 2005
    • 20
    • 3.8.x

    [Answered] Show in certain forums

    Hello,

    I'm using
    Code:
    <vb:if condition="in_array($forum['forumid'], array(1,2,3))">Show this to forum 1, 2 and 3</vb:if>
    To show a banner in several forums, but it ain't working. Any suggestions?
  • kh99
    Senior Member
    • Aug 2009
    • 533

    #2
    Try using $GLOBALS[forumid] instead of $forum['forumid'].

    Comment

    • Goatpod
      New Member
      • Oct 2005
      • 20
      • 3.8.x

      #3
      Originally posted by kh99
      Try using $GLOBALS[forumid] instead of $forum['forumid'].
      Perfect, thanks kh99.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...