Adsense4phpBB3.com
Instructions for
adding Adsense and more to your phpBB3

Another
important place to put Adsense Ads on your phpBB3 forum is viewforum.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 viewforum_body.html Template
file.
4. In template editor find
<!--
INCLUDE forumlist_body.html -->
4.1. Before <!-- INCLUDE
forumlist_body.html --> 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><a href="http://www.adsense4phpbb3.com/" title="adsense"
target="_blank">Ads</a></dt>
</dl>
</li>
</ul>
<ul class="topiclist forums1">
<li class="row1">
<dl class="icon1">
<dd class="mali"><span>
<iframe src="http://www.advertiseonphpbb3.info/linkads/t.html"width=200
height=90 frameborder=0 scrolling=auto></iframe></br>
<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 same code after <!-- INCLUDE forumlist_body.html
-->
5. In template editor find
<!--
IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
and after
that paste same code
5.1. In template editor find
<!--
IF topicrow.S_LAST_ROW --> Leave
</ul>
<span
class="corners-bottom"><span></span></span></div>
</div>
and after that, just before <!--
ENDIF --> paste same code.
REMEMBER TO CHANGE THE GOOGLE ADSENSE
ID (google_ad_client) TO YOUR OWN ID!!
Adsense in viewforum
This is for Prosilver ONLY!!
If you've found this to be of any
value to you, we'd greatly appreciate a link back to us from your board.
Adbrite examples
Adsense examples