I have searched high and low and only found mods that do not seem to be supported or coded well. In phpbb2 you simply edited .tpl files and went on your way. In phpbb3 I have found multiple sources quoted as saying to simply edit overall_footer or overall_header files but this does not work. I am looking to find out how to simply add phpbb3 adsense banners to my forum. Does anyone know how to do this? I do not want to use a mod.
edit overall_header and overall_footer in the template then go to ur ACP and purge cache. hope that helps
I am a new webmaster and recently started my forum with PHPBB3 - subsilver2 style. I do not know coding. Did some searching and tried to combine a few things here and there. This is what I did to have 2 rows of text advertisments after the first post. Now my ads look ok (atleast to me, I use firefox ). You can have a look at here. http://www.indianjobtalks.com/forum/index.php In the viewtopic_body.html template of subsilver2 (which is set as default style and other styles are deacticvated) above the line "<!-- END postrow -->" I pasted the following code: --------------------------Code begins------------------------- <!-- IF postrow.S_FIRST_ROW --> <table class="tablebg" width="100%" cellspacing="1"> <tr class="row2"> <td align="center" valign="middle"> <b class="postauthor" style="color:#1845ad;"> G<span style="color:#ad1400;"> o</span> <span style="color:#c69e00;"> o</span> g<span style="color:#31b639;"> l</span> <span style="color:#ad1400;"> e</span> </b> </td> <td width="100%" height="25"> <table width="100%" cellspacing="0"> <tr> <td class="gensmall" width="100%"> </td> </tr> </table> </td> </tr> <tr class="row1"> <td valign="top" class="profile"> <table cellspacing="4" align="center" width="150"> <tr> <td align="center"> </td> </tr> </table> </td> <td valign="top"> <table width="100%" cellspacing="5"> <tr> <td> <div class="postbody"> <--Google adsense code here--> <--Google adsense code here--> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#D1D7DC" colspan="2" height="1"> </td> </tr> </table> <!-- ENDIF --> --------------------------Code Ends------------------------- Do not forget to purge cache from ACP. I suggest you try this. It may work. Hey, I do not know coding, so don't ask me anything technically. Regards, munnakv
To install Google Adsense to your phpBB3, go to unclestinkstradingpost.com/phpbb3index.html for full instructions.
Thank you for posting that. Its good for posting adds in the body. Here's something I tried for the sidebar. www.adobe-masters.com/dreamweaver/how-to-insert-adsense-into-phpbb3-theme-dreamweaver-assist
Hey thanks alot but how do i pass the template at sub silver i cant find how to go to page header or footer zzz....
In your case, go to styles/subsilver2/template/overall_header.html and overall_footer.html Cheers, MM