miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
qwerty miniBB Support Forums / qwerty /   

Email address is not passing registration

Author tomoe
Registered
#1 | Posted: 25 Apr 2006 05:41 
I've installed miniBB in one of my sites, and everything is going well except... that one of the users has an email looking like firstname-.name@provider.com. And miniBB considers that "-." is a mistake (OK, it's an uncommon email, but it's like this, and this user is very important for that forum).
Thank you

Author Team
8-)
#2 | Posted: 25 Apr 2006 06:41 
The file you need to edit is bb_func_checkusr.php

Find expression:

"^[0-9a-z]+([._-][0-9a-z_]+)*_?@[0-9a-z]+([._-][0-9a-z]+)*[.][0-9a-z]{ 2}[0-9A-Z]?[0-9A-Z]?$"

Try to set it like:

"^[0-9a-z.-]+@[0-9a-z]+([._-][0-9a-z]+)*[.][0-9a-z]{2}[0-9A-Z]?[0-9A-Z ]?$"

Author tomoe
Registered
#3 | Posted: 25 Apr 2006 17:24 
It works. Thank you very much.

qwerty miniBB Support Forums / qwerty / Email address is not passing registration Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB