![]() |
Query for forum(s) thread count
I would like to display the thread count for one or more forums in my "Articles" page which is a modified "showgroups" page (3.6.x).
Currently the number assigned to "Available Articles:" is hand coded and I'm trying to automate the process. I'm would also like to display the number of threads in each forum next to the respective category. Does anyone know what query(s) I could use to do this? Thank you for any help you can offer. :) |
Quote:
PHP Code:
|
Quote:
I tried adding this code to the template without success: {$vbulletin->forumcache[$forumid == 167][threadcount]} |
Quote:
$vbulletin->forumcache[167][threadcount] I used $forumid because I assumed you were using some kind of template_bit to generate the forum links. |
Quote:
|
Probably need to play around with quotes and braces
30 seconds with google later, I found this... https://vborg.vbsupport.ru/showthread.php?t=98009 Code:
Object-Type" Variables ($vbulletin->GPC['somevar']). |
Thank you for your help. I do appreciate it.
|
All times are GMT. The time now is 06:45 AM. |
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:
|