Herko Coomans wrote:
we use phpmail here. Make sure your provider isn't blocking these mails from your end.
Herko
aol.com auto-block mails form php scripts.... do you have problems in this site? any users with aol can't register?
Herko Coomans wrote:
we use phpmail here. Make sure your provider isn't blocking these mails from your end.
Herko
davidthomas1 wrote:
The form fields you added won't be saved into the database.
You'd need to add new fields into the DB table and edit the SQL somewhere.
Quite a complicated hack.
However, the XOOPS 2.2.x series include the 'extended profiles' module that allows you to add custom fields to the registration form.
But that series is less stable than the 2.0.x series.
When the new XOOPS version comes out, it will probably support extended profiles.
So, either you could:
1) try some more code hacking (backup first!)
2) try XOOPS 2.2.x
3) wait for the new XOOPS version.
$reg_form->addElement(new XoopsFormText(_US_OCCUPATION, "user_occ", 65, 255, $myts->htmlSpecialChars($user_occ)));
$reg_form->addElement(new XoopsFormText(_US_INTEREST, "user_intrest", 65, 255, $myts->htmlSpecialChars($user_intrest)));
$reg_form->addElement(new XoopsFormText(_US_EXTRAINFO, "bio", 65, 255, $myts->htmlSpecialChars($bio)));
$reg_form->addElement(new XoopsFormSelectTimezone(_US_TIMEZONE, "timezone_offset", $tzselected));
$reg_form->addElement(new XoopsFormText(_US_LOVE, "user_love", 65, 255, $myts->htmlSpecialChars($user_love)));
$reg_form->addElement(new XoopsFormText(_US_NOLOVE, "user_nolove", 30, 60, $myts->htmlSpecialChars($user_nolove)));
Herko Coomans wrote:
jimkarvo: your comment has no relevance to the question posed by slyss.
In order to redirect to edituser.php after the second login (only?), you'll need to be able to check the number of logins. XOOPS doesn't save that information in any of the core files/modules. You'll need to build a check yourself (using a cookie?), and create an event where the second time someone logs in (from the same computer), he/she will be redirected to edituser.
That's the only way I can think of.
Herko