Attract your miniBB-community, letting members publish their own photos
with the Photo album addon! Click here to read more.
Photo album addon for miniBB
miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Re-cycled miniBB Community Forum / Re-cycled /
Short link for this topic:

Users can't use numbers in login names?

 
Author andreasm
Forums Member
#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
CEO
#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
Forums Member
#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
CEO
#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
Forums Member
#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
CEO
#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
Forums Member
#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 Community Forum / Re-cycled / Users can't use numbers in login names? Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership 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 Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts