View Full Version : Which <if> code do I need for this?
SauravG
10-10-2008, 02:47 PM
I need a text to only appear in a certain forum. say forumid 17
Which if code do I use so the text only appears in forumid 17?
Regards,
Saurav
veenuisthebest
10-10-2008, 04:00 PM
try these..
<if condition="$forum['forumid'] == 17"></if>
OR
<if condition="$foruminfo['forumid'] == 17"></if>
OR
<if condition="$forumid == 17"></if>
SauravG
10-10-2008, 06:43 PM
try these..
<if condition="$forum['forumid'] == 17"></if>
OR
<if condition="$foruminfo['forumid'] == 17"></if>
OR
<if condition="$forumid == 17"></if>
Tried that bottom one and it worked. Many thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.