Adsense Inside the Post
This little template modification allows you to put an Ad inside the post with Text wrapped around the Ad.
See Screenshot.
In postbit template
replace
Code:
PHP Code:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
With
Code:
PHP Code:
<!-- 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)
Tip: To remove quote button for guests.
Replace
Code:
PHP Code:
<if condition="$post['replylink']
with
Code:
PHP Code:
<if condition="$post['replylink'] AND $show['member']">