Brad - thanks for this suggestion. I needed to restrict our users to a certain set of domains (we're an ISP, providing forums for just our users), and turning the "banned domains" into "allowed domains" was exactly what I needed.
One note for anyone else needing to do this. Enforcing specific domains for the email during registration is half the solution. The other half is preventing them from changing their email once they have signed up. To do this, you can either edit the 'modifypassword' template accordingly, or you can edit profile.php to force $show{edit_email_field} to always be FALSE.
-- hugh
|