« 1 (2)
Mithrandir Mithrandir
  • XOOPS is my life!
  • XOOPS is my life!
  • Joined: 2003/6/21 12:37
  • From Copenhagen, Denmark
  • Group: Registered Users
  • Posts: 6320
  • Posted on: 2004/4/6 7:39
Re: username size error #11
-> bug tracker
Dave_L Dave_L
  • XOOPS is my life!
  • XOOPS is my life!
  • Joined: 2003/11/7 16:34
  • From Virginia, USA
  • Group: Registered Users
  • Posts: 2277
  • Posted on: 2004/4/6 8:00
Re: username size error #12
tracker

There may be other problems, though. I tried increasing that value, and I still couldn't register a user with a long name. One of these checks in register.php is failing:

if (!$member_handler->insertUser($newuser)) {
   echo 
_US_REGISTERNG;
   include 
'footer.php';
   exit();
}
$newid $newuser->getVar('uid');
if (!
$member_handler->addUserToGroup(XOOPS_GROUP_USERS$newid)) {
   echo 
_US_REGISTERNG;
   include 
'footer.php';
   exit();
}


I glanced at those functions, and didn't see anything obvious, so more debugging is needed.
Mithrandir Mithrandir
  • XOOPS is my life!
  • XOOPS is my life!
  • Joined: 2003/6/21 12:37
  • From Copenhagen, Denmark
  • Group: Registered Users
  • Posts: 6320
  • Posted on: 2004/4/6 8:13
Re: username size error #13
OK, all three steps made?

1) Increase value in database table?
2) Increase value in input user form?
3) Increase value in User info settings?
Dave_L Dave_L
  • XOOPS is my life!
  • XOOPS is my life!
  • Joined: 2003/11/7 16:34
  • From Virginia, USA
  • Group: Registered Users
  • Posts: 2277
  • Posted on: 2004/4/6 8:28
Re: username size error #14
Yes. I doubt if I'll spend any more time on it, since I don't expect to have any need for usernames > 25 characters, and I have more important things to work on.
irmtfan irmtfan
  • Module Developer
  • Module Developer
  • Joined: 2003/12/7 15:14
  • From In the middle of nowhere
  • Group: Registered Users Community Coordinator (temporary)
  • Posts: 3419
  • Posted on: 2004/4/6 9:14
Re: username size error #15
Quote:

Mithrandir wrote:
OK, all three steps made?

1) Increase value in database table?
2) Increase value in input user form?
3) Increase value in User info settings?


what is input user form?

i change the line in registerform.php but nothing happend
still the same error display
irmtfan irmtfan
  • Module Developer
  • Module Developer
  • Joined: 2003/12/7 15:14
  • From In the middle of nowhere
  • Group: Registered Users Community Coordinator (temporary)
  • Posts: 3419
  • Posted on: 2004/4/10 18:37
Re: username size error #16
i have a role playing game in my site that users want to have long username (more than 25 characters).

where is this error?

i cant find this error in the source?

a little guide plz
HopeL HopeL
  • Just popping in
  • Just popping in
  • Joined: 2009/8/20 21:24
  • From Oregon
  • Group: Registered Users
  • Posts: 29
  • Posted on: 2011/5/19 20:37
Re: username size error #17
irmtfan,
Did you resolve this issue? I am also trying to increase the amount of characters.

Has anyone been successful increasing the number of characters in the username field using XOOPS 2.2.4?

Thanks,
Hope

Quote:
irmtfan wrote:
i have a role playing game in my site that users want to have long username (more than 25 characters).

where is this error?
i cant find this error in the source?
irmtfan irmtfan
  • Module Developer
  • Module Developer
  • Joined: 2003/12/7 15:14
  • From In the middle of nowhere
  • Group: Registered Users Community Coordinator (temporary)
  • Posts: 3419
  • Posted on: 2012/6/10 1:44
Re: username size error #18
After 8 years still this problem remains unsolved in xoops 2.5.5
but i just found one of the hardcoded lines in Kernel/user.php line 61:

$this->initVar('uname'XOBJ_DTYPE_TXTBOXnulltrue25);


It should be corrected in the next versions.

xoops is full of these kind of hardcoded lines that is painful for utf8 non latin websites to resolve them. because mainly there is no error.
for example in the above mentioned issue, xoops said "the user is successfully modified" but the uname has been cut off after 25 character (latin) and 12-13 characters (multi-byte languages)

the other limits in xoops user table are as below:

the 'bio' field size should be changed to "text" . now it is "tinytext" (127 characters in multi-bytes languages).

the 'user_sig' field size should be changed to "text". Also is "tinytext"
Mamba Mamba
  • Moderator
  • Moderator
  • Joined: 2004/4/23 14:58
  • From Ohio, USA
  • Group: Webmaster Registered Users Designer Group Super Moderator
  • Posts: 10293
  • Posted on: 2012/6/10 1:56
Re: username size error #19
I have reopened the issue in our bug tracker

Please submit Core issues to our bug tracker, or if needed, please reopen old issues, otherwise there is always a chance that if posted here, they might be overlooked.
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs
irmtfan irmtfan
  • Module Developer
  • Module Developer
  • Joined: 2003/12/7 15:14
  • From In the middle of nowhere
  • Group: Registered Users Community Coordinator (temporary)
  • Posts: 3419
  • Posted on: 2012/6/10 2:43
Re: username size error #20
Thank you mamba for the reopening of that bug.
i explain more there.
All these kind of limitations should be handled from admin profile module configuration.


How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team