![]() |
Banner Rotator
Hey guys
I am looking for a a banner rotator to put on my hub, I am sick of having to change my banners around manually, so a simple rotator with a database where I can dump all my banners in and rotate them according to category is really what I need. Anybody know of a good and simple 1 to use? Thanks Xallow |
This may be more than you need today but it will scale up nicely as you grow.
http://www.openads.org/ |
I thought that script was for when You have "outside" advertisers on Your site, is it simple to use?
|
No, openads allows you to have outside marketing log in and handle their campaigns, but it's not required. I use it just for my own campaigns.
I love open ads! It's not hard to use either. If you've ever set up any script that connects with a database, you'll be able to install openads. And you can always ask here if you have any problems. :) |
Quote:
|
Yeah... OpenAds is definitely the way to go! It may be a little overwhelming the first time you use is, but once you understand how things work, it is pretty simple.
|
OpenAds is pretty good if you want to set up something large scale. If not I have this handy little php script I wrote for one of my sites. You should be able to figure it out. I just left 2 entries to rotate.
file rotate.php $item = array(); # array entries are url link, banner url, text array_push($item,array("http://bbp.brazzers.com/m/mlib/109p/?t=34&nats=Mjg5NjE6MzoxOA,0,0,0,74871","bb/ava-lauren.jpg","Ava Laur en")); array_push($item,array("http://www.bigtitsroundasses.com/t1/cfree=howling/free_movies_bigtitsroundasses/btra2488.htm","bb/brandy -talore.jpg","Brandy Talore")); #display a random banner srand ((double)microtime()*1000000); $randomnum = rand(0, count($item)-1); print "
?> And inside my main php page I have include('random.php');?> where I want the random banner to show. Not fancy but does the trick. |
I been looking for something like this too, thanks Simon.
|
Quote:
|
Thanks guys, I have installed openads and am gonna mess about with it for a while... I'd say that a little overwhelming when You first look at it is an understatement though.
Nice little script there HowlingWulf, keeping that in my script locker for future use :) |
We still have many hundreds of pages with stand-alone Javascript or PHP coding that was put there to rotate some banners just on that page or just on that site or in that directory. Actually we used to have many thousands of pages like that but we sold off some older sites so I don't have to count those anymore.
If I could go back to when we first were putting a lot of those pages out there, I'd definitely tell myself to use a centralized ad management/banner rotator script in almost all cases. YMMV 'cause the map is not the terrain. :) . |
I have a java script rotator..I know not the best thing but, is there a way to keep that script on my root web in a diurectory and have it called from the area that I want the banners to appear? Because just like HW's php script above you have to have each URL/banner url etc included into it.
Thanks J- |
Isn't there a way to use SSI for that? I seem to remember a buddy using includes for random banners but that was a few years ago. Never tried it but it looked pretty straightforward.
|
I use this script and put it in a folder called "rotator". In that folder I have my ads on html pages and another folder called "ads" with copies of the same html pages. Upload everything and on the page where I want the ads to rotate I have:
I don't know anything about all this and how it works, but it does. Hit refresh and the ads rotate |thumb ################################################################### # # # Easy Ad Rotation # # # # Written by Tom Armstrong # # # # Support Available at http://www.tomsnewbiebooster.com/ # # # # This script may not be modified or re-sold # # # ################################################################### // TEST MODE - SET TO on OR off $test_mode = "off"; ################################################################### # # # Don't edit anything below here :-) # # # ################################################################### // RESET ADS $ads = ""; // AND PICK AN AD // COUNT ADS $dirhandle = opendir("ads/"); while($filename = readdir($dirhandle)) { if (ereg ("htm", $filename)) { $ads[]=$filename; } } closedir($dirhandle); $number_of_ads = count($ads); if($test_mode == "on") { print("There are $number_of_ads ads in the ads folder "); } // SET THE RANDOM SEED mt_srand(doubleval(microtime()) * 100000000); // PICK A RANDOM NUMBER $random_number = mt_rand(1, $number_of_ads); if($test_mode == "on") { print("I am going to show advert $random_number of $number_of_ads "); } $array_number = $random_number -1; include("ads/$ads[$array_number]"); ?> |
Quote:
You can even have multiple copies of your banner rotator script in that directory, named, for example, banners-amateurs.js, banners-grannies.js and banners-teens.js -- each script with only the banners you want to use for that niche/category -- and then call just the banners you want by selecting the script that has them. But please read my post #11 before you waste a lot of time going down that road. :) . |
Thanks Simon, I know there are more simple ways to do things, and Im just learning them. I used to just rotate by hand based on what the banners did for me, how they drew clicks etc. BUt with so many options available to me, Im trying to find time saving techniques and this board has helped at least show me that there is plenty and I appreciate any and all feedback/opinions in that regard.
J- |
I have a old one that is written part in perl and part in C+
I been using it for years but the cool thing about it is you have to put your html code in for the banners so I use it to rotate all kinds of things: images, text, text links etc etc etc |
I have an html editor/website builder called "Namo" thst is cheap and has all kinds of included goodies including a banner rotater. I'm using Dreamweaver now to build sites, but I still find myself opening up Namo to do task that Dreamweaver doesn't do. Pretty amazing little app for the money.
|
All times are GMT -4. The time now is 08:50 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc