miniBB Support Forums | 15 years on The Web
miniBB ®


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

Email address is not passing registration

Author tomoe
#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 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
#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
#3 | Posted: 25 Apr 2006 17:24 
It works. Thank you very much.

qwerty miniBB Support Forums / qwerty /
 Email address is not passing registration
 Share Topic's Link

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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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 ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.