I'm sorry for that. It's my fault, since I took a code from another hack, without testing it first... Anyway, the attachment was updated (v2.1), and if you already installed v2.0, just make this small modification:
Open
admin/misc.php, and look for:
PHP Code:
// Add post counter column to post table, if needed
$DB_site->query ("SELECT postcount FROM post LIMIT 1");
if ($DB_site->errno)
$DB_site->query ("ALTER TABLE post ADD postcount int unsigned not null AFTER userid");
Change it to:
PHP Code:
// Add post counter column to post table, if needed
$col_exists = $DB_site->query_first ("SHOW columns FROM post LIKE 'postcount'");
if (!$col_exists)
$DB_site->query ("ALTER TABLE post ADD postcount int unsigned not null AFTER userid");
As for your question, update-post-counters.php is no longer needed, as long as the above change is applied.