SittingDuck wrote on May 28
th, 2003 at 5:03pm:
I've been curious about this ever since I saw it in the members section here....And I can finally use it! However, it doesn't appear to be compatible with KarmaV11B2 by Iceberg...
A manual installation will propably do the trick.
Quote:Thanks for this great mod. But I have a little problem. All the users on my board have got a valid reg dates but for some strange reason the "posts per day" is set to zero on every members profile pages. Have you got an idea what it can be??
Either your calcdifference sub in Subs.pl doesn't work as it is supposed to (maybe changed by a mod?) or the date is set wrong on your server.
This piece of code generates the postsperday:
$date1 = $memsettings[14];
$date2 = $date;
&calcdifference;
$result = $result + 1;
if ($result > 0) {
$postsperday = sprintf("%.2f", $memsettings[6] / $result);
} else {
$postsperday = 0;
}
Quote:Name: Admin
Posts: 21 Total Posts
150.00 % of all forum posts
0.40 posts per day
Position: Administrator
Date Registered: 04/06/03 at 12:00am
150% ?? Holy cow that's a lot...LOL
Seriously though, what can be causing this obvious error?
Could have several reasons. For example if you copied your admin account from an old YaBB, your admin might still have his old post count although the new board might have no posts at all yet. Or you have some private boards on your forum and view your admin profile as a guest. Guests don't have access to private areas and thereby, the private boards are left out when the total posts of the forum are calculated.
In the end it all results in the same: the total posts count is smaller then the post count of your user account.