I tried this and I get an ad in the first post in the first page of a thread and in the last post in every page of a thread.
I'm looking for a way to get an ad to show in the first post on every page AND the last post on every page.
Any ideas?
Edit Add: I've got
Code:
<!-- Start AdSense Google within post message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1) or ($post[islastshown]))">
<span style="margin: 2px; float: right; width: 301px; height: 251px;">
GOOGLE ADSENSE CODE HERE
</span>
</if>
<div id="post_message_$post[postid]">$post[message]</div>
<!-- End AdSense Google within post message -->
to work, but if someone uses the 'quick edit' on a post with adsense in it (first or last post in a thread), the ajax of Quick Edit kicks in but the google ad that is there is superimposed over part of the editing box....
Quote:
Originally Posted by GiaNNi
Thanks, im trying to insert it
What is !$GLOBALS['vbulletin']->GPC['ajax'] for?
|
I echo this question.