interim fix for SelfReg email confirmation problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
citizenine

interim fix for SelfReg email confirmation problem

Post by citizenine »

I was having trouble with the "Registration Template 1" Post Registration 1 Template.

The code goes like this. . .

Thank you {$username} for registering with {$sitename}.  An email has been sent to {$email} with instructions on how to continue the registration process.

. . . which resulted in something like the following. . .

Thank you Albert for registering with http://igopogo.gov. An email has been sent to with instructions on how to continue the registration process.

Needless to say, it should show something like this. . .

An email has been sent to albert@okefenokeeswamp.gov with instructions...

Anyhow, I went onto irc #cms and posed the question and within minutes ThomasM sleuthed out the answer:

Line 298 of modules/SelfRegistration/action.reguser.php. Replace $address with $params[$email_field]


Many, many thanks, ThomasM!


PS - When I left irc #cms, ThomasM was fighting with SVN bots trying to update the upstream code, so it should be fixed soon.
Last edited by citizenine on Wed Jul 04, 2007 5:00 am, edited 1 time in total.
cyberman

Re: interim fix for SelfReg email confirmation problem

Post by cyberman »

Thanks for posting this solution :) ...
Locked

Return to “CMSMS Core”