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
Switch to threaded view of this topic Create a new topic Submit Reply
Minimum username lenght. [message #1283] Wed, 03 April 2002 11:12 Go to next message
jnsaff is currently offline  jnsaff   Estonia
Messages: 1
Registered: April 2002
Karma: 0
Junior Member
Hi,
Is it possible to change minimum username lenght from 4 to 3 chars? And if so, how?

thanks
Re: Minimum username lenght. [message #1284 is a reply to message #1283] Wed, 03 April 2002 16:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
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
Re: Minimum username lenght. [message #15874 is a reply to message #1284] Wed, 07 January 2004 20:32 Go to previous messageGo to next message
Gady is currently offline  Gady   Canada
Messages: 117
Registered: March 2003
Karma: 0
Senior Member
And what about minimum Alias length? Can we set it?

Re: Minimum username lenght. [message #15881 is a reply to message #15874] Thu, 08 January 2004 01:36 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is no lower limit on alias length.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Tue Nov 26 04:22:02 GMT 2024

Total time taken to generate the page: 0.02262 seconds