FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Google Adsense and phpBB





Josso
Ok, like Frihost (when you are logged out) I wanted to have a few Google ads below the first post in a topic. I looked at the phpBB knowledge centre and it explains how to do this on BB2. However that's the whole point - how does Frihost achieve it so that you only see the ad's when your logged out? Is it bundled with the entirely different template or is there some code that see's that you are logged out and does not display it?

Thanks,
Joss
catscratches
I guess that they have a function that checks if you're logged in and then it allows you to Post Replies and so on. You can use the function to check if you're logged in and then it doesn't show the ad.
Josso
No matter, I found the answer. Thanks for your help anyway though. If your curious...

Code:
<!-- IF not S_USER_LOGGED_IN -->


Code:
< Your adsense code here! >


Code:
<!-- ENDIF -->
Related topics
Yahoo! publisher, an alternative to Google AdSense
Google Adsense - *OFFICIAL THREAD*
Frihost n Google Adsense
Way to make lots of Money!!! Google Adsense
Trojan Emits Bogus, Risqu้ Google AdSense Ads
Anyone know a source for ad's that pay.
Google AdSense
Google Adsense Problems?
google adsense
Google Adsense
[var] Publicidad
Google Adsense vraagjes
Google Adsense Fix!! Display better ads!!! no hacker ads!!!
Do you know program similar to google adsense??
Google AdSense Question
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.