StarBuG
10-10-2007, 10:00 PM
Hi
To continue my Adsense modification series I decided to make my blog placements public.
What this hack does:
This hack adds a small square 200x200px Adsense Banner into the Blog navigation on the left below blog options and above blog search
Install:
In Template blog_sidebar_user search for:
$blogrules
and add below:
<div class="tborder" style="margin-top:$stylevar[cellpadding]px">
<!-- 200x200 small square in blog navigation -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "F5F5FF";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text";
google_color_border = "354F81";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- 200x200 small square in blog navigation -->
</div>
In Template blog_sidebar_generic search for:
<a href="blog_usercp.php$session[sessionurl_q]">$vbphrase</a>
</div>
</if>
</div>
</div>
and add below:
<div class="tborder" style="margin-top:$stylevar[cellpadding]px">
<!-- 200x200 small square in blog navigation -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "F5F5FF";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text";
google_color_border = "354F81";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- 200x200 small square in blog navigation -->
</div>
Now you just need to customize the adsense code marked with:
<!-- 200x200 small square in blog navigation -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
DEMO: http://www.patientenfragen.net/blog.php
Please click install and leave feedback, if you use this mod. THX
StarBuG
[B]If you did not register for an Adsense account yet but you plan to, feel free to contact me. If you register via my referral I am willing to help you get the most out of your adsense placement by assisting you during the setup process and implementing the best adsense modifications. Just write me a Private message.
To continue my Adsense modification series I decided to make my blog placements public.
What this hack does:
This hack adds a small square 200x200px Adsense Banner into the Blog navigation on the left below blog options and above blog search
Install:
In Template blog_sidebar_user search for:
$blogrules
and add below:
<div class="tborder" style="margin-top:$stylevar[cellpadding]px">
<!-- 200x200 small square in blog navigation -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "F5F5FF";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text";
google_color_border = "354F81";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- 200x200 small square in blog navigation -->
</div>
In Template blog_sidebar_generic search for:
<a href="blog_usercp.php$session[sessionurl_q]">$vbphrase</a>
</div>
</if>
</div>
</div>
and add below:
<div class="tborder" style="margin-top:$stylevar[cellpadding]px">
<!-- 200x200 small square in blog navigation -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "F5F5FF";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text";
google_color_border = "354F81";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- 200x200 small square in blog navigation -->
</div>
Now you just need to customize the adsense code marked with:
<!-- 200x200 small square in blog navigation -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
DEMO: http://www.patientenfragen.net/blog.php
Please click install and leave feedback, if you use this mod. THX
StarBuG
[B]If you did not register for an Adsense account yet but you plan to, feel free to contact me. If you register via my referral I am willing to help you get the most out of your adsense placement by assisting you during the setup process and implementing the best adsense modifications. Just write me a Private message.