miniBB ® 

miniBB

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

disable duplicate email address checking

 
Author John Dobson
Partaker
#1 | Posted: 15 Jan 2010 04:46 
in my forum, it is possible for two users to have the same email address (because they share the same job, which is quite common). How do I stop the duplicate email address checking on user registration? Is there a php line I can comment out?

Author Paul
Lead Developer 
#2 | Posted: 15 Jan 2010 05:20 
It's a very unwanted action when in our system you will have duplicated email addresses. Specially if you have enabled email notifications on board.

However it's still possible to disable... In bb_func_regusr.php try to remove the part of the condition which says

and !db_simpleSelect(0,$Tu,$dbUserId,$caseComp."({$dbUserSheme['user_email'][1]})",'=',strtolower(${$dbUserSheme['user_email '][2]}))
In bb_func_editprf.php try to remove the code which says

if ($rowp=db_simpleSelect(0,$Tu,$dbUserId,$caseComp."({$dbUserSheme['user_email'][1]})",'=',strtolower(${$dbUserSheme['user _email'][1]}),'','',$dbUserId,'!=',$user_id) or (strtolower(${$dbUserSheme['user_email'][1]})==strtolower($admin_email) and $user_id!=1)) $correct=4;

Specific miniBB Support Forums / Specific /
 disable duplicate email address checking
 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 Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑