$db->query_write("UPDATE ".TABLE_PREFIX."user set posts = posts+1 where userid = ".$vbulletin->userinfo['userid']."");