ok I installed this mod, it is decent, but it has a ton of silly errors. The attachment has the corrected adsense_admin.php file for you.
Furthermore, if you place the code given in the readme file, your advertisement will not be shown to registered members. If you would like it to be shown to your members as well, place this code:
Quote:
<if condition="$post[postcount] == 1">
<if condition="$show['spacer']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" $scrolltothis style="font-weight:normal">
Revenue Sharing Ads (
<a href="./showthread.php?p=POSTID">?</a>):</td>
</tr>
<tr>
<td class="alt1" style="padding:0px">
<div class="smallfont" align="center">
<script type="text/javascript"><!--
google_ad_client = "$post[ad_client_id]";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="$post[ad_channel]";
google_color_border = "F6F6F6";
google_color_bg = "F6F6F6";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td>
</tr>
</table>
<if condition="$show['spacer']">
</div>
$spacer_close
</if>
</if>
|
I have installed this mod and you can see it in effect on my forums:
http://forums.arcadewebmasters.com/
P.S.
I've also uploaded showthread.php which is running on vB 3.6.0
Your welcome