Lionel
03-16-2002, 05:05 PM
I'd like at registration have users choose from an option list and depending of the choice, that will determine their group id automatically. How would I code that in register.php?
instead of $newusergroupid=2;
something like :
$newusergroupid={form groupid};
______________________________________________
in order to simplify the process, I am willink to forget about the verify email part, unless someone tells me how to handle that, once the email has been verified, to insert it into the pre-chosen group.
_________________________________________
if ($verifyemail) {
$newusergroupid=3;
} else {
if ($moderatenewmembers or $coppauser) {
$newusergroupid=4;
} else {
$newusergroupid=2;
}
instead of $newusergroupid=2;
something like :
$newusergroupid={form groupid};
______________________________________________
in order to simplify the process, I am willink to forget about the verify email part, unless someone tells me how to handle that, once the email has been verified, to insert it into the pre-chosen group.
_________________________________________
if ($verifyemail) {
$newusergroupid=3;
} else {
if ($moderatenewmembers or $coppauser) {
$newusergroupid=4;
} else {
$newusergroupid=2;
}