PDA

View Full Version : Radom Banner


eviljoker7075
12-31-2008, 09:10 AM
Hey guys. I've have recently installed the Dark Inferno style on my 3.7 version of vB - however I am upgrading from another forum system and can't figure something out.

I would like a random logo to be shown each time the page loads. I have a set of about 4 or 5 different logo's and on the previous system I added some php code to the template to radomly select one of the images. I'm sure it's possible for vB but I'm not quite sure where to add this code?

Would it be within edit styles, or within the xml document that came with the style? I think all I need to find is the line of code that pulls in the image, and I'll be ok from there...

Thanks

SEOvB
12-31-2008, 02:57 PM
You can use the same php code you previously used most likely, but will have to make use of the plugin system to execute the code

http://www.vbulletin.com/forum/showthread.php?t=170826