The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Automatically refreshing banner images using PHP
Good afternoon,
I'm fairly new to vB and PHP but I'm willing to learn. I'm trying to code some PHP which will display a sponsor/banner graphic in my header template on my forum. I've read about how to create a plugin to load an external PHP file and that is working, I tried it by simply having it echo a line with an img tag. The problem comes with wanting to show a sequence of different sponsor/banners. I've come up with the following code: PHP Code:
There are a couple of issues I need help with. I need to display one banner at a time and not all of them, one after another, as is currently happening. For example, I want to display the first banner, then wait a number of seconds, then replace the existing banner image with the next one (or possibly even a random one, I don't think it matters too much) from the array. Any help greatly appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|