Quote:
Originally Posted by Dorign
Well for someone who's got a huge, fast web server, queries aren't a problem.  Would anyone be interested in coding this for me? :alien:
|
From memory find in vbindex.php:
PHP Code:
unset($userstats);
Under it add:
PHP Code:
cache_ordered_forums(1);
// get total threads & posts from the forumcache
$totalthreads = 0;
$totalposts = 0;
if (is_array($forumcache))
{
foreach ($forumcache AS $forum)
{
$totalthreads += $forum['threadcount'];
$totalposts += $forum['replycount'];
}
}
$home['totalthreads'] = vb_number_format($totalthreads);
$home['totalposts'] = vb_number_format($totalposts);
That should do the trick, just uncomment the HTML you previously posted and it should show the correct stats.