The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I have a different ad after the first postbit?
Right now I have my forum set up to show google adsense ads after the first post in each thread.
But there's one subforum where I'd like run a different ad after the first postbit. How do I go about doing this? Here's the code I'm using: Code:
</div> <!-- / post $post[postid] popup menu --> <if condition="$post[postcount] % $vboptions[maxposts] == 1"> </div> $spacer_close </if> <!-- / post #$post[postid] --> <if condition="$post[postcount] == 1"> $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"> BANNER CODE HERE </td> </tr> </table> </div> $spacer_close </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|