StarBuG
09-09-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 standard 468x60px Adsense Banner below a Blog Entry and above the Comments.
Install:
In Template blog_show_entry search for:
<else />
<a href="blog_subscription.php?$session[sessionurl]do=subscribe&b=$bloginfo"><img src="$stylevar/blog/newspaper_add.gif" border="0" class="inlineimg" alt="$vbphrase[subscribe_to_blog_entry]" /></a>
</if>
</if>
</div>
</div>
and add below:
<br />
<!-- 468x60 Banner after Blog Entry -->
<div style="border: 2px dashed rgb(11, 25, 140); padding: 8px; background: rgb(245, 245, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; font-size: 80%;">
<center>
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "E5EAEB";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "22229c";
google_color_url = "22229c2";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</div>
<!-- 468x60 Banner after Blog Entry -->
Now you just need to customize the adsense code marked with:
<!-- 468x60 Banner after Blog Entry -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
If you have the "Template Modification System" (TMS) installed, I have attached a TMS XML for you. Remember to do the changes!
DEMO: http://www.patientenfragen.net/blog.php?b=2
Please click install and leave feedback, if you use this mod. THX
StarBuG
[I][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 standard 468x60px Adsense Banner below a Blog Entry and above the Comments.
Install:
In Template blog_show_entry search for:
<else />
<a href="blog_subscription.php?$session[sessionurl]do=subscribe&b=$bloginfo"><img src="$stylevar/blog/newspaper_add.gif" border="0" class="inlineimg" alt="$vbphrase[subscribe_to_blog_entry]" /></a>
</if>
</if>
</div>
</div>
and add below:
<br />
<!-- 468x60 Banner after Blog Entry -->
<div style="border: 2px dashed rgb(11, 25, 140); padding: 8px; background: rgb(245, 245, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left; font-size: 80%;">
<center>
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "E5EAEB";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_color_border = "F5F5FF";
google_color_bg = "F5F5FF";
google_color_link = "22229c";
google_color_text = "22229c";
google_color_url = "22229c2";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</div>
<!-- 468x60 Banner after Blog Entry -->
Now you just need to customize the adsense code marked with:
<!-- 468x60 Banner after Blog Entry -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
If you have the "Template Modification System" (TMS) installed, I have attached a TMS XML for you. Remember to do the changes!
DEMO: http://www.patientenfragen.net/blog.php?b=2
Please click install and leave feedback, if you use this mod. THX
StarBuG
[I][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.