![]() |
output number of threads in a forum
What code would I use to output the number of threads that have been posted in a specific forum?
|
It depends on where you are going to use the "number of threads" - what template? You can try $forum[threadcount]
|
it will be inside a vb cmps module
|
I don't know anything about that, so I can't help out, sorry.
|
I know some PHP but wouldn't the thread count be in SQL maybe displays as Thread_IDs can't you just find that in the sql and have Hey forum we current have $x_threads how about that? but by setting up the sessions by yourself (or if they already have them set up)?
Try checking the forum statics code and look what code they are using for the x_amount of threads and try using that code, but again you might need to set the sessions up on the CMS. |
There may already that information in the datastore - have a look at "forumcache" inside the datastore.
|
All times are GMT. The time now is 01:53 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:
|