$db->query(" UPDATE ". TABLE_PREFIX ."user SET posts = (posts + 1) WHERE userid = ". $vbulletin->userinfo['userid']);