When I attempt this in quickreg.php -- It does not work, does it also have to be forced in register.php? My full registrations work perfectly, but my quickreg's won't work, turns off pm's etc. even with the quickreg.php set to 1,1
Quote:
06-05-03 at 12:37 PM WEForums said this in Post #27
Okay, since my question got people wondering how to do this, I will explain (since it works now).
Open register.php (and quickreg.php if you want) and find what you want to modify. (For example, if you want admins to always e-mail a user find:
PHP Code:
$adminemail=iif($allowmail=="yes",1,0);
and replace it with:
PHP Code:
$adminemail=iif($allowmail=="yes",1,1);
)
This will override the user option and force it to be yes...even if the user selects no when registering. However, if this does not bother you, it works. (Note that users can change it to NO in their usercp when they are registered.)
|