WSN Links
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support

Register | Forgot Password
Required fields for particular usergroup
Required fields for particular usergroup
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):
<?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: 416 views. Averaging 0 per day.
In the most recent 30 day period, there've been 1 views.

Previous Article | Next Article

Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support