MyBB Hacks

Full Version: Thread count on current forumdisplay page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,
I've been trying to figure out the code to use to determine the number of threads listed on the CURRENT forumdisplay page.  

For example, the following if statement can be used to determine the number of posts on a CURRENT showthread page:

PHP Code:
<if ($GLOBALS['postcount'] - $GLOBALS['start']) >= 4 then>


What would be the equivalent for the CURRENT forumdisplay listing?

Try replacing the postcount with threadcount
Weird.  I did make that switch earlier, but it didn't seem to work (I thought that variable might not be valid).  Maybe a cache issue..

Thank you very much for your help!
Reference URL's