PDA

View Full Version : vB Ad Management 4 and forumid - HELP!


baranowskim
03-04-2008, 05:40 PM
As I understand and according to the help text, with this hack one can display a different banner per forum?

Example, I have 10 sponsors and I only want specific banners to show within certain forums, whether logged or not, so that certain ads are shown on for certain
forums. I have vBulletin 3.68 and nothing even appears in the right column.

Here's my script for Right Column enabled:

<if condition="$forumid == 36">
<table width="170" height="1300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><div align="center">
<p><img src="http://www.newbusinesschat.com/ads/ut-irwin.jpg" /></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-united.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-digitalranch.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-icgroup.jpg" /></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-gilman.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-cube.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-advantage.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-pulse.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-dandd.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-geekbox.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-danreed.jpg"/></p>
<p><img src="http://www.newbusinesschat.com/ads/ut-intermountain.jpg"/></p>
</div></td>
</tr>
</table>
</if>

<if> .......
</if> ........... and so on for other forumids

I have also used all the follwing vBulletin Template Conditionals List to see if one of them would work:

<if condition="$forumid == 5">
<if condition="$forum[forumid] == 5">
<if condition="$foruminfo[forumid] == 5">
<if condition="$thread[forumid] == 5">

Still nothing. Just blank column. CAN ANYONE HELP PLEASE!

Roms
03-04-2008, 09:32 PM
In the future please ask for help in the release thread of the modification...

Thanks