Actually, i'm using Thank Mod and i found this code to Increase Post Counts when Members hit the Thanks Button

Open up sources/misc/thx_machine.php:

Find:
CODE
$print->redirect_screen($ibforums->lang['redirect_thanks'],"showtopic={$this->topic_id}&st=$page&p={$this->post_id}&#entry{$this->post_id}");


Add above this:

CODE
if ($this->forum['inc_postcount'])
{
$DB->query("UPDATE ibf_members
  SET posts=posts+1 WHERE id=".$ibforums->member['id']);
}


Next, Find:
CODE
if ($this->forum['inc_postcount'])
               {
                       // Increment the bot post count
                       $DB->simple_construct( array( 'update' => 'members',
                                                     'set'    => "posts=posts+1, last_post=".time(),
                                                     'where'  => 'id='.$ibforums->vars['thank_id']
                                       )      );
                       $DB->simple_exec();
                }

and replace with
CODE
               if ($this->forum['inc_postcount'])
               {
                       // Increment the bot post count
                       $DB->simple_construct( array( 'update' => 'members',
                                                     'set'    => "posts=posts+1, last_post=".time(),
                                                     'where'  => 'id='.$ibforums->vars['thank_id'].' or id='.$ibforums->member['id']
                                       )      );
                       $DB->simple_exec();
                }




but the thing is, it only INCREASE the member's post count WHILE the BOARD STATISTIC DOESNT INCREASE THE TOTAL POST COUNTS. Can any one help me to make board statistic increase as well !