homepage Welcome to WebmasterWorld Guest from 54.167.41.199
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
Adsense only to guests?
How do I do this in phpbb?
Bates




msg:3031005
 4:25 am on Aug 2, 2006 (gmt 0)

I have one unit on my forum that shows up as if it's the first post in each sectino, and I'd like to show it only to guests. How can I do this in phpbb?

 

caran1




msg:3031040
 5:22 am on Aug 2, 2006 (gmt 0)

Use different templates for logged in visitors and guests. The Adsense mod should be added only to template for guests

Gibisan




msg:3031113
 6:40 am on Aug 2, 2006 (gmt 0)

Update your template (eg overall_header.tpl) with the user logged out tags and adsense code.

<!-- BEGIN switch_user_logged_out -->

adsense code here

<!-- END switch_user_logged_out -->

PHPBB checks this switch code and will only process when a user is not logged in.

Bates




msg:3031486
 2:13 pm on Aug 2, 2006 (gmt 0)

Awesome! Thanks guys!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved