Welcome to vBulletin Guru!


vBulletin is arguably the best community forum software available today. vBulletin Guru is here to offer both free advice on how to successfully build, customize and manage your forum based website as well as offer advice and resources for more advanced topics of forum management such as SEO (Search Engine Optimization), community growth and monetization.
Jul
02

Forum vBulletin 4 Template Conditional for Forum ID not working correctly?

By
I have this code here:

Code:

<vb:if condition="in_array($forum['forumid'], array(112,113,114))">
<a rel="nofollow" class="newcontent_textcontrol" href="misc.php?do=form&fid=7">Want to Trade</a>

<a rel="nofollow" class="newcontent_textcontrol" href="misc.php?do=form&fid=1">Want to Sale</a>

<a rel="nofollow" class="newcontent_textcontrol" href="misc.php?do=form&fid=2">Want to Buy</a>

</vb:if>


But it doesn't show up in those forums. If I remove the if statement code it works just fine. As far as I can tell that is the correct template conditional. This is for the template FORUMDISPLAY.

Comments are closed.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes