Announcement

Collapse
No announcement yet.

$forum[forumid] variable not working in 4.1.3?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] $forum[forumid] variable not working in 4.1.3?

    This code used to work just fine but has stopped since I upgraded (didn't notice it right away so it could be something other than the upgrade). This is in the advertising system and I used it to exclude banners from showing in a particular forum. I don't have a plugin associated with this. Any ideas? Do I need a plugin to provide the variable to the advertising system? I know how to do that with a template but not the ad system.

    Code:
    <vb:if condition="$forum[forumid] != 33">
    <!-- Zone-3 Location -->
    <div id="zone3top" align="center" style="margin:5px;"><script type='text/javascript'>
    GA_googleFillSlot("Zone-3");
    </script></div>
    </vb:if>

  • #2
    Try $GLOBALS[forumid]

    Comment


    • #3
      Here you go, place this in the FORUMDISPLAY template.

      <vb:if condition="$foruminfo['forumid'] != 33">

      test

      </vb:if>

      Comment

      Related Topics

      Collapse

      Working...
      X