The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Banner Scheme
I Urgently need a banner rotation script...
Just a simple one that i cant track clicks and displays a random banner at the top of each page. Thanks in Advance Steve |
#2
|
|||
|
|||
Same for me.. so anyone?
|
#3
|
|||
|
|||
<a href="http://www.phpadsnew.com" target="_blank">www.phpadsnew.com</a>
|
#4
|
||||
|
||||
This has.. nothing to do with vB3
|
#5
|
|||
|
|||
i run php ads new on the server - but never got a good way to just iclude the banner at the top - can anyone show me the code mods required - i have previously got it to display using a layer but that scrolls with the screen - all i want it to do is just stay in the top right.
Anymore help would be appreciated |
#6
|
|||
|
|||
Code:
ob_start(); include("/home/virtual/site7/fst/var/www/html/topad.php"); $topad = ob_get_contents(); ob_end_clean(); |
#7
|
|||
|
|||
I've tried just about all of the banner programs. Either too much work to keep on top of things, additional server resources, etc. Plus, about 2 years or so ago I had to do something quickly to keep my sponsor's banners up and running. I too wanted something simple.
Open up and enter your banner info in banner.txt Open up and edit the $base_dir, $img_url and $max information in banner.php Upload banner.php and banner.txt to your forum's dir. Place the following in your phpinclude_start template: ob_start(); include("banner.php"); $showbanner = ob_get_contents(); ob_end_clean(); Wherever you want the banner, insert $showbanner This has been working great for me for the past two years. Yes, I have to open these two files whenever I add or change info but it only takes a couple minutes. If a particular banner is expired, I just move it to a line down under the text "EXPIRED GOES HERE" Remember to adjust the $max variable in banner.php to the number of line of banners you have in banner.txt. Honestly, I thought that after I got my vB2.3 upgraded to vB3 that I would get a little fancier with this by making a table and adding banner/sponsor info in the database plus counting clicks, etc. But, like I said previously this thing works so great I may just leave it alone and K.I.S.S. it! :squareeyed: Feel free to use it, hack it or whatever you want! |
#8
|
|||
|
|||
Awesome stuff Indyshooter. Works great!
|
#9
|
|||
|
|||
Thanks Indy!!!
Just what I needed Eric Rackspeed Web Dev. |
#10
|
|||
|
|||
indy.. great little system.. i really like how small it is.. i have a question.. any idea how i can get it working on my main page? it is at "/" where my forums are "/forums"
any advice would be greatly appreciated.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|