11
Biteronboard,
I think I've pretty much got this figured out except in the case of using an array. I don't know how to add the answers for that to the adminactivate.tpl but otherwise, here goes:
register.php - around line 187, I inserted below USEREMAIL the assign and field names:
$xoopsMailer->assign('HMADDRESS', $newuser->getVar('hm_address'));
$xoopsMailer->assign('USERFROM', $newuser->getVar('user_from'));
$xoopsMailer->assign('MBRLEVEL', $newuser->getVar('mbr_level'));
$xoopsMailer->assign('SPEC', $newuser->getVar('specialty'));
$xoopsMailer->assign('COMP', $newuser->getVar('company'));
$xoopsMailer->assign('PREFMAILADD', $newuser->getVar('pref_mail_address'));
$xoopsMailer->assign('HMPHONE', $newuser->getVar('phone_hm'));
$xoopsMailer->assign('BUSNPHONE', $newuser->getVar('phone_busn'));
Then on adminactivate.tpl in the body of the email I added the following:
Home address: {HMADDRESS}
Company: {COMP}
Business address: {USERFROM}
Member Level: {MBRLEVEL}
Specialty: {SPEC}
Business Phone: {BUSNPHONE}
Home Phone: {HMPHONE}
Preferred Mailing Address: {PREFMAILADD}
Success!
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]