The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Get current amount of posts shown on a page
I'm working on a conditional which runs in the "global_start" hook which sets up adverts for the page.
One of the things I am doing, push advert banner data into the ad_location_showthread_afterqr template, but ONLY if there are more than 2 replies shown on the page. The code: PHP Code:
As I don't have access to the $post parameter at that time, I can't do a count (can I?) so does anyone know the code I need? Psuedo like: If more than 2 replies shown on THIS page, then set X=Y Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|