In: , , ,
On: 2007 / 09 / 03
Shorter URL for this post: http://ozh.in/fo

Thanks to a lot of very positive feedback and very interesting suggestions, I've updated the uberawesome Who Sees Ads plugin with even more uberawesome features and improvements.

Who Sees Ads : new display rules

New Display Rules

Who Sees Ads lets you decide under which circumstances a visitor will see an ad (or anything like a greeting, text, a "Subscribe to my feed" banner, etc). As of version 1.2, the conditions that can trigger content to display or not are:

  • If Visitor comes from a search engine, display / don't display
  • If Visitor is a regular reader, display / don't display
  • If Post is older than XX days, display / don't display
  • If Visitor is logged in, display / don't display
  • If Date is between specified date interval, display / don't display
  • If Ad has been viewed less than XX times, display / don't display
  • If All previous conditions fail, try another context
  • If Any condition, display / don't display
  • If some PHP code, display / don't display

I've also gathered a few example display rules to help you create simple, complex or totally crazy rules.

Download Who Sees Ads now!

Complete Changelog

1.0
Initial release. Won 4th spot at WordPress Plugin Competition 2007 \o/

1.01
fixed: small glitch with PHP < 5.x preventing a cookie to be set (thanks Andrew Flusche) 1.2
improved: overall security against utterly improbable XSS attempt
added: 'Logged in users' as a context condition
added: 'Between 2 dates' as a context condition
added: 'Number of views' as a context condition
added: 'Fall back to another context' as a context condition

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/fo

Metastuff

This entry "The Ultimate Ad Management Plugin Gets Better" was posted on 03/09/2007 at 10:04 pm and is tagged with , , ,
Watch this discussion : Comments RSS 2.0.

3 Blablas

  1. Selton says:

    One word: awesome. This is an amazing plugin, thank you so much!

  2. Greg Laden says:

    Perhaps I just don't understand the part about context. Am I to copy the entire code that generates the ad into the Ad Code box? (That is what I've been doing). Is this working with Wordpres 2.2.3? With widgets?

    Thanks.

  3. Ozh says:

    Greg » yes, obviously the "Ad code" textarea is for the ad code (for example, the javascript for Adsense). Yes, it works on 2.2.3. It doesn't care if your blog uses widgets or not, the plugin does not use widgets. If your context rule seems to fail, it's probably because you screwed the display rules. When an ad is not displayed, an HTML comment is printed in the page so you can't see why it didn't display (ad not found, display rules tell not to display, etc…)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?