hmmm ok.. try this aswell >
open profile/register.php
find on line 52:
$newuser->setVar('loginname', isset($_POST['loginname']) ? trim($_POST['loginname']) : '');
add after:
$newuser->setVar('name', isset($_POST['name']) ? trim($_POST['name']) : '');
find on line 93:
echo _PROFILE_MA_DISPLAYNAME.": ".$newuser->getVar('uname')."
";
add after:
echo _PROFILE_MA_REALNAME.": ".$newuser->getVar('name')."
";
save & close
open profile/include/forms.php
find on line 259/260:
$elements[0][] = array('element' => new XoopsFormText(_PROFILE_MA_DISPLAYNAME, "uname", $uname_size, 75, $user->getVar('uname', 'e')), 'required' => true);
$weights[0][] = 0;
add after:
$elements[0][] = array('element' => new XoopsFormText(_PROFILE_MA_REALNAME, "name", $uname_size, 75, $user->getVar('name', 'e')), 'required' => true);
$weights[0][] = 0;
(if you don't want the max size of the name to be controlled by the username size then change $uname_size to a numeric value ie. 30 will make it max of 30 characters)
*EDIT*
as SLEO says, but he used $name_size in his, which isn't defined anywhere so will not function right. u have to use $uname_size or enter a numeric number like i mentioned.
if you do actually want to use $name_size instead you would have to define a value for it and do more hacking in xoops_version and language files to add an option to set the max amount and minimum amount in admin.. (not worth the effort i don't think)