Friends, I need some help to setup the google adsense in one of my phpbb 3.0 forums. so i would like to hear your suggestions about that. the site is for the entire IT community ( the name looks Indian, but this site is for all IT professionals ) my site is indianitforum.com Thanks in advance.
Well it's not really that hard. I've put in Adsense in my PHPBB3. The Adsense is actually a simple script I found PHPBB3 forum. Try to search in there.
I suggest you include the adsense code in the header section. Open up header.php in the includes folder of your theme, and paste the adsense code there....
thanks for your suggestions and appreciating it. i want to put a single one line advt in the title or footer bar of each post. any idea on how to make it possible?
I would advise against putting it in every post. This will not win you any friends and drive down membership. People really do not like having the flow of conversation interrupted with too many ads. Another reason for not putting ads after each post is that the script needs to access Google ad servers for each call. You could see your board slow down, way, way, way down. Usual place is to insert it immediately following the original post or the first post of the page. But this will require some special logic to limit it to just that location. PhpBBHacks.com may have a mod for that type of thing. If you want to add it to the top of your pages, and right before the content of the page itself, look at inserting the code in your index_body, viewforum_body, and viewtopic_body template files (.tpl) Otherwise, the quick and easy way is to add the code to your overall_header.tpl file. But this spits out ads on every single page of your site, and sometimes that is not desirable especially if it is a registration page
@Dodger, Thank you so much for your detailed reply. and i think your suggestions are valid and thanks for sharing it with me. let me try it and i will let you know the details. Thanks once again for your help.
Here is a Mod that will insert your adsense code as a post immediately following the original post. http://www.freakitude.com/2007/02/22/adsense-ads-in-phpbb-forum-topics/ This will blend in fairly well, and may generate more clicks from se referrals landing on your topic. I think it may tee off some of your members having to look at it all the time. Perhaps hacking this mod may be order to overcome that, like not showing the ad post for logged in members?
Thanks @ Dodger, you are so helpful... I read that blog but the link they put to the download the Mod is not working.
Ah heck. Check out http://phpBBhacks.com ... do a search for it over there for adsense mods. Even though some are for phpBB 2, they can probably be adapted to version 3 with a little effort. One I found, looks like it might be up your alley http://lithiumstudios.org/forum/viewtopic.php?f=31&t=579
Hello modspice. Take a look here: http://www.phpbb.com/community/viewtopic.php?f=71&t=1165925&p=6882105 here: http://www.phpbb.com/community/viewtopic.php?f=70&t=552813 and here: http://www.phpbb.com/kb/article/advertisements-in-phpbb3/ Good luck