|
2007-11-16, 11:07 AM | #1 |
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
|
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 |
2007-11-16, 12:01 PM | #2 |
That which does not kill us, will try, try again.
|
This may be more than you need today but it will scale up nicely as you grow.
http://www.openads.org/
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2007-11-16, 12:06 PM | #3 |
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
|
I thought that script was for when You have "outside" advertisers on Your site, is it simple to use?
|
2007-11-16, 12:41 PM | #4 |
There's Xanax in my thurible!
|
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. |
2007-11-16, 01:04 PM | #5 |
on vacation
|
the first time I looked at it, it was a bit overwhelming. Then I got the good advice to throw away the manual and just dig in - I just finished getting it set up and I have to say I love it too! Once you get started it's easier to understand, and I'm glad I took another shot at it (and I owe that to MML & the OTB bunch so thanks guys )
|
2007-11-16, 06:53 PM | #6 |
Remember to rebel against the authorities, kids!
Join Date: Aug 2003
Location: SC
Posts: 401
|
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.
__________________
Harry Beaver's Lodge |
2007-11-16, 09:24 PM | #7 |
Me fail English? That's unpossible!
|
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 <?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 "<table align=center><tr><td align=center><font size=2 face=tahoma><b>A Boob Girl Favorite</b></font></td></tr>\n"; print "<tr><td align=center><a target='_blank' href='" . $item[$randomnum][0] . "'>\n"; print "<img border=0 src='" . $item[$randomnum][1] . "'><br><font size=4><b>" . $item[$randomnum][2] . "</b></font></a></td></tr></table>\n"; ?> 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. |
2007-11-16, 11:39 PM | #8 |
My wife is not a doobie to be passed around! On our wedding day I promised to bogart her for life!
Join Date: Jun 2006
Location: Bay Area,Ca
Posts: 276
|
I been looking for something like this too, thanks Simon.
Last edited by cockhungryhoes; 2007-11-16 at 11:42 PM.. |
2007-11-16, 11:42 PM | #9 |
My wife is not a doobie to be passed around! On our wedding day I promised to bogart her for life!
Join Date: Jun 2006
Location: Bay Area,Ca
Posts: 276
|
O that does look a little hard. I will mess with it a while.
|
2007-11-17, 03:51 AM | #10 |
Hello, is this President Clinton? Good! I figured if anyone knew where to get some tang it would be you
|
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 |
2007-11-17, 07:03 AM | #11 |
That which does not kill us, will try, try again.
|
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. .
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2007-11-17, 09:04 PM | #12 |
ICQ:147*079*406
|
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-
__________________
The Sexy Side of Porn |
2007-11-18, 01:00 AM | #13 |
It's the end of the world as we know it, and I feel fine
Join Date: Jul 2006
Location: Canada
Posts: 2,527
|
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.
__________________
If the Environment was a bank, they would have saved it by now. |
2007-11-18, 05:16 AM | #14 |
Mean people suck, nice people swallow, are you mean or nice?
|
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: <!--#include virtual="/rotator/random-advert.php" -->
<?php I don't know anything about all this and how it works, but it does. Hit refresh and the ads rotate ################################################################### # # # 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 <B>$number_of_ads</B> ads in the ads folder<BR>"); } // 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 <B>$random_number</B> of <B>$number_of_ads</B><BR><BR>"); } $array_number = $random_number -1; include("ads/$ads[$array_number]"); ?> |
2007-11-18, 08:29 AM | #15 | |
That which does not kill us, will try, try again.
|
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. .
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
|
2007-11-18, 09:06 AM | #16 |
ICQ:147*079*406
|
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-
__________________
The Sexy Side of Porn |
2007-11-18, 10:35 AM | #17 |
NYC Boy That Moved To The Island
|
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
__________________
Accepting New partners |
2007-11-18, 02:15 PM | #18 |
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
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.
|
|
|