hiding ads for members

Aug 2, 2008 at 5:58 AM
I tried searching the forms for this and I could not find an answer. I want everyone to be able to register for my website for free, but I would like to offer the ability to hide all the ads on my site for a small fee. The ads are built into the templates so I would need a way to tell if they had bought a plan from the template level. Do you offer a tag like that [pay] tag that works in the templates?
Aug 2, 2008 at 7:10 AM
Hi Ryan,

Well, there are easy and complex ways to do this.  The easy way is to create a custom plugin that will detect if the current user is a current paid subscriber and, if so, use a little bit of javascript to hide the ads.  Another slightly less easy way is to create a custom plugin that will detect if the current user is a paid subscriber and, if not, write in the code to display the ads.  A third way is to have a complex system involving modifying the theme itself - as you suggest.

I had to create a plugin of my own that works somewhat similarly to the first option.

Good luck!

PDR