2
in include/registerform.php, insert red code:
$reg_form = new XoopsThemeForm(_US_USERREG, "userinfo", "register.php");
$reg_form->addElement(new XoopsFormText(_US_NICKNAME, "uname", 26, 25, $uname), true);
[color=ff0000]$reg_form->addElement(new XoopsFormText(_US_REALNAME, "name", 26, 25, $name), true);[/color]
$reg_form->addElement($email_tray);
in register.php, insert blue code:
<input type='hidden' name='uname' value='".$myts->makeTboxData4PreviewInForm($uname)."' />
[color=0000ff]<input type='hidden' name='name' value='".$myts->makeTboxData4PreviewInForm($name)."' />[/color]
<input type='hidden' name='email' value='".$myts->makeTboxData4PreviewInForm($email)."' />";