StarBuG
07-06-2007, 10:00 PM
Hi
This is another one of my adsense modifications. I hope you like it.
What it does:
This places an adsense linkunit under the last thread on forumdisplay.
Install:
in Forumdisplay template find:
</if>
$threadbits
and add below:
</tbody>
</table>
<table class="tborder" id="threadslist" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tr>
<td class="thead" align="center" <if condition="$show['inlinemod']">colspan="7"<else /> colspan="6"</if>>
<div>
<!-- Adsense linkunit under last thread of forumdisplay start -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "405888";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "405888";
google_color_bg = "405888";
google_color_link = "FFFFFF";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Adsense linkunit under last thread of forumdisplay end -->
</div>
</td>
</tr>
You just need to customize the adsense code marked with:
<!-- Adsense linkunit under last thread of forumdisplay start -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
DEMO: http://www.elternfragen.net/forumdisplay.php?f=12
Changelog:
v1.01 - 2007/07/22: NO CHANGES, just removed my Pub-ID from the hack!
v1.01 : Fixed a display bug for Internet Explorer
v1.00 : Initial release
Please click install and leave feedback, if you use this mod. THX
StarBuG
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.
This is another one of my adsense modifications. I hope you like it.
What it does:
This places an adsense linkunit under the last thread on forumdisplay.
Install:
in Forumdisplay template find:
</if>
$threadbits
and add below:
</tbody>
</table>
<table class="tborder" id="threadslist" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tr>
<td class="thead" align="center" <if condition="$show['inlinemod']">colspan="7"<else /> colspan="6"</if>>
<div>
<!-- Adsense linkunit under last thread of forumdisplay start -->
<script type="text/javascript"><!--
google_ad_client = "YOUR PUB ID HERE";
google_alternate_color = "405888";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_color_border = "405888";
google_color_bg = "405888";
google_color_link = "FFFFFF";
google_color_text = "FFFFFF";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Adsense linkunit under last thread of forumdisplay end -->
</div>
</td>
</tr>
You just need to customize the adsense code marked with:
<!-- Adsense linkunit under last thread of forumdisplay start -->
replace "YOUR PUB ID HERE" with your pub-ID
and change the colors to fit your forum colors
DEMO: http://www.elternfragen.net/forumdisplay.php?f=12
Changelog:
v1.01 - 2007/07/22: NO CHANGES, just removed my Pub-ID from the hack!
v1.01 : Fixed a display bug for Internet Explorer
v1.00 : Initial release
Please click install and leave feedback, if you use this mod. THX
StarBuG
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.