Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread count on current forumdisplay page
Kodaks Offline
Junior Member
**
Posts: 2
Joined: Jan 2013
Post: #1
Thread count on current forumdisplay page
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?

01-02-2013 04:44 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Thread count on current forumdisplay page
Try replacing the postcount with threadcount

01-02-2013 05:25 AM
Find all posts by this user Quote this message in a reply
Kodaks Offline
Junior Member
**
Posts: 2
Joined: Jan 2013
Post: #3
RE: Thread count on current forumdisplay page
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!
01-02-2013 07:20 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: