$uid_ps = $vbulletin->userinfo['userid']; $query = "UPDATE characters SET mgroup = 11 WHERE id = $uid_ps";