miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
qwerty miniBB Support Forums / qwerty /  
 

Email address is not passing registration

 
Author tomoe
Partaker
#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
Partaker
#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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed 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
Check out the Private Messaging add-on: allow your miniBB-forums members to communicate with each other.


  ⇑