The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adsense Banner after PostID
Hi everyone, i have this adsense code here, which workds great the thing is iam trying to get it to show at more posts. Though useing the postcount isnt what i need, becuse if you are on page 6 for example it doesnt show them.
I would like it to show every 4 posts or so (3 banners/text a page max) So i want to sure on how to change this conditional. <if condition="!$GLOBALS['FIRSTPOSTID']"> I tryed <if condition="!$GLOBALS['SECONDPOSTID']"> Any ideas? thanks Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> $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 code here> </if> </td> </tr> </table> </div> $spacer_close </if> |
#2
|
||||
|
||||
Why not use the mod that I have done and do one under the first post then under the last one, then all you have to do is play around to get the others
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|