So:
fetch_session_complete
Code:
global $lowlevelundocheck;
$lowlevelundocheck = true;
global_setup_complete
Code:
global $lowlevelundocheck;
$userdata_rank =& datamanager_init('User', $vbulletin, ERRTYPE_STANDARD);
$userdata_rank->set_existing($vbulletin->userinfo);
if ($lowlevelundocheck)
{
$userdata_rank->set('usergroupid', 2);
$userdata_rank->save();
}
Unsure what I'm doing wrong, but nothing happens. It should move my test profile to usergroup ID (currently in another group)