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)

 

http://www.adsense4phpbb3.com/1.htm

 

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

 

REMEMBER TO CHANGE THE GOOGLE ADSENSE ID (google_ad_client) TO YOUR OWN ID FROM 'pub-xxx'

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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

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