PDA

View Full Version : Total Threads and Posts in category bar


decipher442
10 Apr 2009, 05:29
Hi,

I am trying to make my forum categoriy bars display the total threads and posts of its sub-forums. On my forum (http://promojunkie.com/forum) I have like 5 forum categories; each having a bunch of subforums.

I came accross this forum (http://webtalkforums.com) and see they did it and would like to do it to my forum also.

From my understanding this is the php code to call total threads and posts from the forums cache...



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Does anyone know how this code can be changed so I can create a plugin with it and add it to my (forumhome_forumbit_level1_nopost) template so that I can make my category bar(s) display the total threads and posts of its sub-forums.

EXAMPLE:

________________________________________________________________________
[__Category_Title___________________________Threads: X,XXX, Posts: XX,XXX__[^]_]


** Threads: X,XXX, Posts: XX,XXX = Total amount of Threads and Post from all sub-forums of the category.
** [^] = category collapse image

Thanks in Advanced!