When you fork a topic, the post's count of each users is not incremented depending number of post of each users.
-Create a new topic with user01. (user01 got +1 post on his counter)
-Fork this topic using moderation tool (user01 will not got +1 post on his counter)
-Delete the copied topic (user01 got -1 post on his counter)
User has now 0 post on his counter even with the first topic manually writed.
'post_postcount' => 0,
'post_postcount' => (int) $row['post_postcount'],
$db->sql_query('INSERT INTO ' . POSTS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
$sql = 'UPDATE ' . USERS_TABLE . '
SET user_posts = user_posts + 1
WHERE user_id = ' . (int) $row['poster_id'];