I think that will only make the field required if they edit their profile.
If you want to require the real name when they register, you will need to edit register.php and include/registerform.php to add the field.
Proceed with caution - I haven't been real accurate with my code snippets, lately
in register.php, around line 144
echo _US_EMAIL.": ".$myts->htmlSpecialChars($email)."
";
[color=ff0000]// start of addition
echo _US_REALNAME.": ".$myts->htmlSpecialChars($name)."
";
// end of addition[/color]
if ($url != '') {
and around line 153
<input type='hidden' name='uname' value='".$myts->htmlSpecialChars($uname)."' />
[color=ff0000]// start of addition
<input type='hidden' name='name' value='".$myts->htmlSpecialChars($name)."' />
// end of addition[/color]
<input type='hidden' name='email' value='".$myts->htmlSpecialChars($email)."' />";
and around line 185
}
[color=ff0000]// start of addition
$newuser->setVar('name', $name);
// end of addition[/color]
$newuser->setVar('user_avatar','blank.gif', true);
and finally, around line 240
$xoopsMailer->assign('SITEURL', XOOPS_URL."/");
[color=ff0000]// start of addition
$xoopsMailer->assign('REALNAME', $myts->oopsStripSlashesGPC($name));
// end of addition[/color]
$member_handler =& xoops_gethandler('member');
in include/registerform.php, around line 71
$reg_form->addElement(new XoopsFormText(_US_NICKNAME, "uname", $uname_size, $uname_size, $myts->htmlSpecialChars($uname)), true);
[color=ff0000]// start of addition
$reg_form->addElement(new XoopsFormText(_US_REALNAME, "name", 30, 60, $myts->htmlSpecialChars($name)), true);
// end of addition[/color]
$reg_form->addElement($email_tray);