1
irmtfan
username size error
  • 2004/3/28 8:26

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


some of my users want to have long user names
but there is a limited size

Quote:
Errors

Quote:
uname must be shorter than 25 characters.


what can i do for this
i want to change the max size from 25 to a high number

2
wtravel
Re: username size error

Hi,

You can change it in the administration menu under:

Preferences -> User info settings

Regards,

Martijn

3
irmtfan
Re: username size error
  • 2004/3/28 14:20

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I know that & change it in Preferences -> User info settings
but still this error display.

any idea?

4
Lance_
Re: username size error
  • 2004/3/28 14:30

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Check that the DataBase field for the uname supports more than 25 characters.

Even if you set 50 in XOOPS in DB only supports 25 you can't go higher.

5
wtravel
Re: username size error

Right,

By default the uname field in the database table users is: varchar(25)

Regards,

Martijn

6
irmtfan
Re: username size error
  • 2004/4/3 17:08

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


thanks a lot

i change it to 50 in database at xoops_users table & still have this error & it say uname must be shorter than 25 characters.


7
irmtfan
Re: username size error
  • 2004/4/4 19:40

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


in xoops_users table i change the uname LENGTH to varchar(50)

but still have the same error

Quote:

Errors :

uname must be shorter than 25 characters.


what is wrong here?

8
irmtfan
Re: username size error
  • 2004/4/6 11:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i think this error related to something else

is there anyone to know

9
Mithrandir
Re: username size error

Have you also changed the Maximum length of username in user info settings?

10
Dave_L
Re: username size error
  • 2004/4/6 11:34

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The maximum length of the username field on the registration form is hardcoded as 25:

include/registerform.php

$reg_form->addElement(new XoopsFormText(_US_NICKNAME, "uname", 26, 25, $uname), true);

Login

Who's Online

365 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 365


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits