EZ Expert Website Tools

Website Tools and Website Scripts for creating EZ Expert Websites!

EZ Expert Who Sees Ads

Saturday, October 06, 2007 by Paula Fugaro

As I had mentioned previously, I had installed the fabulous Planet Ozh Who Sees Ads plugin and I wanted to set up a demo that you could see for yourself. So I tried using the built-in ‘if ad viewed <= number of views then display’ condition. But that tracks total number of views ever — not per reader.

So I modified the plugin to add a built-in ‘if ad viewed by visitor <= number of views then display’, which uses cookies to track each reader’s number of views. Just check out this demo…

I've installed it on this site for the following 336x280 block of Adsense Ads which you can only see 2 times. So go ahead and refresh your browser twice. After the second refresh, you'll no longer see the Adsense Ads...

Did you try it? Did you refresh the page 2 times? How cool was that!

Now I also wanted to use it for the 160×600 Adsense skyscraper in my sidebar, so that you’d only see the ad if you were not a regular reader (someone who has viewed at least 2 pages over the last 10 days, but I can change this definition too), or if you arrived at this site from a search engine. The only problem was, my sidebar content is set up using widgets, and this otherwise awesome plugin didn’t come with a built-in widget. :(

So I wrote my own! Yup. So if you want the widgetized version of this plugin then…

  1. Either get the original plugin and my widget to use with it:
  2. Or right-click and save as to download my widgetized EZ Expert Who Sees Ads version of the plugin.
  3. Unzip and upload them both to the wp-content/plugins directory of your blog.
  4. Go to your blog’s Admin -> Plugins and activate both plugins.
  5. Go to Admin -> Options -> Who Sees Ads and configure your ad blocks.
  6. Go to Admin -> Presentation -> Widgets and add & configure your Who Sees Ads Widget.

Let me know what you think with a comment below,
Paula.

EZ Expert Web Tools
EZ Expert Website Tools News

 

 

 

Deal of the Day

Categories

Archives

Subscribe

Members

Web Design Resources

Web Design Tutorials


 

Meta

 

proudly powered by WordPress and based on the Red Minimalista theme by Vlad -- XHTML 1.0   |   Get RSS and Comments RSS