Don't know y, it messed up the percents... the displayed figures is 1000 times greater than what it should be...
So I have to change to these:
Code:
$statscache['topposterpercent'] = round(($topposter[posts] / ($totalthreads + $totalposts)) / 10, 2);
$statscache['topthreadspercent'] = round(($topstarter[count] / $totalthreads) / 10, 2);
Or either remove:
Code:
$totalthreads = vb_number_format($totalthreads);
$totalposts = vb_number_format($totalposts);
From the index.php, for it to work right... anyone have the same problem?