Quote:
Originally Posted by ataraxia
Yes
(Plus I also need to update all of my exisiting userrs, as well.)
|
If you require users to activate emails, the code you are looking for in register.php is here:
Code:
if ($userinfo['coppauser'] OR ($vboptions['moderatenewmembers'] AND !$userinfo['posts']))
{
// put user in moderated group
$user['usergroupid'] = 4;
}
if (empty($user['usergroupid']))
{
$user['usergroupid'] = 2; // sanity check
}
If you are going to change their primary group, simply add:
Code:
if ($userfield['field16']=='yes') // change this to suit you
{
$user['usergroupid'] = 12; // change this to suit you.
}
If you want to add them to a secondary group, the code will be different, but it will go in the same area.