PDA

View Full Version : $forum[forumid] doesnt work inside postbit_legacy


itayKinnrot
12-01-2014, 05:14 PM
Hi,

im trying to use this code inside postbit_legacy to present specific banner inside post at specific forum but it doesnt work for vb 4.2.2

<vb:if condition="$forum[forumid] == 16">

banner here

</vb:if>

Zachery
12-01-2014, 05:23 PM
No, it wouldn't.

Try $thread[forumid] or $GLOBALS[forumid]

itayKinnrot
12-01-2014, 06:09 PM
thanks,
work like a charm :)