How to put Adsense in viewtopic section of PHPbb3

phpbb logo How to put Adsense in viewtopic section of PHPbb3 Another important place to put Adsense Ads on your phpBB3
forum is viewtopic.php page. Here’s a simple guide on how to do
that.

1. Go to your Administration Control Panel. Click on STYLES,
then on Themes and then click on Edit, near the prosilver
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. Go to your Administration Control Panel. Click on STYLES,
then on Templates, and then click on Edit, near the prosilver
template


3. Choose viewtopic_body.html Template file.

4. In template editor find
<!– BEGIN postrow –>

4.1. Before <!– BEGIN postrow –> insert code:

<div class=”forabg”>
<div class=”inner”><span class=”corners-top”><span></span></span>
<ul class=”topiclist”>
<li class=”header”>
<dl class=”icon”>
<dt>EPP</dt>
</dl>
</li>
</ul>
<ul class=”topiclist forums1″>
<li class=”row1″>
<dl class=”icon1″>
<dd class=”mali”><span>
<script type=”text/javascript”><!–
google_ad_client = “pub-XXX”;
google_ad_width = 200;
google_ad_height = 90;
google_ad_format = “200x90_0ads_al”;
google_ad_channel = “”;
google_color_border = “cddeee”;
google_color_bg = “cddeee”;
google_color_link = “10508b”;
google_color_text = “4a5d73″;
google_color_url = “ac0000″;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</span></dd>
<dd class=”veliki”><span>
<script type=”text/javascript”><!–
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″;
//–>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</span></dd>
</dl>
</li>
</ul>
<span class=”corners-bottom”><span></span></span></div></div>

4.2. If you want to add Adsense Ads on bottom paste the same
code after <!– END postrow –>

REMEMBER TO CHANGE THE GOOGLE ADSENSE ID
(google_ad_client) TO YOUR OWN ID!!

Related posts:

  1. How to put Adsense in Index section of PHPbb3
  2. How to put Adsense in viewforum section of PHPbb3
  3. Avant Browser 11.6 Build 09 Beta

Leave a Reply

* Copy this password:

* Type or paste password here: