The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
A very easy way of creating rotating banners is by adding the following line in your "phpinclude_start" template (replace X with the number of banners you are rotating)
Code:
$bannerrand = rand(1, X); Code:
<if condition="$bannerrand == '1'"> <a href="Banner 1 hyperlink"><img src="Banner 1 Image URL" /></a> <else /> <if condition="$bannerrand == '2'"> <a href="Banner 2 hyperlink"><img src="Banner 2 Image URL" /></a> <else /> <a href="Banner 3 hyperlink"><img src="Banner 3 Image URL" /></a> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|