In functions_databuild FIND
PHP Code:
function delete_post($postid, $countposts = 1, $threadid = 0, $physicaldel = 1, $delinfo = NULL)
{
BELOW that ADD
PHP Code:
$countposts = 0;
In functions_databuild FIND
PHP Code:
function delete_thread($threadid, $countposts = 1, $physicaldel = 1, $delinfo = NULL)
{
BELOW that ADD
PHP Code:
$countposts = 0;
Then the post count should not change when you delete a post/thread.