11
I almost give up, after install 2.2# only know that version 2.2# are not support Job Listings. What i want is change the registration form look like online resume form. I try to hack by myself but i fail to write the value into database.
Here is my step:
1. On PhpMyadmin i go to xoops_users add a new field call home_adds.
2. Open registerform.php add in the line "$reg_form->addElement(new XoopsFormTextarea(_US_ADDS, "home_adds", $myts->htmlSpecialChars($home_adds),25, 5));"
3. add this 4 line in register.php:
$home_adds = isset($_POST['home_adds']) ? $myts->stripSlashesGPC($_POST['home_adds']) : '';
echo _US_ADDS.": ".$myts->htmlSpecialChars($home_adds)."
";
$newuser->setVar('home_adds', $home_adds, true);
4. add in this 2 line in userinfo.php
$xoopsTpl->assign('lang_address', _US_ADDS);
$xoopsTpl->assign('home_adds', $thisUser->getVar('home_adds'));
5. add in the below line in to languag/user.php
define('_US_ADDS','Correspondence Address');
I just can't write the value into "home_adds", am i miss up something to change? Please guide me.
Thanks