miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Re-cycled miniBB Support Forums / Re-cycled /  
 

Removing registration form's restrictions

 
Author Andrew_
Guest
#1 | Posted: 15 Mar 2015 13:47 
Hello!

First of all, thank you very much for your work, your forum is awesome =)

Is there any way to remove restrictions for the fields in the registration form?

Such as minimal length to login and password fields. And starting login from the letter, not digit? And to use symbols of other languages (such as cyrillic) both in login and password fields?

Nowadays it's all up to user what he want to fill in this fields, and we can handle with any of them. So the restrictions are not neccesary, they are only making the registration process harder for new users.

Author Paul
Lead Developer 
#2 | Posted: 15 Mar 2015 13:54 
Andrew_:
First of all, thank you very much for your work, your forum is awesome =)
Thank you for its choice :)

Andrew_:
Is there any way to remove restrictions for the fields in the registration form? Such as minimal length to login and password fields.
Setting $uname_minlength and $uname_maxlength in setup_options.php you could re-define the minimum and the maximum length of a registered username, respectively.

As about the password length, we think it's suitable by default (it should be in range of 5-32 symbols which is suitable for most of cases); if you want to change this rule, you should modify bb_func_checkusr.php and change this expression:

"#^[A-Za-z0-9_]{5,32}$#i"
Andrew_:
And to use symbols of other languages (such as cyrillic) both in login and password fields?
As about the username, you could edit $userRegName setting and put all the chars you would like to allow in the username. For example, for Cyrillic symbols it could look like:

userRegName option (Cyrillic)

It's a very unwanted action to allow using of the specific chars in the password field. You could be afterall stormed by user's requests asking why they couldn't login from different browsers or operating system. Our recommendation is to keep all passwords like they are provided in default miniBB. If you still want to allow extra symbols in the password field, you should modify the same expression mentioned above, in the same manner as it happens with username option.

And starting login from the letter, not digit?
It could be re-defined or defined in the verifyUsername function of bb_func_checkusr.php.

Re-cycled miniBB Support Forums / Re-cycled /
 Removing registration form's restrictions
 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
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑