The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How do I add a second simple rotating banner?
Hello,
I use this script for a simple rotating banner in the header: http://www.vbulletin.com/forum/showthread.php?t=170826 And it works fine. Now I am trying to put a second rotating banner after the firts post in every thread. But it does not work. Nothing shows up. I am replacing all instances of $random_banner with $random_banner2: Code:
$random_number = rand(1, 4); $random_banner2[1] = '<a href="http://www.mysite.com"><img src="http://www.mysite.com/banner1.gif" alt="" border="0" /></a>'; $random_banner2[2] = '<a href="http://www.mysite.com"><img src="http://www.mysite.com/banner2.gif" alt="" border="0" /></a>'; $random_banner2[3] = '<a href="http://www.mysite.com"><img src="http://www.mysite.com/banner3.gif" alt="" border="0" /></a>'; $random_banner2[4] = '<a href="http://www.mysite.com"><img src="http://www.mysite.com/banner4.gif" alt="" border="0" /></a>'; Code:
$random_banner2[$random_number] Please help me! Regards, Fredrik_Arvid |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|