Hide Adsense from logged in users and on non article pages

Use this forum to ask questions about how to do things with my MediaWiki Extensions.

Hide Adsense from logged in users and on non article pages

Postby AAadvisor » February 24th, 2010, 8:17 pm

Hello,

Is there a way to hide ads when a user is logged in or a page is edited/other non article pages such as the 'preferences' page are being viewed?

I thought showing ads on these other pages and when logged in breaks the google adsense agreement.

Also i do not want to accidenally click on my ads whil editing a page and get banned for this reason.

Thanks
User avatar
AAadvisor
Rank 1
Rank 1
 
Posts: 7
Joined: January 6th, 2010, 8:28 pm

Re: Hide Adsense from logged in users and on non article pages

Postby Paul » February 28th, 2010, 11:51 pm

Then you need to modify the extension, to have check if the user is logged in or not....
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm


Return to MediaWiki Extensions 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron