Yes this is updated.. I remeber the old one that was made *memories*.. but the code has changed. So here it is in living color.
I thought this would be usefull since a few people have asked about it.
##### In admin/function.php find ( around line 1967) #####
PHP Code:
if (is_array($userpostcount)) {
while(list($postuserid,$subtract)=each($userpostcount)) {
$DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'");
}
}
### and replace with ###
PHP Code:
// if (is_array($userpostcount)) {
// while(list($postuserid,$subtract)=each($userpostcount)) {
// $DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'");
// }
// }
##########
##### now shortly under it find ( around line 1996 ) #####
PHP Code:
if ($countposts) {
$DB_site->query("UPDATE user SET posts=posts-1 WHERE userid='$postinfo[userid]'");
}
### and replace with ###
PHP Code:
// if ($countposts) {
// $DB_site->query("UPDATE user SET posts=posts-1 WHERE userid='$postinfo[userid]'");
// }
##########
Enjoy.