WPAds

WPAds is a WordPress plugin for showing and rotating ads in your blog. You only have to define the ad positions and the ads you want to rotate in each position, and WPAds will serve your ads randomly. WPAds can show contextual ads (ie, Google AdSense, Yahoo Publishers Network, etc) and also image banners.

WPAds works very similarly to many adservers (as for example phpAdsNew), although with a much more limited functionality and specially tailored for using it in WordPress. The main concepts you have to understand are banners and zones.

A banner is the ad you show, which can be anything from a text contextual ad (as Google AdSense) to a image banner. A zone is a position in the blog where you want to show banners; you can define several zones in each page, as for example the leaderboard, a sidebar position and a body position.

When you create a banner in WPAds you can associate it to one or more zones. In the main WPAds options page, you will see below the banners the list of zones you have defined and the banners associated with each zone (together with the probability of each banner for each zone).

Download

Follow this link to download the file from box.net (it’s only 6Kb)

Installation and usage:

  • Copy the wpads folder to your wp-content/plugins folder
  • Activate the plugin
  • Under the Options menu you will find a new option called WPAds
  • Define at least one banner and zone
  • Copy and paste the code for each zone in your templates (it will be something like <?php wpads(’zone_name’); ?>

That should be it, in case you have any questions please don’t hesitate to contact me. I would also love to hear from you if you find any bugs or missing features.

315 Comments »

  1. Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 1/14 said,

    January 14, 2007 @ 4:19 pm

    [...] WPAds is a WordPress plugin for showing and rotating ads in your blog. You only have to define the ad positions and the ads you want to rotate in each position, and WPAds will serve your ads randomly. [...]

  2. Emmittryan said,

    January 14, 2007 @ 7:52 pm

    Cool, this is just what I was looking for this morning! I am brand new at blogging (and basically web design in general) but I know that I aim to make a few bucks at it, and this should help “get ‘er done!” (is anyone else tire of that saying too?) Anyhow, I am off to install it. Thank you.

  3. Nick Brady said,

    January 14, 2007 @ 9:31 pm

    You’re welcome, Emmittryan, let us know if you like it and if you have any problems with it.

  4. Speedlinking 15 January 2007 said,

    January 14, 2007 @ 11:29 pm

    [...] theSandbox has a WP plugin that might be useful for bloggers wanting to rotate ads in their blog called WPAds [...]

  5. KorBlog » Blog Archive » WordPress Plugin Releases for 1/14 said,

    January 15, 2007 @ 7:39 am

    [...] Plugin Releases for 1/14 Ajay WordPress Plugins, WordPress WPAds is a WordPress plugin for showing and rotating ads in your blog. You only have to define the ad [...]

  6. Markus said,

    January 15, 2007 @ 7:49 am

    Nice idea. I will test it soon.

    thanks a lot for your work on this one.

  7. Markus said,

    January 15, 2007 @ 8:11 am

    one/two improvements…

    I’d like to have a get_wpads( $the_zone ) function to include it in other plugins or functions ( I wrote one for me to include ads every X paragraphs ) and some inline includes like <– wpads ( zone ) –%gt; to include wpads in posts.

    But: I will use it since I like the integration in WP.

    BTW: I created the get_wpads() already by copying the function with returning $theBanner->banner_html ;)

  8. Markus said,

    January 15, 2007 @ 8:14 am

    OK, another one ;)

    What about adding a $before and $after for the zones in the WordPress option page?

  9. Nick Brady said,

    January 15, 2007 @ 8:27 am

    Great ideas, Markus, I will work on them tonight. Thanks for your feedback!

  10. galo said,

    January 15, 2007 @ 12:24 pm

    Hi!

    Misteriously the plugin is adding some “\\\” in the tags!

    I´ll put a partial tag as an example:

    a href=\\\”http://latin3.directtrack.com/z/98″
    img src=\\\”http://latin3.directtrack.com/42/1469/98\\\” alt=\\\”\\\” border=\\\”0\\\”

    Why is this happening? Am I doing something wrong?

  11. Mo0nrider said,

    January 15, 2007 @ 12:53 pm

    nice ideea.

  12. Eddie said,

    January 15, 2007 @ 6:31 pm

    Hi. Let’s say there is 3 ad positions all with contextual. Can this plugin display all three with the same type of ad (eg. Adsense) every time the page loads? I want to rotate YPN and Adsense but with Adsense TOS I don’t want them to be on the same page at the same time.

  13. Etherreth said,

    January 15, 2007 @ 6:39 pm

    The plug-in works great with Javascript and html banner, but when I put a banner with iframe nothing showing up.

  14. Nick Brady said,

    January 15, 2007 @ 9:01 pm

    Eddie, you mean showing only YPN ads or only AdSense ads in the same page, don’t you? Good idea, I will try to do it.

    Etherreth, can you give us a little more info about your problem? What is your iframe code?

  15. Etherreth said,

    January 16, 2007 @ 7:51 am

    Thank you for the fast reply :)

    It’s a banner exchange code. They’re using an iframe with tracking and banner rotating code.
    Here’s what it’s exactly what I get:
    [code]

    document.write(”);

    [/code]

  16. Etherreth said,

    January 16, 2007 @ 7:55 am

    Sorry for spaming the blog, I don’t know that the code tag doesn’t work. You can view the code here in my box.net:
    http://www.box.net/public/jb6qryi97j

  17. Nick Brady said,

    January 16, 2007 @ 8:06 am

    Hi, Etherreth, I have downloaded and tried the code and it works well in my installation. What exactly is your problem?

  18. galo said,

    January 16, 2007 @ 12:36 pm

    I have a problem… in my case the plugin added a lot of bars (///) on the html tag of the banner…. like a href=”///http://example.com” align”///center///” etc…

    Am I doing something wrong?

  19. Nick Brady said,

    January 16, 2007 @ 5:40 pm

    Hi galo, you just found a bug. It has been solved and I have uploaded a new version, just download the plugin again and give it a try. Let us know if it works ok.

  20. twick said,

    January 16, 2007 @ 6:54 pm

    Hi,
    Thanks for this, but there are no new tables in my database after i activate the plug in, so i get mysql errors…Am i missing a file in my zip…I have wpads.php, wpads-class.php, and wpads-options.php.

    Thanks.

  21. Nick Brady said,

    January 16, 2007 @ 7:11 pm

    Hi twick. The plugin should create the new tables when you go to Options->WPAds, have you done that? It’s strange, that part has never given us a problem.

    If you still have the problem, please give us more info so that I can try to correct it.

  22. twick said,

    January 16, 2007 @ 7:48 pm

    yes, i went there…tried in both firefox and explorer…

    BTW, You sure are quick with the support!!! Fantastic!

    Not sure what else i can tell you. Standard wordpress setup…mysql user granted full access to database…i dont see in the code where the tables are defined…thats what led me to believe i am missing a file…

    Thanks again for the amazingly quick response!

  23. Nick Brady said,

    January 16, 2007 @ 7:57 pm

    Very strange… there is a function called checkInstall() in the file wpads-options.php, that’s the function that creates the table.

    You can copy the MySQL query inside that function and execute it, maybe you get a error message (if you do, please tell us ;-) )

  24. Markus said,

    January 16, 2007 @ 8:34 pm

    I had the same prob today. I inserted the code, but I didn’t add banners before. Try to add a banner before you insert the wpads() call.

  25. twick said,

    January 16, 2007 @ 8:38 pm

    Not sure…I was able to cut and paste the sql (sorry i missed that when i was scanning the code), and after a little tweaking (removing the single quotes from around the fieldnames…beats me…

    mysql version 3.23

    Thanks again for your help though…everything is working fine…Hopefully, you will soon begin receiving your 3% of huge amounts of $$$$!!!!

  26. Etherreth said,

    January 17, 2007 @ 5:54 am

    I have no idea Nick, may be I should try with another blog. Thanks you very much, I’ll inform if there’s any problem :)

  27. Simon said,

    January 18, 2007 @ 4:25 am

    This looks like exactly what I’ve been looking for to let me switch my site over to WordPress. I’m having some trouble with install, though. On WordPress 2.0.4, it seems like the files are not in the right place. Under the options menu, when I want to go to WPAds, it links to /wordpress/wp-admin/wpads/wpads-options.php, but the plugins folder where you said to install it is /wordpress/wp-content/plugins/wpads/. I don’t know anything about php or WordPress, really, so I hope I made sense. Thanks for any help you can offer!

  28. Simon said,

    January 19, 2007 @ 1:25 am

    Okay, I don’t know what happened, but I just tried again (about 24 hours later), and now it’s working, even though I didn’t do anything. Maybe there was some lag with something that needed to be done? Either way, this looks great and I’m looking forward to using it! Thanks a ton for creating this plugin I hope you continue work on it

  29. The Long Tail Reviews said,

    January 20, 2007 @ 12:26 pm

    Yep, I know this is a very selfish comment. Why? Because these two suggestions would make this plugin perfect for me. I don’t know

    1) A drop-down list of all existing zones, so that one can easily select from the list when creating a new banner. This will avoid typos, as currently, one has to actually type in an existing zone to use it.

    2) Most independent webmasters that I know sell their ad real estate on a time-limited basis. It’ll be great to have this functionality (say, number of days to remain active … or start and end dates), IN ADDITTION to the current approach of limiting ads by number of impressions.

    Yep, that’s it. Thanks for the plugin: it’s awesome even without these features :-)

  30. The Long Tail Reviews said,

    January 20, 2007 @ 12:27 pm

    gee … forget about the “I don’t know” up there :-)

  31. gottalovet said,

    January 28, 2007 @ 1:28 am

    Hello,

    I installed ur plugin 3x and when i activated plugin and went to options it goes to a page that says something like “site error 404″. Please help me.

  32. Haven Rich said,

    January 28, 2007 @ 8:56 am

    I’ve had the same problem as above. I’ve installed it, then activated it and when I went to the Options and clicked on the link it goes to an error page.

    Any tips on how to fix this?

  33. John said,

    February 3, 2007 @ 5:17 am

    I installed the plugin, but there is nothing under options ?
    Any advise?
    Thanks
    John

  34. Bryan said,

    February 4, 2007 @ 11:13 pm

    Hi Nick, great plug-in! One question, does it record impressions and click-thrus for each ad? I would consider this a very important feature, as my advertisers continually ask for this information.

  35. Eliyahu ben David said,

    February 7, 2007 @ 12:43 am

    Hi,
    Yesterday I tried installing WPAds. After that all of the pages on my wp blog fail to load when the link to them is clicked. My homepage is loaded instead, as is set up to happen with a page not found error. I have since deactivated WPAds but am still experiencing the page load problem. Could WPads have damaged my database or otherwise effected my WP installation to cause this? How do I fix it?

    Thanx, Eliyahu ben David
    http://www.tsiyon.org/podcast

  36. Denton Jordan said,

    February 7, 2007 @ 5:48 am

    I’m a bit of a newb with WordPress…so my question is basic.

    I’ve created a couple of simple banners ads and put them into a folder on my site (http://www.henryschools.com/images/banners/techbanner1.png). Let’s assume that I have several different banners in that ../images/banners folder. What is the code that I need to insert into the HTML CODE field when I am creating a banner entry?

    I got the rest figured out. I await your assistance.

  37. Nick Brady said,

    February 7, 2007 @ 9:36 am

    Bryan, it does record impressions for each ad, but not click-throughs.

    gottalovet, Haven Rich: can you give a little bit more information about your problem? I’ve never heard of it before.

    Elihayu: in all the tests we have made, we have never had a corrupted database problem. WPAds only creates a new table and uses it to store the ads.

    Denton Jordan: you need to insert a HTML code that shows the image and links to your desired destination, something like this:
    <a href="http://destinationurl.com">
    <img src="http://www.henryschools.com/images/banners/techbanner1.png" />
    </a>

  38. alison said,

    February 7, 2007 @ 12:54 pm

    Hi Nick,
    I have a website that was designed for me around a wp template blog. I am ready to start talking ads, and am wondering if this plug in would do the trick.
    Thanks
    Alison

  39. Cris said,

    February 7, 2007 @ 1:44 pm

    This is what I need to get my text-ads going (i think), but I have a question :
    does your script allow me to show banners/ads based on a keyword? Ideally, i could distribute my ads to appear ONLY in a specific category.

    For example, in the HEALTH category, i could set the script to show only health-related ads.

    Thanks a bunch.

  40. Iwany said,

    February 9, 2007 @ 7:06 am

    i try to install WPAd to my site but after I activated and enter to option menu, i get this warning im newb and and did’nt understand PHP yet, so please anybody can help me?
    Fatal error: Call to undefined function: current_user_can() in /home/msbznet/public_html/wp-admin/wpads/wpads-options.php on line 5

  41. Bryan said,

    February 10, 2007 @ 1:42 am

    Thanks for the reply, Nick. Any chance you’ll add the ability to monitor click-throughs?

  42. Doug Smith said,

    February 13, 2007 @ 4:02 pm

    Thanks for sharing the plugin. I just started experimenting with it and it looks great. I’m trying it out for rotating linked graphics to promote features within my own sites rather than run paid ads.

    There was one thing I couldn’t find answered in any of the documentation or on your site. Does the plugin make any attempt to make sure a particular ad is not presented more than once on the same page if it can be placed in multiple zones?

  43. Nick Brady said,

    February 13, 2007 @ 4:44 pm

    Hi Doug, thanks for your comment. No, currently the plugin does not make sure an ad is shown only once, we’ll try to have that for a following release, it’s a good idea.

  44. Foehammer said,

    February 13, 2007 @ 8:02 pm

    For those who got a 403 error (and possibly others): I found the solution — the zip isn’t bundled with a directory for the files. Simply drop the 3 Wpad files into their own directory in the plugin folder . Name that subfolder — /wpads/

    Simple solutions are always best. :)

    Reinstall the plugin. Presto, you should no longer be getting the 403 error when you click the WPADS option menu link.

    Nick, thanks very much for this plugin. It’s exactly what I was looking for and the search was starting to look grim for awhile!

  45. Bryan said,

    February 15, 2007 @ 9:41 am

    Hey Nick, I’m currently using a very simply PHP script to track ad impressions and click-throughs. It’s creative commons/open source, so feel free to download and check it out (right click on my name). It’d be great if you could incorporate click-throughs, that would make this plug-in perfect.

    Any idea when the next version will be release? I’m anxious.

  46. Manish said,

    February 21, 2007 @ 6:56 am

    Hi Nick. Does this plugin work for WP 2.1 ? Pls indicate the tentative release date for the next version and features u r planning to incorporate. Thanks.

  47. ngeblogging said,

    February 24, 2007 @ 3:00 pm

    nice plugin, i awnt to download and install this tool.
    any body know what plugin to embed ads in random place?
    Real Estate

  48. AaronZ said,

    February 25, 2007 @ 5:17 am

    As many before me, this sounds like exactly what I need. On my site, I’d like to specify a few banners to run only within specific categories and then have all the banners for all the categories randomly displayed on all other pages (home, search results, etc.) Is there as way I can set up zones to do this? Thanks in advance!

  49. Nick Brady said,

    February 25, 2007 @ 8:34 am

    Aaronz, you can do what that, just define zones for each category and position. For example, sidebar_cat1, sidebar_cat2, leaderboard_cat1, leaderboard_cat2, etc. Then assign the banners you want to show to each zone and you’re all set.

  50. AaronZ said,

    February 26, 2007 @ 6:46 am

    Nick, Thanks for the quick reply! Sorry for such a basic follow-up question. I’m comfortable w/HTML and editing my theme, but I’m not a PHP guy. All my pages are currently built off of a single ’sidebar’ theme template - including when someone clicks on a category. With your suggestion, would I need separate templates for each category? And, if I do that, what’s the code for the main page to call the correct sidebar? Anyone else reading this interested in taking this little project on? I’m happy to pay for your time. thanks!

  51. Carlo said,

    February 26, 2007 @ 9:35 am

    Your plugin is exactly what I’m looking for, but it doesn’t seem to work on WordPress 2.1? After following all the installation-steps, nothing appeared… Any clues?

    Thanks!

  52. AaronZ said,

    February 26, 2007 @ 6:31 pm

    Carlo, I’m running 2.1 and it seems to work fine. Do you mean nothing appears in the PlugIns section or your ads don’t appear after you Activate the plug-in?

  53. elprezidente said,

    February 27, 2007 @ 11:24 pm

    I’m having the came problem as Carlo. Everything installs fine, just no ads showing up.

  54. Missy said,

    February 28, 2007 @ 5:28 am

    I’m having the same problem that Etherreth had. It displays java and html but iframe ads do not work. I’m trying to rotate some Amazon ads; there are links to the product but no visual ad in the zone, only a box suggesting that a picture is missing. Any ideas on how to correct this?

  55. Keith said,

    March 4, 2007 @ 12:17 am

    Thank you for this! I looked everywhere for a simple plugin that would allow me to rotate Google Referral Buttons. This does it perfectly and is amazingly easy to setup.

  56. WalletBoosters said,

    March 4, 2007 @ 9:58 am

    This plugin is fantastic, thank you! A few comments/questions:

    1. Is there a way to reset the Views Served count to 0 again for all ads in the system (easily)?

    2. ngeblogging I’ve combined this with CG-Inbetween to display in the archives after x number of posts, last post on page, etc. Maybe that’s what you’re looking for?

    3. I’d *love* some sort of option to cloak the links automatically (example every url pasted in the ad manager is displayed on the website with “mydomain.com?thentheadurl”, count the clicks, separate advertiser login, and a gold nugget on top ;). Seriously though, you’ve done a great job as-is, these are just wish list items :).

    FWIW I’m running wp 2.2 and everything’s smooth as silk.

    Thanks again! :)

  57. Carlo said,

    March 5, 2007 @ 9:13 am

    @AaronZ: the ads do not appear.

  58. Mike said,

    March 6, 2007 @ 8:28 pm

    Love the plugin. One question… is there a way (short of going into the tables) to easily reset some or all of the “views served” stats? I find myself testing ads to make sure they look right, but this puffs the ad count way up artificially. I would love it if you could manually reset or readjust the views served so this doesn’t happen.

    Thanks again for the plugin. I am using on my 10 year HS class reunion website to lure in corporate sponsors. So far it is working extremely well.

  59. pk said,

    March 7, 2007 @ 2:42 pm

    This might be a stupid question but, where do I find the wp-content/plugins folder?
    Thanks for everything

  60. John said,

    March 8, 2007 @ 3:50 am

    Installed WPAds on WP 2.1.2 and no problems at all - test mode only on localhost. It is exactly what I was after and more (I can now do without AdsenseDeluxe), however I too have a wish list similar to others:-

    1. Count click-throughs
    2. Reset counters to zero after testing
    3. Cloak links, especially any affiliate links.

    These would be nice to have, but as is, it is an excellent plugin. Keep up the good work!

  61. ink said,

    March 8, 2007 @ 5:17 pm

    Hello!
    Your plugin is good and it’s simplisity is a power!

    But, when I use it with cyrillic text in a banner I have one problem. In Edit Banner mode i see only symbols, but not my cyrillic text in Russian. This time banner correctly represented on site - mistaken symbols is only in admin mode.

    Site works in utf-8 on Apache 2, MySql 4.1, PHP 5.2.0.

    I like your work - keep movin’! :)

  62. HM2K said,

    March 9, 2007 @ 1:40 pm

    Can we see a demo?

  63. Jim Berkowitz said,

    March 9, 2007 @ 5:07 pm

    I need to provide advertisers with Ad specifications. Ex. what type of files formats does it support? Does it support Flash? Can you provide me with the specs I need to supply to Advertisers.

    Thanks so much

  64. Owen Bickford said,

    March 15, 2007 @ 9:43 pm

    Jim, I am pretty sure that you can insert any image/object/embed to be displayed. You could even use this to rotate different quotes in different zones.

    I’m excited to see what will be in the next version of WPads. Serious kudos for making such an easy and effective tool. You could probably use some more documentation on setting up the plugin, though. Foehammer’s solution got my WPads up and running.

    When you include a reset views option, please do so on a per-banner basis. I would hate to reset views on all my banners in one swipe. That could be devastating.

  65. carl said,

    March 17, 2007 @ 10:44 am

    great plugin! thanks i have put it on http://www.carlocab.com thanks again

  66. Bryan said,

    March 18, 2007 @ 10:07 pm

    Nick, when is the next update coming?

  67. Joanne said,

    March 19, 2007 @ 2:22 pm

    I have installed the wpads but I seem to have a problem

    This is my error
    WordPress database error: [Table 'transgen_wp_1.wp_ads_banners' doesn't exist]
    SELECT * FROM wp_ads_banners WHERE 1 ORDER BY banner_id ASC

    I’m new to wordpress and don’t know where to go from here.

    Thanks

  68. TJMullinax said,

    March 19, 2007 @ 6:40 pm

    Any chance you will have a version that works with WordPress MU in the future? Thanks!
    -TJ

  69. Vic said,

    March 27, 2007 @ 3:58 am

    Hi there,

    I’ve been able to properly insert the code for displaying some ads, but am having trouble figuring out where to place the code to display an ad in two certain spots.

    You can see the blog here: http://www.pokertournamentnetwork.com. The ads on the leftbar work fine, but I would like to know where to put the code so that a banner is always shown above my first post or after my first post. P

    Any help you can provide would be greatly appreciated.

  70. cristian said,

    March 27, 2007 @ 11:06 pm

    vic depends by the theme first , see into code of theme , and simply put the php call where u wanna , btw u play at fulltit ? :)

  71. corpedia said,

    April 4, 2007 @ 5:29 pm

    This is much better than AdRotator!

  72. AMGmarket.com | Greg said,

    April 7, 2007 @ 7:22 pm

    Awesome WP plug-in! I was researching rotating banner ads for my blog when I came across your plug-in. Didn’t take long to get it up and running. Great job.

  73. Dave said,

    April 11, 2007 @ 11:08 am

    I installed the plugin and activated it. When I go to options and press wp ads, it takes me back to my websites home page.

  74. AMGmarket.com | Greg said,

    April 11, 2007 @ 6:21 pm

    First install worked fine (on one of my sites). When I went to install it on another, I got the database error - table doesn’t exist. I can create the table myself but need the “number of fields” required.

    Anyone know how many fields are needed for the table?

  75. Ales said,

    April 12, 2007 @ 12:09 am

    Wonderful and very flexible plug-in. Installed it and works beautifully. I can’t wait for upcoming versions. Click-through tracking is something I find essential and will take a crack at it myself. Keep it up!

  76. coops said,

    April 12, 2007 @ 9:45 pm

    Great idea.

    Where do I store images if that’s what I want to use…

    Can’t figure it out.

    Many thanks,

    /coops

  77. Piecealava said,

    April 20, 2007 @ 12:20 am

    Great Plugin! Love it to death and works perfectly in FF in wp2.1 and wpmu! However, in IE7 the ads arn’t displayed. If i disable the plugin, i get an error message. When reactivated i have the same IE issue.

    Stupid &^%$#@# IE

    Any ideas on how to fix?

  78. Israel Cefrin said,

    April 20, 2007 @ 1:19 pm

    Hi
    Great plugin. I´m using it on my blog and it´s all fine.
    That´s just perfect for adsense or publishers network.
    Tks a lot for your job

    regards

  79. Daniel said,

    April 27, 2007 @ 10:56 pm

    Nick, here is my problem:

    I have 6 125×125 banners on my sidebar. Is it possible to make them rotate randomly using Wp-ads?

    I could create 6 ad zones and place all the 6 banners on all those zones, but with method there is the risk that the same banner would appear twice or more times isnt it?

  80. Nick Brady said,

    April 28, 2007 @ 5:18 am

    Yes, Daniel, you have the risk of showing the same banner twice, WPAds doesn’t check that.

  81. Anuj Seth said,

    April 28, 2007 @ 9:33 am

    Nice plug-in that is very practical and easy to use. Thanks!

  82. Anuj Seth said,

    April 28, 2007 @ 9:35 am

    Nice plugin. Simple to install and use. Thanks!

  83. Dennis Sim said,

    April 29, 2007 @ 5:49 pm

    Nice plugin. Simple and nice to use! Thanks!

    But I have one question. How to align my ads to the center?

    You can view my site at http://www.dennissim.com

    It is now align to the left.

    Thanks!

    Best regards,
    Dennis Sim.

  84. Dennis Freeze said,

    April 29, 2007 @ 7:09 pm

    This is a great plugin — easy to use.

    If you’d like the ability to fix ads on particular pages, I’ve done this. I did not modify WPADS itself — instead, I just put a big IF in my sidebar.php. I now have fixed ads on my home page, rotating ads only on the home page, and fixed ads allowed on individual pages, along with rotating ads for paid and charity stuff. You can see this in action on http://www.mendocinofun.com. The fixed ads use a custom field defined on the page where you want a fixed ad. Since there are 2 slots, you set the zone name as the value, and the keys are either ‘fixed-ad-1′ or ‘fixed-ad-2′. Seems to work well.

    In the is_page section, I’m counting the number of fixed ads actually in play on that page, so that I can fill the empty slots with charity ads.

    I’ve put the code on my site at http://www.mendocinofun.com/sidebar-mods.txt.

  85. Dennis Freeze said,

    April 29, 2007 @ 8:24 pm

    Oops. The link to that sidebar code embedded the period at the end of the URL, so it breaks. It’s just http://www.mendocinofun.com/sidebar-mods.txt

  86. Alex Choo said,

    May 3, 2007 @ 5:58 pm

    Hi,

    I’m the developer of WP Text Ads. It’s a WordPress plugin that allows bloggers to sell ads directly to advertisers.

    This means you get paid instantly, and pay no commissions. Furthermore, you can set your own ad rates and runs and build business relationships.

    I believe WP Text Ads complements TLA and Adsense very well :)

    The web site is here - http://www.wptextads.com

    If you use it, I’d love to hear from you

    My email is alexchoowk at wptextads dot com

    Cheers!

  87. ejhpd said,

    May 6, 2007 @ 11:38 am

    Nuremberg? I will read it to you this very night dot It is the most
    hintai game*
    of a young man dot It seems to me like falling in love with ones

  88. Mike said,

    May 8, 2007 @ 7:31 pm

    Hello,

    I want to put WPAds after the first post in my blog. I have instructions at http://www.tamba2.org.uk/wordpress/adsense/ to directly insert the code, but if I try to use the WPAds code I get a white page. Any ideas how to get WPAds to only show up between the 1st and 2nd post?

    Mike

  89. datenschmutz.net said,

    May 13, 2007 @ 9:23 am

    Neues Plugin: Top KommentatorInnen

    Das Top Commentators Plugin zeigt eine monatlich aktualisierte Liste der schreibwütigsten DiskutantInnen und Links zu deren Homepage.

  90. Amber said,

    May 17, 2007 @ 4:30 am

    I have developed a site locally using your plugin for the ad server. However when I uploaded the site I get a 404 error when I try to access options>WPads. I have uploaded several times. Any help would be appreciated.

  91. grobekelle said,

    May 17, 2007 @ 9:47 am

    I like the plugin a lot, thanks for mention it on you blog!

  92. Kris Black said,

    May 21, 2007 @ 11:46 am

    Amber,
    Before you upload the plugin folder, “wpads folder”, to your server change the folder name to “wpads”.

    Kris

  93. Michael Smalley said,

    May 30, 2007 @ 6:07 pm

    I’ve tried putting the code in one of my side bar text widgets, but it does not appear. How can I get the ads showing in the side bar? Thanks, great plugin by the way!

  94. anatol said,

    May 31, 2007 @ 6:30 pm

    Nise site!

  95. Jamie said,

    June 2, 2007 @ 2:59 pm

    Thanks so much for this!!! I’ve tried to get something like this working for quite some time. I’m very pleased :) Great plugin!

  96. Jafo said,

    June 4, 2007 @ 3:42 pm

    Installed this on a clients site today to test it. It seems to be working. Some other options that would be nice is a way to monitor click throughs. I guess an option of making a link in the code like this a href=siteurl/index.php?admanager=true&ad_id=ID. This way, the script could track when a user clicked it, and automatically redirect the user to the URL on file. Would probably require a bit more work on your end.

    Uploading images would also be a plus, especially since pic uploading is already a feature in WP 2.X. Basically this is the only plugin for ads I could get working right out of the box.. Keep up the good work.

  97. Bill Compton said,

    June 4, 2007 @ 10:11 pm

    Hi Jim. Photos i received. Thanks

  98. Vinny Lingham said,

    June 12, 2007 @ 3:28 pm

    Is there any way to make a donation instead of the 3% ad rotation?

  99. ponestah said,

    June 14, 2007 @ 3:27 am

    Great Plugin!

    I too would like to see an end date (start date perhaps too). That should be easy to add… but I’d also be interested in the ability to rotate ads in order… but that would be a slightly bigger pain in the butt.

    And not meaning to complain, but how random is your randomization? I’m getting some funky results…

    Again, ignore complaints… thanks for this…

  100. Frank Reding said,

    June 15, 2007 @ 3:46 pm

    Hi Nick,

    Great plugin, pretty much exactly what I was looking for. I do have one feature request though I’d love to see in a future release, and that’s the ability to display several ads per zone (perhaps with being able to specify before and after tags). That would allow me to display several 120×60 banners in the sidebar for example, without the need for several zones and repeated banners.

  101. jamiecarter said,

    June 16, 2007 @ 2:15 am

    Perfect my friend!

    Your the man

  102. James said,

    June 16, 2007 @ 7:43 am

    Thanks for the plugin… just what I need :)

    Unfortunately though.. I am a WP newbie and code illiterate :(

    I can follow instructions however…. can someone tell me where the template is to paste in the wpads code to sidebar2 using sempro theme?

    Thanks

  103. The Boy said,

    June 18, 2007 @ 7:33 pm

    I don’t know why, but the banner isn’t showing. :/
    I’m reading the manual, doing exactly how it’s written, and isn’t showing anything. No error, no banner. :(

  104. The Boy said,

    June 18, 2007 @ 7:45 pm

    Actually, I fixed it! ^^
    I do not know how, but I did it. :lol:
    Btw, thank you for the plugin, mate. :D

  105. Leonid Mamchenkov said,

    June 19, 2007 @ 3:40 pm

    First of all, thanks for the plugin. It just works, which is the best thing that software can ever do. :)

    Secondly, I’d like to suggest some sort of integration with WordPress widgets. WPAds could automatically define widgets for each zone, so that they could be drag and dropped in widget administration - no theme editing needed at all.

    If you need a quck reference on how to make widgets - see my new blog http://wpbits.wordpress.com .

  106. Dan said,

    June 21, 2007 @ 7:02 pm

    Great plugin! But I have one question. Is there an easy fix to set up the display zone function so that you can include more than 1 ad in random order? The thing is… I want my sidebar zone to be able to show multiple ads in random order. So maybe there are 3 ads, but they show up with a random one on top and the other two on bottom. I checked out some of the PHP in the class but my OOP with PHP is a little rusty so it was hard to follow.

  107. Rhys said,

    June 25, 2007 @ 5:21 pm

    Hi Nick,

    I have been playing around with your plugin for a while, it’s great!

    I have also been looking at the source code, and added some extra functionality for it for my blog.

    I was wondering if I tidy up the source code and make a dedicated webpage etc. would I have your permission to release it?

    Of course, all credit and donations will still be included in it.

    E-mail me back.

    Rhys

  108. Gene Steinberg said,

    June 29, 2007 @ 9:57 pm

    I like the plug-in too, but I’d like to see some way of not just tracking views but clicks as well.

    Can do?

    Peace,
    Gene Steinberg

  109. Lori G. said,

    July 4, 2007 @ 4:24 am

    I just downloaded and put some ads in. I cut and paste the short code:

    into a text widget but nothing is showing up.

    Is that how I’m supposed to do it? Where do I get support for this widget?

    thanks.

  110. Lori G. said,

    July 4, 2007 @ 4:38 am

    wow. I can’t believe I figured it out. Nevermind on the above!

    Is there a way to have more than one rotating add? I’d like to have a few stacked on top of each other.

    Thanks in advance!

  111. Martino said,

    July 5, 2007 @ 1:18 pm

    Looks like the issue resolved itself. Everything looks great, thanks for the excellent plugin. :)

  112. Gary Fazenbaker said,

    July 6, 2007 @ 6:50 am

    Nick
    I’m new to WP, CSS and XTML so I’m sure I have someting out of place in the template (Blue Lake 1.0). The banner shows up on my about page but not where I thought it should. On my index page I get the following error above the header box:

    WordPress database error: [Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like']

    SELECT * FROM wp_ads_banners WHERE 1 AND ( banner_active = ‘Y’ ) AND ( (banner_maxviews = 0) OR (banner_views

  113. brant collins said,

    July 9, 2007 @ 1:46 am

    I uploaded the new folder to plug in folder and it shows up in options put when I click on options I get
    Not Found
    The requested document was not found on this server.

    Web Server at brantcollins.c

  114. Incoming Sound said,

    July 13, 2007 @ 3:20 pm

    Just wanted to say nice plugin thanks!

  115. Ian Blackford said,

    July 13, 2007 @ 9:57 pm

    Hi, this plugin isn’t working for me. When I add to the post, I get my text with: displayed underneath it. I don’t get the adverts.

    What have I done wrong?

  116. Ian Blackford said,

    July 13, 2007 @ 9:59 pm

    My comment above had the code removed. Here it is again:

    When I add to the post, I get my text with: displayed underneath it. I don’t get the adverts.

  117. Ian Blackford said,

    July 13, 2007 @ 10:01 pm

    Oh, I don;t seem to be able to tell you my problem properly.

    The missing bit is the ‘Code in posts’ code

  118. Astrit said,

    July 14, 2007 @ 8:07 pm

    I just installed this plugin, and seems very good, best of what i saw actually. Just giving it some time to see how it is going. Tho, i did notice that when changing pages not always the ads will change, even tho all ads have the same probabilities to show up.

    Great job, thanks.

  119. Ray said,

    July 15, 2007 @ 3:24 am

    Hi have been using this great plugin - just went to alter my amazon code and keep coming up with the following error when trying to save new info

    An appropriate representation of the requested resource /wp-admin/options-general.php could not be found on this server.

    any advice at it wont save new settings

  120. Gutscheine said,

    July 16, 2007 @ 7:28 pm

    I love it!

  121. MattSuspect said,

    July 19, 2007 @ 8:35 pm

    When I click on WPad in the options, it just takes me to my main page. Everything else worked fine so far. Any help for a novice? Thanks, Matt

  122. piecealava said,

    July 23, 2007 @ 2:29 am

    Great Plugin! Thank-you! I would like to move the WPAds menu in WP admin to the manage tab. I need to give “editors” access to this menu, but not to the rest of the options or plugins. Any suggestions on how that can be accomplished? Thanks in advance!

  123. Mint-Tree said,

    July 26, 2007 @ 2:41 am

    Hey, there’s a bug with this plugin. Well, ‘after’ I deleted the wp_banner_ads table, I tried to re-activate the plugin, but it did not create a new wp_banner_ads table, which make this plugin now unusable indefinitely on my blog.

    O.K. That’s all. Oh, if you’d like to see the problem for yourself, please feel free to let me know and I’ll gladly give you a username and password to login to the admin backend.

    –M.T.–

  124. jason said,

    July 30, 2007 @ 12:22 am

    hi i am new in php coding. just wondering whether when i have ald install and activated the plugin, i add one zone “sidebar1″ and put the bidvertiser html code there… but once i create it, i got the updates

    Zone Banners (Probability) Code in templates Code in posts
    sidebar1 BidVertiser (100%)

    does this means it has finish ?
    once i refresh my blog.. ntg inside.. and accor to the intruction, i need to add the html code in my templetes or post ?
    can i know where is it ?
    under my wp-content folder ? or which part ?

    thanks for the reply

  125. Andy said,

    August 1, 2007 @ 5:52 am

    Hi, Thanks for the plugin but it will not show any ads. Myself and WP savvy friend have tried a lot of things but it all appears OK but the ads don’t show. I notice some others talked about this but I can’t find a solution answer anywhere. Is there one?
    Cheers
    Andy

  126. Andy said,

    August 1, 2007 @ 6:15 am

    Also we set it up exactly as on his blogs where it works fine, but can not get it to display on my site?

    Cheers
    Andy

  127. Craig said,

    August 3, 2007 @ 1:58 am

    Nick,

    From the looks of the postings this is a good plugin and I will test it out. However, I’ve had one problem already. Installed the plugin and it didn’t work (went to error page - page not found), but link installed in the Options menu. I looked at your zip and found the problem.

    I suggest you create a new zip and place the 3 files into a directory called “wpads” that can be uploaded to the plugin directory instead of just having the 3 files.

    Will give a review after I test it further.

    Thanks for the tool!

  128. MichelleVan said,

    August 3, 2007 @ 5:20 pm

    I’m getting the page not found error when I try to config. they did all go to a separate directory - maybe they shouldn’t?

  129. MichelleVan said,

    August 4, 2007 @ 2:12 am

    ok, I got some help from Craig above. the problem is that it unzips into wp-ads instead of wpads.
    once that is fixed it works.

  130. Wanda said,

    August 4, 2007 @ 3:30 pm

    Thank you for the great plugin!
    Made all much easier for what I needed.
    Hugs,
    Wanda.

  131. mamagallo said,

    August 6, 2007 @ 12:02 am

    a mi no me funciona y todo parece trabajar bien :(

  132. your-web-guy said,

    August 10, 2007 @ 6:30 am

    any plans to integrate the upload function similar to the one when you write posts? That would be handy as all get out if i could upload the banner and then just link it up with th wysiwyg editor… any help on that would be greatly appriciated

  133. irriffVow said,

    August 10, 2007 @ 1:31 pm

    Very useful and informative blog. Recommended for all to see.
    http://medsdrugs.blogspot.com/

  134. moshu said,

    August 10, 2007 @ 9:32 pm

    From the install instructions:
    Copy the wpads folder to your wp-content/plugins folder

    However, the files are NOT packaged properly, so when unzipping it does not create its own folder! I’d appreciate if you could repackage it - we would have less struggle in the WP Forum with novice users.
    Thanks!

  135. jon said,

    August 17, 2007 @ 11:18 am

    My ads do not show up, no matter where I place the WPads code. In the Zone Name, can that be anything I want it to be or do I HAVE to have the name of the place where it’s gonna be shows, ie INDEX if it’s gonna be in index.php?

  136. archetekt said,

    August 19, 2007 @ 4:04 am

    I just installed this and am not clear on where exactly in the code do I insert the affiliate banner ad code. I tried but it was “This plugin has been deactivated because your changes resulted in a fatal error.”

    Can anyone help with this please?

  137. Gary Fazenbaker said,

    August 20, 2007 @ 6:13 am

    Thank You
    The wp-ads plugin has been working well for me but after swiching themes I am having some problems getting it to work in posts. Does the code have to be placed inside the loop?
    Just after:

    TIA for any help
    Pen Master
    http://meandering-pen.com

  138. Robin said,

    August 22, 2007 @ 3:32 pm

    I installed this plugin a month or so ago and it was working I had created a zone before the first post and the banner showed, now it has disappeared. I cannot figure out why it won’t show now. Any suggestions?

  139. Al said,

    August 22, 2007 @ 5:32 pm

    Hello, I have gotten great feedback on this plugin but I am very limited in code and installs this is probably been asked before but can you give me a short ” how to ” I did upload to my server and activated the plugin but am getting this message:

    Not Found
    The requested URL /wp-admin/wpads/wpads-options.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I named the folder wpads folder it has I think 3 files in it I think you mentioned I got to add a code to the place I want the ad to go like in the template sidebars can you give me the exact code?
    Thanks

  140. Chavvon Smith said,

    August 22, 2007 @ 8:46 pm

    Very nice plugin. Thanks for the download!

  141. gary said,

    August 24, 2007 @ 1:45 pm

    Good work.. had it up and running on the site in a few minutes…

  142. Alison said,

    August 27, 2007 @ 1:30 pm

    Hi and help.
    I am having the same problem as Al, above on August 22nd, is having. I keep getting the message:Not Found
    The requested URL /wp-admin/wpads/wpads-options.php was not found on this server.
    Any thoughts?
    Thanks

  143. dan said,

    August 28, 2007 @ 2:45 pm

    Come learn the truth and dominate the game.

  144. Ron said,

    August 29, 2007 @ 1:06 am

    Hi i am new to Word Press and Ads. I have installed your plugin in Word Press but i do not know how to proceed!!!. I want to display gif and swf banner ads after each post. Can you guide me please, ie which pages to modify etc,

    Your help is greatly needed and appreciated,

    Thanks,
    Ron

  145. Mikel said,

    August 29, 2007 @ 2:52 pm

    hi
    i would like to know how i have to insert the code in templates and in post in order to see the banners…
    thanks

  146. stephen said,

    August 29, 2007 @ 3:32 pm

    I am a real newb here but i am trying to put my own rotating banner ads on this page. They are just simple images how do i get them to display?

  147. mikelo16 said,

    August 30, 2007 @ 1:01 pm

    hi
    i have a problem with insert the provided code from wpads in the corresponding template and in posts
    i can not find the correspoding templates to edit…
    is there any complete manual…?
    thanks

  148. Manele said,

    August 30, 2007 @ 9:02 pm

    i love it! thank you for your work

  149. Denis said,

    August 30, 2007 @ 9:31 pm

    hi,

    is there a way to fix a time the ad wont be shown anymore. maybe a date or a number of days. that will be great.

    cheers
    denis

  150. tek428 said,

    August 31, 2007 @ 12:31 pm

    I great feature would be if you could incorporate a click tracker for those of us that rotate a lot of ads, that way we will know which ads don’t perform well, and delete them.

    I would really love to see this feature!

  151. mikelo said,

    August 31, 2007 @ 2:47 pm

    hi
    i have still no answer to the problem…
    how to insert the provided code in templates and in posts to publish banners…
    still have this problem.. can you help me? is there any manual?
    could you give me any examples…? thanks

  152. mikelo said,

    August 31, 2007 @ 5:09 pm

    hi i can not believe nobody can help us…
    just a simple question and nobody can answer it…

    how to insert the provided code in templates and in posts to publish banners…

    iam going to uninstall the plugin as i have no help, is that possible?
    thanks

  153. Alison said,

    September 2, 2007 @ 8:57 pm

    I am looking for the same help. I have put the following code into the html box and called it sidebar1.


    what other code do i need to add and where.
    Thanks for much needed help.

  154. Denis said,

    September 3, 2007 @ 9:01 pm

    @mikelo,

    did you creat an ad ? Under zones there youo can find your ad-banner. Right from there there is Code in templates just copy an paste that code into your theme where you want the ad, example und for putting it into the POSTs example

    Cheers

  155. Denis said,

    September 5, 2007 @ 8:02 pm

    What about the possibility to enter en END-DATE for the AD. or maybe the number of days ?
    Cheers
    Denis

  156. Gary Fazenbaker said,

    September 6, 2007 @ 1:40 am

    Unable to make the plugin work.
    Created zones and pasted the code given but nothing shows.
    Looked like what I wanted but I can’t make it work
    Pen Master

  157. David said,

    September 7, 2007 @ 1:47 pm

    Hi everyone,

    I have an annoying problem with wpads that I am not able to solve.

    I have been using wpads for quite a while and I am really satisfied with the plugin.

    However, when I created my last website I installed wpads but when I click on wpads under options I am directed to the famous Error 404 page and the message that “The page you are looking for no longer exists”.

    When I look on my other websites the working ‘link’ to the wpads options page is the following:

    http://www.mydomain.com/wp-admin/options-general.php?page=wpads/wpads-options.php

    But on the newest webpage the link (which directs me to the 404 page) is the following:

    http://mydomain.com/wp-admin/wpads/wpads-options.php

    I have uninstalled and reinstalled the plugin several times. No difference.

    So does anyone know how I can resolve the issue? I have completely run out of ideas how to solve it.

    Thanks in advance

    David

  158. Tracey said,

    September 9, 2007 @ 9:07 pm

    my ads from adengage does not show after i followed all the steps.
    i am trying to have the ads in sidebar of my worpress,but ads wont show,even after i added the codes.

    please i bed,any help?

  159. Elli said,

    September 13, 2007 @ 10:46 pm

    I was happily running this plugin for a few weeks when I added an .htaccess file that WordPress advised me to add as per its permalinks options. Now the ads don’t show, but there is a blank spot where they should be. Do I need to add something to the htaccess file now?

    Also, my theme (Tarski) uses a non-conventional loop and there is no post.php page. I’m not sure where to insert the code to make a banner show up between posts on the main page.

  160. tony said,

    September 18, 2007 @ 12:01 pm

    Hi, installed and activated plugin but nothing appears in control panel.

    Any ideas?

    TIA

  161. tony said,

    September 18, 2007 @ 4:26 pm

    Found the answer to this, there all the time just looking in the wrong place.

    Thanks for a great plugin. Tony

  162. k3 said,

    September 22, 2007 @ 10:50 am

    compatible with WP 2.3? It’s not listed in their compatibility list.

  163. oleg said,

    September 28, 2007 @ 4:42 am

    To use WPAds as a widget, download and install yet another plugin, “Executable PHP widget”. Then create a PHP block for the sidebar, and put as the content something like:

    Don’t forget to save the changes!

  164. oleg said,

    September 28, 2007 @ 4:43 am

    The code lost in the previous comment. Trying once again:

    <?php if (function_exists(’wpads’)) { wpads(’sidebar’); } ?>

  165. CyberWoolf said,

    September 30, 2007 @ 12:00 am

    Hello,

    I wish I could use it… when I try to add a jpg.. I get:
    ‘Please upload a JPG , GIF or PNG type of image’

    However.. gif and png upload fine. I really need jpg to work since that is the format that will be used most.

    The offending code is:

    $allowed = array(’image/gif’,'image/png’,'image/jpeg’);
    if(in_array($_FILES['ad_image']['type'],$allowed ))

  166. DenisCGN said,

    October 3, 2007 @ 11:59 pm

    Hello !

    is it possible to put an Expire-Date to the ads? Maybe a Date or the number auf Day to show on the website ?

    Cheers
    Denis

  167. chrisjacobson said,

    October 16, 2007 @ 3:23 pm

    Great plugin. Thanks!

  168. Armin said,

    October 17, 2007 @ 2:21 pm

    Thank this plugin my blog is more simply in service.

  169. Runni said,

    October 22, 2007 @ 2:00 pm

    Hi Oke Call Me

  170. Carlos said,

    October 27, 2007 @ 8:20 am

    Great Plugin ! If you take this [code] before the <?php foreach( $zones as $zone ) {[/code] give better sort listing !

    Carlos

  171. Carlos said,

    October 27, 2007 @ 8:21 am

    Sorry take this before = sort($zones);

  172. Chris McLaine said,

    October 27, 2007 @ 3:23 pm

    I am very new to wordpress and am unsure of the specifics of the code that needs to be modified when editing the plugin and where the ads that will be displayed are to be located.

    Do you have any examples that more clearly explain the modifications that need to be made?

    In advance

    Thanx

  173. Brandon said,

    November 2, 2007 @ 4:41 am

    Hi. Great plugin!

    I was wondering if there is anyway to get this to work as a sitewide thing on wordpress MU. I mean it works fine but you have to go into each blog and activate it and then set up your ads.

    I am wanting to create a snippet of code that I can insert into my default blog template that will serve a mixture of ads instead of doing this one at a time.

    Any suggestions anyone?

    Brandon

  174. mstgngr said,

    November 4, 2007 @ 9:41 am

    very nice plugin.thanks.