Open root/newthread.php
Find:
Code:
$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
}
Replace with:
Code:
$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+10,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
}
Open admin/functions.php
Find:
Code:
if (is_array($userpostcount)) {
while(list($postuserid,$subtract)=each($userpostcount)) {
$DB_site->query("UPDATE user SET posts=posts$subtract WHERE userid='$postuserid'");
}
}
add below:
Code:
if (!empty($userpostcount)) {
$DB_site->query("UPDATE user SET posts=posts-9 WHERE userid='$postuserid'");
}
It says [high]-9[/high], as the query above it will reduce the user's post count for the amount of posts in that thread that they made, so the first post will be counted as 1 post, so to make it remove 10 you have to subtract the 1 which was already removed, leaving you with 9 to remove afterwards

I have also made it check that the User's post count is not 0, and if it is, it will not run that query...
It should all work
Satan