i require a hack

This little template modification allows you to put an Ad inside the post with Text wrapped around the Ad.


In postbit template replace

PHP:
 <!-- message -->
  <div id="post_message_$post[postid]">$post[message]</div>
   <!-- / message -->

With

PHP:
        <!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1)) and ($show['guest'])">
<span style="margin: 2px; float: right; width: 301px; height: 251px;">
        ADSENSE CODE HERE
</span>
</if>
    <div id="post_message_$post[postid]">$post[message]</div>
              <!-- / message -->

* you will have to replace ADSENSE CODE HERE with the actual code.
* The code is for 300 * 250 Medium Rectangle Format,Edit width & height parameters if you want to use any other format.
* Ad is shown on the first and last post (modify if you want)
* Ad is shown to guests Only ( remove "and ($show['guest'])" to show to all)

Version History:
v 1.0.1 :Ads displayed after the first post on every page (instead of just the first page)
 
Back
Top