The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I modify this code?
I know how to put in the code for posting something after the first post on a page by using
Code:
<if condition="!$GLOBALS['FIRSTPOSTID']"> Thanks, Parker |
#2
|
||||
|
||||
If you look at the postbit template, you'll see that this variable is used to count the posts - $post[postcount]
|
#3
|
|||
|
|||
Ok,
But what I am wanting to do is when someone is on page one they will see what I want displayed after the fifth post, then on page two after the fifth post again, and the 3rd page the fifth post, etc. How would I do this? |
#4
|
||||
|
||||
Hmmm, that will be a bit more difficult because different users can have it set to show different number of posts per page. I've seen the php for that, but don't know it off the top of my head. Hopefully someone else can come post it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|