15 years on The Web
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
#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
#3 | Posted: 12 Nov 2008 05:29 
I just tried your minibb demo with username "elo22".

It doesn't work.

"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
#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
#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:

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 ® 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