I don't require e-mail, COPPA registration, image verification, nor birthday's ro register. I just changed the not requiring birthday and am hoping that this alleviates the problem I'm having, but for some reason or other a few people have been thrown into that COPPA group up on registration. Any ideas?
Here's my PHP code verbatim from my DB:
PHP Code:
// RANDOM USERGROUP HACK by dstruct2k
// Replace "999" with the usergroupid's of your randomized groups.
// Add extra groups if required.
$rndgroups = array(
'10',
'11',
'13');
$rndid = $rndgroups[rand(0,count($rndgroups) + 1) - 1];
// 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 = $rndid;
}
}
// END RANDOM USERGROUP HACK by dstruct2k