From: SourceForge.net <no...@so...> - 2012-06-10 06:35:14
|
Bugs item #930397, was opened at 2004-04-06 05:16 Message generated for change (Comment added) made by irmtfan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=930397&group_id=41586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core - Core Group: XOOPS 2.5.x Status: Open Resolution: Accepted Priority: 7 Private: No Submitted By: Dave Lerner (dave_l) Assigned to: Jan Pedersen (mithyt2) Summary: max length of username hardcoded on reg form Initial Comment: 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); This value should be obtained from the configuration parameter maxuname (xoops_config.conf_name). ---------------------------------------------------------------------- Comment By: irmtfan (irmtfan) Date: 2012-06-09 23:35 Message: I think the registration process is ok now and at least these 2 lines should be corrected and the limited characters should be move to the configuration of profile module in xoops 2.6 in kernel/users.php line 61 and 62 $this->initVar('uname', XOBJ_DTYPE_TXTBOX, null, true, 25); $this->initVar('email', XOBJ_DTYPE_TXTBOX, null, true, 60); ---------------------------------------------------------------------- Comment By: Michael Beck (beckmi) Date: 2012-06-09 22:52 Message: See note from Irmtfan: http://xoops.org/modules/newbb/viewtopic.php?post_id=346883#forumpost346883 ---------------------------------------------------------------------- Comment By: Skalpa Keo (skalpa) Date: 2004-05-22 09:41 Message: Logged In: YES user_id=882380 I changed this. At the same time I corrected several inconsistencies in some user-interface elements also (the uname was hardcoded to 10 or 12 sometimes). Sent to 2.0.7 branch. ---------------------------------------------------------------------- Comment By: Jan Pedersen (mithyt2) Date: 2004-05-13 03:47 Message: Logged In: YES user_id=841117 OK, I'll take care of this one personally. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=430840&aid=930397&group_id=41586 |