WSN
Required fields for particular usergroup
Required fields for particular usergroup
By
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';
}
?>


See http://www.webmastersite.net/forums/comments.php?id=6671 for the original discussion.
Details Print Rate Report E-Mail


0/5 based on 0 votes. The median rating is 0.

Views: 558 views. Averaging 0 views per day.

Previous Article | Next Article

Features Showcase Purchase Services Resources Support