I've seriously been sitting here for an hour trying to figure this whole thing out, creating advertisers, campaigns, and I still can't figure out how to properly set up a banner rotation and get the code! This is a nightmare! Does anyone know any simple banner rotation scripts that are easier to use?
Take a look at: http://www.hotscripts.com/PHP/Scripts_and_Programs/Ad_Management/index.html (when it comes back up) and I also have these programs bookmarked: http://www.phpwebscripts.com/admanagerpro/features.html http://www.softbizscripts.com/banner-ads-management-script-features.php
From previous discussions I think you'll struggle to find anything as fully featured. Perhaps you could just ask your questions and we could answer. It's a great program - you can see it in use at www.propertytalk.com amongst other sites I manage.
I know it's a great program and all, but I really don't need all the features and I just can't figure the thing out. All I want to do is add banners into a rotation using HTML code, get the code, and let the script display a different banner each time the page loads, giving all the banners equal exposure. Although I'm greatful (grateful?) for your help, I don't think I'd even know what questions to ask, because I don't even have a clue what I'm doing and if I'm doing it right or wrong. Thanks for the suggestions drig, I'll check them out.
Starting at the top. You need to add your site as inventory and add a single banner to that inventory. Effectively what you are selling is one ad space on your site. I'd recommend that on the tab where you can set your "zone" to campaign or banner, that you set it to banner. Then you have your advertisers. Create an advertiser for each different "company", be it Google Adsense, CJ or whatever. Then the company can have campaigns. In your case each company will have a default campaign. Then the campaign gets a banner which you can link to or upload. Link the banner to the "zone" you created above. Now, if you return to your "zone" you'll see that the probability tab will list the linked banners. That's automatic and the % is defined in a tricky way but they should be all the same for a simple setup. Go to the invocation code tab, click on the generate button and that will give you the code for your site. If you change the ads, probabilities etc it doesn't matter, it's all held within phpAdsNew, no more changes to your site
try this.... <!-- /* Random Image Link Script By Website Abstraction (http://www.wsabstract.com) and Java-scripts.net (http://www.java-scripts.net) */ function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="images/ads/ad1.jpg" myimages[2]="images/ads/ad2.JPG" myimages[3]="images/ads/ad3.jpg" myimages[4]="images/ads/ad4.JPG" myimages[5]="images/ads/ad5.jpg" //specify corresponding links below var imagelinks=new Array() imagelinks[1]="http://www.url1.com" imagelinks[2]="http://www.url2.com" imagelinks[3]="http://www.url3.com" imagelinks[4]="http://www.url4.com" imagelinks[5]="http://www.url5.com" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>') } random_imglink() //--> </script> PHP: