[COLOR="Black"]
Quote:
Originally Posted by Greek76
This does not work for me period. any ideas? I did the code exactly as it was shown and added my google code inbetween no luck though. IM using 3.6.2
|
This the the code I use to place the ad after the last post. I don't like it after the first post. I feel it aggravates my members.
Place this code at the very end of your Postbit_legacy template.
This works in all versions of 3.6
Code:
<!-- Adsense After LAST Post -->
<if condition="$post[postcount]!=1 and $post['islastshown']">
<!-- GOOGLE AD -->
<br>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
Paste you Google Adsense Code Here
</td>
</tr>
</table>
</div>
$spacer_close
</if>
<!-- Google Ad -->