![]() |
Rotational Banner in Header
Well, I KNOW alot of you are looking for this as I was so here it is......
Also, found this on vBulletin.com, so ALL credit goes to "express" for this one. :) (I just modified it a little) Go to AdminCP > Styles and Templates> Style Manager > YOUR TEMPLATE > header In that, find..... Code:
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> Code:
<SCRIPT LANGUAGE="Javascript"><!-- Save and you're done |
Sorry, this is probably supposed to go in template modifications if someone can move it please.
|
Very nice, thank you much!
|
You are very welcome. You can't imagine how happy I was when I found this after searching for something like this for 6 weeks
|
hmm. A simple image rotator? And?????
|
Quote:
|
Nice, thanks and installed! :)
|
I don't mean to rain on anyone's parade :( but this image rotator requries javascript to be enabled in the user's browser. The hack below does exactly the same thing but does not.
https://vborg.vbsupport.ru/showthread.php?t=94433 I like the stylistic idea though, I did exactly the same thing on my own forum and removed the bbtitle to make way for the banner. Looks very cool :D |
Thanks man... Ive been looking for a simple banner mod for my sponsors. Installed
|
Quote:
|
This is not working for me for some reason. Nothing shows up. Where exactly do you edit the url and the image path at?
|
Quote:
PHP Code:
|
Quote:
|
how can I make the banner "center"?
i tried adding a <td align="center"> script </td> but nothing happened.. |
Quote:
Try putting <center> before the <script...... That should do it. Excellent script here - just what i was looking for :D |
Quote:
yep that worked.. thanks for the info.. how about a page break? |
as a newcomer to Vbulletin, this thread just made my life sooooo much easier. Many Thanx
|
I have a different style than the original and the header looks like this...
Code:
<!-- begin disturbed header--> |
Try putting it after this.....
PHP Code:
|
is it possible to put the adsense code in here and rotate that with traditional banners?
|
Quote:
|
I have no idea. I've never used or messed with adsense myself
|
i need help
on the main page, when i put my mouse cursor over the banner it says www.pbontario.com/forums/www.519paintball.com i want it 2 just say www.519paintball.com this is the code i got in my board style thing <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <SCRIPT LANGUAGE="Javascript"><!-- // *********************************************** // AUTHOR: <a href="http://WWW.CGISCRIPT.NET," target="_blank">WWW.CGISCRIPT.NET,</a> LLC // URL: <a href="http://www.cgiscript.net" target="_blank">http://www.cgiscript.net</a> // Use the script, just leave this message intact. // Download your FREE CGI/Perl Scripts today! // ( <a href="http://www.cgiscript.net/scripts.htm" target="_blank">http://www.cgiscript.net/scripts.htm</a> ) // *********************************************** function banner() { }; banner = new banner(); number = 0; // bannerArray banner[number++] = "<a href='www.519paintball.com' target='_blank'><img src='/forums/images/519BANNER.gif' border='1'></a>" // keep adding items here... increment = Math.floor(Math.random() * number); document.write(banner[increment]); //--></SCRIPT> <td align="$stylevar[right]"></a></td> <td align="$stylevar[right]"> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output ALSO is there away i can get rid of the vbulletin logo at the top and make the bannners appear there? |
sum 1 plz help?
|
heres an screenshot http://img492.imageshack.us/img492/1397/see2pb.png
|
sum 1?
|
All times are GMT. The time now is 10:24 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|