The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB.org Banner Rotation
I have a number of banners that I'd like to display and would like to know whether anybody knows how to make it change on page refresh between 2-3 just like at the top of vB.org.
|
#2
|
||||
|
||||
actually very easy.
all you need is to edit phpinclude_start template and add something like: PHP Code:
|
#3
|
|||
|
|||
Xenon- thanks a lot for that. If you're banner consists of multiple slices, can that be integrated into the above code?
|
#4
|
||||
|
||||
well, you can assing more html code to a variable and put it into the header then as well.
that's not a problem, above is just the technique to make an rotating banner |
#5
|
|||
|
|||
how would make the banners clickable
IE adding a hyperlink |
#6
|
|||
|
|||
Quote:
PHP Code:
HTML Code:
<a href="$banner_url"><img src="$banner" border="0" /></a> |
#7
|
||||
|
||||
Quote:
PHP Code:
|
#8
|
|||
|
|||
Thanks guys.. !!!!!
|
#9
|
||||
|
||||
ah this is a very good lession for novice like me ^^
|
#10
|
|||
|
|||
what about assigning a specific banner depending on what style you have chosen?
i.e. I have a light style and a dark style each with their own background color. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|