GCSkye
03-01-2009, 01:56 PM
I have noticed when you disable post count in for a forum, the forum stats in the footer also do not count those posts.
I need to have it so they continue to count posts even for forums that don't count posts count to users overall posts count.
Help would be appreciated, and I am aware this requires editing vbfiles.
http://evercube.net/images/footerstats.png
I have found the following at the bottom of the index.php file. Other than this I have found nothing relating to forum stats:
// ### BOARD STATISTICS #################################################
// 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);
// get total members and newest member from template
$numbermembers = vb_number_format($vbulletin->userstats['numbermembers']);
$newusername = $vbulletin->userstats['newusername'];
$newuserid = $vbulletin->userstats['newuserid'];
$activemembers = vb_number_format($vbulletin->userstats['activemembers']);
$show['activemembers'] = ($vbulletin->options['activememberdays'] > 0 AND ($vbulletin->options['activememberoptions'] & 2)) ? true : false;
I don't know what that is relating too but it doesn't seem to be the homepage stats.
Any help?
I need to have it so they continue to count posts even for forums that don't count posts count to users overall posts count.
Help would be appreciated, and I am aware this requires editing vbfiles.
http://evercube.net/images/footerstats.png
I have found the following at the bottom of the index.php file. Other than this I have found nothing relating to forum stats:
// ### BOARD STATISTICS #################################################
// 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);
// get total members and newest member from template
$numbermembers = vb_number_format($vbulletin->userstats['numbermembers']);
$newusername = $vbulletin->userstats['newusername'];
$newuserid = $vbulletin->userstats['newuserid'];
$activemembers = vb_number_format($vbulletin->userstats['activemembers']);
$show['activemembers'] = ($vbulletin->options['activememberdays'] > 0 AND ($vbulletin->options['activememberoptions'] & 2)) ? true : false;
I don't know what that is relating too but it doesn't seem to be the homepage stats.
Any help?