GOOGLE ADSENSE

Does anyone know how to change the visibility of GOOGLE ADS when  a member is not logged in? I only wish the ads to be visible when a member is logged in (D7.04). Does anyone know how to do this?

Quote · 7 Mar 2011

 

Does anyone know how to change the visibility of GOOGLE ADS when  a member is not logged in? I only wish the ads to be visible when a member is logged in (D7.04). Does anyone know how to do this?

if( getLoggedId() ) {

echo 'draw google ADS';

}

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 7 Mar 2011

Where exactly do I need to insert this piece of coding for it to work please?

Quote · 7 Mar 2011

Bump Please...

Where exactly do I need to insert this piece of coding for it to work please?

Quote · 7 Mar 2011

pls wait. look on the time! the most are sleeping. there live in a different time-zone!

best regards!

--- call me asa! ;-)
Quote · 7 Mar 2011

 

Bump Please...

Where exactly do I need to insert this piece of coding for it to work please?

Before I will get answer to you I must ask you where are you want add ADS block? get some screen shot here

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 7 Mar 2011

I have the ad spots in the top and bottom positions of every page. Top Banner hard coded in the sub_header file and the bottom banner through the dolphin default banner system. Other spots in the interior pages - placed by used of the Dolphin Default HTML BLOCKS.

Quote · 7 Mar 2011

Does this code snippet need to be applied to a particular file or to the Google Adsense code itself?

Quote · 8 Mar 2011

Bump... Will this same code work for ADBRITE Ads also. They utilize HTML code as well to display their ads. How can I hide those when a member is not logged and make visible when logged? What file do I place the code in?

Quote · 14 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.