The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Condition Question
I'm trying to do my first condition and I'm not sure if I got the code correct as it's not working. I'm thinking maybe my forum id is wrong but I don't know... This is for ad placements. The pre-loader is placed in the head (forumdisplay) like this:
Code:
<vb:if condition="$forum[forumid] == 26"><!-- AdSpeed.com Serving Code 7.9.4 for 3 zones [Any Dimension] --> <script type="text/javascript" src="http://g.adspeed.net/ad.php?do=js&zids=26302x9&wd=-1&ht=-1&target=_top"></script> <!-- AdSpeed.com End --></vb:if> Code:
<vb:if condition="$forum[forumid] == 26"> <div id="banner-column-container"> <div class="banner-ads-long"> <script type="text/javascript"> AdSpeed_display(26302,0); // first ad </script> </div><!--banner-ads-long--> <div class="banner-ads-long"> <script type="text/javascript"> AdSpeed_display(26302,1); // 2nd ad </script> </div><!--banner-ads-long--> ETC... </div><!--banner-column-container--> </vb:if> Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|