PDA

View Full Version : Conditional for topic in specific category?


Scimia
07-28-2015, 06:48 PM
Hi,

is possible to do a vb:if that verifies if the topic which the user is reading is in a specific category?

--------------- Added 1438172087 at 1438172087 ---------------

Is this correct? I need to insert this in headinclude_bottom

<vb:if condition="THIS_SCRIPT == 'showthread'">
<vb:if condition="$thread[forumid] == 1770">
[here my script]
</vb:if>
</vb:if>

kh99
08-19-2015, 10:17 PM
Sorry for the late reply, but did you ever figure this out? Maybe try using $foruminfo[forumid] instead of $thread[forumid].