Jump to content
groovyPost Forums

Adding AdSense Code to your PHPBB3 Forum

Guest BioRunUp

Recommended Posts

Guest BioRunUp

OK, I found a link, but they add their own junk, so here is my edited version, the post below is for your View_Topic page, but use the instructions from this link to add to search results and other areas of your page:


You can see the example on my forum at http://www.BioRunUp.com/forum/ (once it goes live)




1. Go to your Administration Control Panel. Click on STYLES, then on Themes and then click on Edit, near the

your template. On bottom paste:


a body {

max-width: 1024px;

margin: 0px auto;


ul.forums1 {

background-color: #cddeee;


li.row1 {

border-top: 1px solid #FFFFFF;


dd.mali span {

display: block;

padding-left: 10px;


dd.veliki span {

display: block;

padding-left: 10px;



2. Choose viewtopic_body.html Template file.


3. In template editor find


4.1. Before insert code:


google_ad_client = "pub-xxx";

google_ad_width = 728;

google_ad_height = 90;

google_ad_format = "728x90_as";

google_ad_type = "text_image";

google_ad_channel = "";

google_color_border = "cddeee";

google_color_bg = "cddeee";

google_color_link = "10508b";

google_color_text = "4a5d73";

google_color_url = "ac0000";



4.2. If you want to add Adsense Ads on bottom paste the same code after



Link to comment
Share on other sites

Well.... no one likes Ads BUT, I can imagine with your level of traffic, it was just a matter of time before you needed to put up some ads here in the forum.


For what it's worth, I think they look pretty good. Not that annoying. Why don't you setup a DONATE button here or there?

Link to comment
Share on other sites

gotta pay the bills I guess. :) :)


BTW - that's old adsense code. You should upgrade with the new adsense code.


I like the CSS tho. Cool borders.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 2 Guests (See full list)

    • There are no registered users currently online
  • Create New...