![]() |
Better alternative to reply count?
Hi,
I'm currently using PHP Code:
Is there a conditional I could use that would avoid this, i.e one that could consider how many posts are actually showing on the current page in a showthread? |
Off the top of my head, you going to need the $perpage variable on showthread, which is already registered to the template. Obviously, you will need to divide ($threadinfo[resultcount] / $perpage) and handle it correctly, but I have not looked at the code as of yet. When I get a chance I will do so.
Code:
// Hook: postbit_display_complete |
Thanks a lot for that :)
|
All times are GMT. The time now is 03:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|