miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Re-cycled miniBB Support Forums / Re-cycled /   

Users can't use numbers in login names?

Author andreasm
Registered
#1 | Posted: 11 Nov 2008 07:54 
My users can't use numbers in their login names.

Although it is allowed in file setup_options.php
$userRegName='_A-Za-z0-9 ';

using miniBB 2.2b

What's wrong here?

Author Paul
Lead Developer
#2 | Posted: 12 Nov 2008 03:32 | Edited by: Paul 
So far I suppose, in the newest version usernames can't consist of the numbers only (to avoid conflict between username and user ID in some add-ons, for example, Private Messaging), but still, numbers may be used, you can try on minibb demo.

Author andreasm
Registered
#3 | Posted: 12 Nov 2008 05:29 
I just tried your minibb demo with username "elo22".

It doesn't work.

Message:
"Error in user data: Password is allowed to contain only latin letters (a-z and A-Z), numbers (0-0) and underscores, it must be between 5 and 30 characters in length."


----

I remember that using numbers worked in past, because I have some users with numbers in their name in my database. So there must be made any change in forums code. But where?

Author Paul
Lead Developer
#4 | Posted: 12 Nov 2008 09:00 
So your mistake is not in the username, but in the password. Do you see what's written? Error in user data: Password... I have registered 'elo22' successfully and have made a post from this account.

Author andreasm
Registered
#5 | Posted: 12 Nov 2008 10:03 
Oh sorry, my mistake. Now it works in demo forums. But not in mine.... I can't remember that I made any changes to forums code for registration.

Which files should I check?

Author Paul
Lead Developer
#6 | Posted: 12 Nov 2008 11:11 
You should check your password first ;-) Then the option under setup_options.php (which seems correct for you) and bb_func_checkusr.php file.

Author andreasm
Registered
#7 | Posted: 17 Nov 2008 12:03 
Thanks, there was an old version of bb_func_checkusr.php on server. I updated it and now it works!

Re-cycled miniBB Support Forums / Re-cycled / Users can't use numbers in login names? 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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB