The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Moderate new registrations with free email accounts only
At my site I have banned all free web-based email domain names like Hotmail or Yahoo.
However, it would be good if new members can still register with these banned email domains, but when they register they are automatically placed in a moderated usergroup until approval, whereas other new members registering with emails that are not banned would become registered immediately. I tried implementing this myself, but no matter what I do, if an email address is in the ban list, it just would not be accepted. Any ideas anyone? |
#2
|
||||
|
||||
You'll need to comment out / delete this code from register.php:
Code:
if ($enablebanning and $banemail!="") { if (stristr(" ".$banemail." "," ".$email." ")!="") { eval("standarderror(\"".gettemplate("error_banemail")."\");"); exit; } if ($emaildomain=substr(strstr($email,"@"),1)) { if (stristr(" ".$banemail." "," ".$emaildomain." ")!="") { eval("standarderror(\"".gettemplate("error_banemail")."\");"); exit; } } } |
#3
|
||||
|
||||
I'll give it a go again - I did that before, but got some errors. Thanks for the quick response. See, I don't use the COPPA system, so I was trying to modify the COPPA usergroup to turn that into the moderated free email group.
|
#4
|
|||
|
|||
Did this end up working? I know it is way old but thought I would check because it would be a great option for us as well.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|