ok, thanks. So I guess the code I need to edit is
PHP Code:
if ($complete)
{
$userinfo = $vbulletin->userinfo;
$user['usergroupid'] = 4;
if (empty($user['usergroupid']))
{
$user['usergroupid'] = 2;
}
Could you explain how I would configure this. The numbers at the end reference the usergroup id, but what do the 2 variables corrolate to?
EDIT: I worked out that
PHP Code:
$user['usergroupid'] = 4;
moves a user to a new usergroup. However, I am unsure how to add a additional usergroup, and not make them change their primary