FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Minimum username lenght.
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Minimum username lenght. [message #1284 is a reply to message #1283] Wed, 03 April 2002 16:06 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
jnsaff wrote on Wed, 03 April 2002 6:12 AM

Hi,
Is it possible to change minimum username lenght from 4 to 3 chars? And if so, how?

thanks


It is, you'll need to modify the register.php file.
When you open the file, look for a line which says:

if( !$user_id && strlen($GLOBALS['HTTP_POST_VARS']['reg_login']) < 4 ) {

change the 4 to whatever you want the minimum number of chars you allow as login name. The line below is the error message, change the number 4 there to reflect your new minimum login length as well.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: update 2.5.2 to 2.6.0
Next Topic: Installation Errors : Install.php line 666-668
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 02:14:27 GMT 2024

Total time taken to generate the page: 0.05399 seconds