View Full Version : Banner Ad Rotation Software
01-05-2006, 05:04 PM
I am looking to add banner ad rotation to my yellow pages website, which is written in PHP.
Any suggestions on or experience with existing PHP software?
01-05-2006, 06:25 PM
Floating a random ad/link has gotta be nothing. Have you tried any of the script repositories, I'd guess there would be hundreds? I just started screwing around with ops in php so I won't be of much help otherwise just yet.
01-05-2006, 10:24 PM
This is really simple - but it works:
create file whatever.js
Stick this in it:
images = new Array(5);
images = "<img src='http://www.yoursite.com/banners/1.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images = "<img src='http://www.yoursite.com/banners/2.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images = "<img src='http://www.yoursite.com/banners/3.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images = "<img src='http://www.yoursite.com/banners/4.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
images = "<img src='http://www.yoursite.com/banners/5.gif' onClick=window.open('http://www.targetsite.com') border='1'>";
index = Math.floor(Math.random() * images.length);
document.write("<DT>" + "" + images[index] + "\n");
Call it with this:
01-06-2006, 05:07 AM
phpAdsNew is free, open source. Has good reports.
Do a little reading about defeating Norton's Internet Security ad blocking software on their forum before you set it up - it'll save you a little time later having to re-work things.
01-06-2006, 09:59 AM
phpAdsNew (http://phpadsnew.com/two/) is awesome! Don't be put off by the dreadful website, the software itself is excellent.
01-06-2006, 11:57 AM
Robert Paulson and Sarahk,
Are you currently using phpAdsNew or have you used it in the past?
I am going through the script repositories and found BannerBlair v2.0, which is another free script. The download page is located at http://www.blairsolutions.com/?p=3.
This is what I want to the banner rotation software to do. I have joined some affiliates that I think will be beneficial to my advertisers. So on some of my pages, I want to include their affiliate ads in one common area that rotates the ads.
01-06-2006, 12:09 PM
01-06-2006, 01:45 PM
In a prior reply you answered "Do a little reading about defeating Norton's Internet Security ad blocking software on their forum before you set it up - it'll save you a little time later having to re-work things."
I read the work that was required to accomplish defeating Norton's Internet Security ad blocking.
Did you implement these changes on your sites or did you install phpAdsNew without the changes? Is it appropriate to ask you for the urls of the sites?
01-06-2006, 01:59 PM
It's probably appropriate to ask for the URL's, but I won't give them out. Sorry. To answer your question, I've done both. I was building a new site at the time I 'discovered' the problem - so one site was a retrofit, the other was 'amended' during initial installation. Either way, it's pretty easy - you just have to make sure to do it, or loads of ads will not show for visitors. BTW, as I understand, this is an across-the-board thing, not just phpadsnew. Any URL's with a path that includes /ad(s)/ or /banner(s) will get blocked, or file names that include the same, as will any banner that is of IAB standard size. For me that just means creating campaigns that are one pixel larger in a single direction (469x60, for example).
Mine isn't a perfect fix, but I'm no master coder, either. Pretty green, actually.
Hope that helps.
01-08-2006, 11:10 AM
Take a look at http://www.propertytalk.comWith this script you can load all of your banner ads into it and it automatically cycles through them dynamically without the page being refreshed. Not only does it cycle through the ads automatically, but visitors can also drop down and view all of your banner ads at the click of a mouse. This script is perfect for those who have multiple banner ads and those who use Commission Junction, Linkshare, BeFree and other similar affiliate programs.I can see the point of rotating through the ads automatically and that's quite a good feature but I can't see a user ever wanting to view all the ads at once.
And it does so much less than phpAdsNew it's just not funny. Only suitable for sites with a single banner location and with no customer management, reporting, billing etc.
vBulletin v3.0.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.