I would like this hack please.
Basically want to automatically add new members into a secondary usergroup.
I've looked in register.php are found the following at Line 286 (v3.0.7): -
PHP Code:
// assign user to group 3 if email needs verification
if ($vboptions['verifyemail'])
{
$newusergroupid = 3;
}
else
{
if ($vboptions['moderatenewmembers'] OR $_POST['coppauser'])
{
$newusergroupid = 4;
}
else
{
$newusergroupid = 2;
}
}
This seems to be the place to set the secondary usergroup access but I don't know how.
Any ideas?
C: