The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum Post count Mod
// get total threads & posts from the forumcache
$totalthreads = 0; $totalposts = 0; if (is_array($vbulletin->forumcache)) { foreach ($vbulletin->forumcache AS $forum) { $totalthreads += $forum['threadcount']; $totalposts += $forum['replycount']; } } $totalthreads = vb_number_format($totalthreads); $totalposts = vb_number_format($totalposts); I use VBadvanced on my forum home page. I am trying to take my recent threads module and have it pull post counts from a forum instead of a thread. What I mean is this: I have a top 20 stock message boards. Each one of those 20 will be an actual forum (not a single thread) Now the question is, does anyone know how to code this correctly? It seems as if I would just have to change the code out from it pulling thread post count to forum post count yes? Thank You to anyone who can help me on this. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|