here's the way to do it in XOOPS 2.0.13.2...just found out how to this myself recently..hope this works for your site
just rememeber backup your files
register.php,include/registerform.php
Open up register.php
find this
$url = isset($_POST['url']) ? trim($myts->stripSlashesGPC($_POST['url'])) : '';
put this
below the code
$icq = isset($_POST['user_icq']) ? $myts->stripSlashesGPC($_POST['user_icq']) : '';
$aim = isset($_POST['user_aim']) ? $myts->stripSlashesGPC($_POST['user_aim']) : '';
$yim = isset($_POST['user_yim']) ? $myts->stripSlashesGPC($_POST['user_yim']) : '';
$msnm = isset($_POST['user_msnm']) ? $myts->stripSlashesGPC($_POST['user_msnm']) : '';
in register.php
find this
$stop .= userCheck($uname, $email, $pass, $vpass);
if (empty($stop)) {
echo _US_USERNAME.": ".$myts->htmlSpecialChars($uname)."
";
add just after
echo _US_ICQ.": ".$myts->htmlSpecialChars($icq)."
";
echo _US_AIM.": ".$myts->htmlSpecialChars($aim)."
";
echo _US_YIM.": ".$myts->htmlSpecialChars($yim)."
";
echo _US_MSNM.": ".$myts->htmlSpecialChars($msnm)."
";
in register.php
find this
<input type='hidden' name='email' value='".$myts->htmlSpecialChars($email)."' />";
add this
above the the code
<input type='hidden' name='user_icq' value='".$myts->htmlSpecialChars($icq)."'/>
<input type='hidden' name='user_aim' value='".$myts->htmlSpecialChars($aim)."'/>
<input type='hidden' name='user_yim' value='".$myts->htmlSpecialChars($yim)."'/>
<input type='hidden' name='user_msnm' value='".$myts->htmlSpecialChars($msnm)."'/>
find this in register.php
if ( empty($stop) ) {
$member_handler =& xoops_gethandler('member');
$newuser =& $member_handler->createUser();
$newuser->setVar('user_viewemail',$user_viewemail, true);
$newuser->setVar('uname', $uname, true);
add this code below
$newuser->setVar('name', $name, true);
$newuser->setVar('user_icq', $icq, true);
$newuser->setVar('user_aim', $aim, true);
$newuser->setVar('user_yim', $yim, true);
$newuser->setVar('user_msnm', $msnm, true);
next open up
include/registerform.phpsearch for
$reg_form->addElement(new XoopsFormText(_US_NICKNAME, "uname", $uname_size, $uname_size, $myts->htmlSpecialChars($uname)), true);
and add this code below
$reg_form->addElement(new XoopsFormText(_US_ICQ, "user_icq", 26, 25, $myts->htmlSpecialChars($icq)), false);
$reg_form->addElement(new XoopsFormText(_US_AIM, "user_aim", 26, 25, $myts->htmlSpecialChars($aim)), false);
$reg_form->addElement(new XoopsFormText(_US_YIM, "user_yim", 26, 25, $myts->htmlSpecialChars($yim)), false);
$reg_form->addElement(new XoopsFormText(_US_MSNM, "user_msnm", 26, 25, $myts->htmlSpecialChars($msnm)), false);
lastly update ur system modules...