The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can anyone help me with this issue?
I found a banner plugin call banner with this code:
$random_number = rand(1, 4); $random_banner[1] = '<a href="http://www.averyoutdoors.com" target="_blank"><img src="images/banners/GHGDucks.gif" alt="Greenhead Gear" border="0" /></a>'; $random_banner[2] = '<a href="http://www.averyoutdoors.com" target="_blank"><img src="images/banners/GHGDucks2.gif" alt="Greenhead Gear" border="0" /></a>'; $random_banner[3] = '<a href="http://www.averyoutdoors.com" target="_blank"><img src="images/banners/GHGGeese.gif" alt="Greenhead Gear" border="0" /></a>'; $random_banner[4] = '<a href="http://www.mackspw.com/sort.asp?search=GHG" target="_blank"><img src="images/banners/Macks1.gif" alt="Macks Prarie Wings" border="0" /></a>'; but I found this array in the navbar: <!-- / PAGENAV POPUP --> </if> <!-- / BANNERS --> <if condition="in_array($forumid, array(59))"> <div align="center"><a href="http://www.zinkcalls.com"><img src="images/banners/zc_banner.gif" width="468" height="60"> <a href="http://www.callingducks.com"><img src="images/banners/cdc_banner_001.jpg" width="469" height="60"></div> <else /> <if condition="in_array($forumid, array(61))"> <div align="center"><a href="http://www.waterdogtv.com"><img src="images/banners/waterdog_banner.jpg" width="468" height="60"></div> <else /> <if condition="in_array($forumid, array(54))"> <div align="center"><a href="http://www.flocknockers.com"><img src="images/banners/flocknocker.gif" width="468" height="60"></div> <else /> <div align="center">$random_banner[$random_number]</div><br> </div></if></if></if> I need to add banners to certain forum id, and have them change each time the page reloads! I keep running into a wall, because nothing is working, I also dont know if i'm having conflicts of codes. can anyone help with this issue? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|