Quote:
Originally Posted by SHalliday
I now have this working on VB3.54 without any problems. Have tested in IE and Firefox with QuickReply Box on. It displays the Google adsense ad after the last post when there are two or more posts in the thread. It does not display when there is only one post in the thread. Here is the code that I used:
Code:
<!-- Google Ad -->
<if condition="$post[postcount]!=1 and $post['islastshown']">
$spacer_open
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left">Sponsored Links</td>
</tr>
<tr>
<td class="alt1" align="center">
<*** ADSENSE SCRIPT CODE HERE***>
</td>
</tr>
</table>
</div>
$spacer_close
</if>
<!-- Google Ad -->
Thank you very much for the great hack and to all of you who participated in this thread. "Clicked Install"
.
|
This has been the only code that has worked on mine w/o messing the tables. Anyway to get it to show after the first post?