Page 1 of 1

adsense only for anonymos ?

Posted: September 27th, 2011, 12:51 pm
by manshadow
is it possible to show the adsense only for not anonymus ?
logged in users should not see ad. is it possible ? whats to do ?

Re: adsense only for anonymos ?

Posted: September 27th, 2011, 9:07 pm
by Paul
Yes... you could. You need to add logic to it.

Re: adsense only for anonymos ?

Posted: September 28th, 2011, 1:19 am
by manshadow
thanks paul for the answer..
I dont know what is logic ?

do you mean this http://www.mediawiki.org/wiki/Extension:WikiLogic ?

I need to install this ?

kindly regards
manshadow

Re: adsense only for anonymos ?

Posted: September 28th, 2011, 10:12 am
by Paul
No... not the extension, you need something like this:

Code: Select all

		<?php if( !$this->data['loggedin'] ) { ?>
			...Your Ads...
		<?php } ?>