Required fields for particular usergroup
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
If the usergroup is #4 and you fill in the fields to be required, save this as registrationchange.php in your modifications directory (create a directory named modifications if you don't have one):
See http://www.webmastersite.net/forums/comments.php?... for the original discussion.
<?php
if (strstr(currenturl(), 'register.php?filled=1') && $usergroup == 4)
{
$settings->requiredmembers = 'name,password,email,otherstuff';
}
?>
See http://www.webmastersite.net/forums/comments.php?... for the original discussion.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 08/10/06
Description: Setting different required registration fields for registering in a particular usergroup compared to others.
Views:
409 views. Averaging 0 per day.
In the most recent 30 day period, there've been 2 views.

Print
E-Mail