This entry was posted on Thursday, May 29th, 2008 at 8:20 am and is filed under How to put Google Adsense in PHPbb3, Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Site Search:
May 29, 2008
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>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 = “200×90_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 = “728×90_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!!
read comments (0)
Related Posts
Leave a Reply
You must be logged in to post a comment.


