Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $10.00
Net Balance: $9.41
Left to go: $90.59

Donations
Dante7237  ($10)Oct-30

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat floor Food for free Gateway Google Guide herre Home Honeypot HP Human HỘ IP iPhone jQuery Language Law Legal List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon security Sentry site Smartphone Smoking Solution Spam Studio tag tags tdmcreate template The Theme themes web weight Wishcraft xoops Xortify

New Users

Registering user

# 137872

ode64de

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  |  Register To Post

« 1 (2)


#11 Posted on: 2004/4/6 6:39 Re: username size error
-> bug tracker

Top

Mithrandir
Joined:
2003/6/21 11:37
From Copenhagen, Denmark
Group:
Registered Users
Posts: 6094
(Show More) (Show Less)


#12 Posted on: 2004/4/6 7:00 Re: username size error
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.

Top

Dave_L
Joined:
2003/11/7 15:34
From Virginia, USA
Group:
Registered Users
Posts: 2267
(Show More) (Show Less)


#13 Posted on: 2004/4/6 7:13 Re: username size error
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?

Top

Mithrandir
Joined:
2003/6/21 11:37
From Copenhagen, Denmark
Group:
Registered Users
Posts: 6094
(Show More) (Show Less)


#14 Posted on: 2004/4/6 7:28 Re: username size error
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.

Top

Dave_L
Joined:
2003/11/7 15:34
From Virginia, USA
Group:
Registered Users
Posts: 2267
(Show More) (Show Less)


#15 Posted on: 2004/4/6 8:14 Re: username size error
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

Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#16 Posted on: 2004/4/10 17:37 Re: username size error
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

Top

irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#17 Posted on: 2011/5/19 19:37 Re: username size error
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?


Top

HopeL
Joined:
2009/8/20 20:24
From Oregon
Group:
Registered Users
Posts: 22
(Show More) (Show Less)


#18 Posted on: 2012/6/10 0:44 Re: username size error
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"

Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)


#19 Posted on: 2012/6/10 0:56 Re: username size error
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.

Top


Please support XOOPS & DONATE
Use 2.5.7 | Debugging | Requests | Bugs
Mamba
Joined:
2004/4/23 13:58
From Ohio, USA
Group:
Webmaster
Registered Users
Designer Group
Posts: 8102
(Show More) (Show Less)


#20 Posted on: 2012/6/10 1:43 Re: username size error
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.




Top


Ready for Romance
First Persian Harry Potter Site(English added) | Persian Support Site | Xoops Persian Project
irmtfan
Joined:
2003/12/7 14:14
From In the middle of nowhere
Group:
Registered Users
Community Coordinator (temporary)
Posts: 3371
(Show More) (Show Less)




« 1 (2)



You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]