1
Hi,
I seem to have an error in my registration emails. When a user registers, the confirmation email is sent to the user for user-activation. But the link they receive is wrong. It goes like
http://mysite.comhttp://mysite.com/modules/profile/act... I found in another topic that the problem is this string {X_UACTLINK} that can be found in register.php. I have to correct something here, but I can't find what. Any suggestions?
le="color: #000000"><?php if ($xoopsModuleConfig['activation_type'] == 0) { $xoopsMailer =& getMailer(); $xoopsMailer->useMail(); $xoopsMailer->setTemplate('register.tpl'); $xoopsMailer->setTemplateDir(XOOPS_ROOT_PATH."/modules/profile/language/".$xoopsConfig['language']."/mail_template"); $xoopsMailer->assign('SITENAME', $xoopsConfig['sitename']); $xoopsMailer->assign('ADMINMAIL', $xoopsConfig['adminmail']); $xoopsMailer->assign('SITEURL', XOOPS_URL."/"); $xoopsMailer->setToUsers(new XoopsUser($newid)); $xoopsMailer->setFromEmail($xoopsConfig['adminmail']); $xoopsMailer->setFromName($xoopsConfig['sitename']); $xoopsMailer->setSubject(sprintf(_PROFILE_MA_USERKEYFOR, $newuser->getVar('uname'))); if ( !$xoopsMailer->send() ) { echo _PROFILE_MA_YOURREGMAILNG; } else { echo _PROFILE_MA_YOURREGISTERED; }
Thanks in advance
Mind anchors