View Full Version : Count Threads In Forum
Shamil.
02-09-2009, 09:12 AM
How do I count the threads in a given forum?
I thought about simply querying the database but vBulletin does it already.
Regards :)
Dismounted
02-09-2009, 10:09 AM
Look in index.php around line 570 (also note that you must fetch "forumcache" from the datastore.
Marco van Herwaarden
02-09-2009, 10:31 AM
The threadcount is already available in the $foruminfo array IIRC.
Shamil.
02-09-2009, 12:55 PM
Ive been digging around but there is no clear answer.
Could someone show me how to just show the thread count of forum ID 1 for example.
Im a bit lost :|
Lynne
02-09-2009, 03:36 PM
See this thread around post 10 - Forum Post Count (https://vborg.vbsupport.ru/showthread.php?t=201682&highlight=forumcache)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.