Page 1 of 1

interim fix for SelfReg email confirmation problem

Posted: Wed Jul 04, 2007 4:47 am
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.

Re: interim fix for SelfReg email confirmation problem

Posted: Wed Jul 04, 2007 6:36 am
by cyberman
Thanks for posting this solution :) ...