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.
Post Reply
User avatar
AAadvisor
Rank 1
Rank 1
Posts: 7
Joined: January 6th, 2010, 8:28 pm

Hide Adsense from logged in users and on non article pages

Post by AAadvisor »

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
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

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

Post by Paul »

Then you need to modify the extension, to have check if the user is logged in or not....
Post Reply