Ok using that info this is the php line I came up with:
PHP Code:
$vbulletin->db->query_write("UPDATE user SET usergroupid = '9' WHERE userid = '" . $username . "' LIMIT 1");
$username actually defines the userid#.. i've checked to make sure its right through an $echo statement beforehand..
anyways, this just doesnt work, this is the error I keep getting..
Fatal error: Call to a member function on a non-object on line 37