How can I make real name a required field for user registration?
For XOOPS 2.0.10 change following: include/registerform.php After line 69
$reg_form->addElement(new XoopsFormText(_US_NICKNAME, "uname", $uname_size, $uname_size, $myts->htmlSpecialChars($uname)), true);
$reg_form->addElement(new XoopsFormText(_US_REALNAME, "name", 26, 25, $myts->htmlSpecialChars($name)), true);
$uname = xoops_trim($uname);
$name= xoops_trim($name);
echo _US_USERNAME.": ".$myts->htmlSpecialChars($uname)."
";
echo _US_REALNAME.": ".$myts->htmlSpecialChars($name)."
";
<input type='hidden' name='uname' value='".$myts->htmlSpecialChars($uname)."' />
<input type='hidden' name='name' value='".$myts->htmlSpecialChars($name)."'/>
$newuser->setVar('uname', $uname, true);
$newuser->setVar('name', $name, true);
This Q&A was found on XOOPS Web Application System : https://xoops.org/modules/smartfaq/faq.php?faqid=478