By Paul
08/10/06
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):
<?php
if (strstr(currenturl(), 'register.php?filled=1') && $usergroup == 4)
{
$settings->requiredmembers = 'name,password,email,otherstuff';
}
?>
if (strstr(currenturl(), 'register.php?filled=1') && $usergroup == 4)
{
$settings->requiredmembers = 'name,password,email,otherstuff';
}
?>
See http://www.webmastersite.net/forums/comments.php?id=6671 for the original discussion.





