View Full Version : Multi random banners?
Kestryll
07-11-2007, 09:50 PM
I tried this (http://www.vbulletin.com/forum/showthread.php?t=170826) out and it does look to work but I as wondring if there was any flexibility with it.
I currently have my forum title centered at the top of the page, I would like to set up two random banners one on each side of the title and possibly down below in the footer.
Is it possible to do this?
Thanks,
Kest
Anyone familiar with this?
Kestryll
07-13-2007, 09:39 PM
Back to top in hopes of an answer
wrestlepower
07-13-2007, 10:32 PM
where do you want the banners at the top, on either side of the calgun.net? (assuming the link in your sig is the forum you plan to install this on?
where about do you want it in the footer?
Kestryll
07-13-2007, 10:39 PM
Yes, one on either side would be the preferred arangement.
As far as the footer probably be centered between the bottom of the forum and above 'What's Going On'.
Two on top seems like it would give more exposure for advertisers and also feeds what my Wife calls my 'obsession for symmetry'. ;)
Thanks!
Kestryll
07-15-2007, 07:31 AM
Another BTT hoping for an idea of how to do this.
Kestryll
07-16-2007, 05:08 PM
There has to be a way to do this I would think, or at least hope..
Kirk Y
07-16-2007, 06:20 PM
If you're asking how to have an additional random banner using Jake's code, then you could simply duplicate his methods and give the variables new names.
Ex:
$random_number = rand(1, 5); becomes $random_number2 = rand(1, 5);
$random_banner[1] becomes $random_banner2[1]
$random_banner[$random_number] becomes $random_banner2[$random_number2]
Kestryll
07-16-2007, 07:33 PM
AUUGHH!!
Here I have been looking for some complicated code or expecting to have to figure out some complex PHP editing and the answer is a simple 2 to the name!
It can't be that easy! Mainly because if it is then my Wife is right and I needlesly overcomplicate things...
Thank you!
Kirk Y
07-16-2007, 07:47 PM
Ha ha, you're welcome.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.