The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ad after every sixth post
Hello
I want to put an ad after every 6 post, to be shown only if the split page has 9 posts. This code: Code:
<vb:if condition="$post[postcount] % $vboptions[maxposts] == 6 AND $GLOBALS[threadinfo][replycount] > 8"> If i split my pages on every 20 posts and the thread has 27 posts, the ad will be shown on second page. But on second split page are only 7 posts - i don't want to show it. Please, help with code. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|