Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: gazzak on March 22, 2010, 05:50:39 AM

Title: Account activation issues with email activation
Post by: gazzak on March 22, 2010, 05:50:39 AM
Hi All,

When a user registers on my forum, they receive an email from us with a link to activate the account. When they click the link, it doesn't activate the account, but takes them to the "resend activation code" page. I have tested this and it's happening.

How can I fix this?

(using V2 RC3)
Title: Re: Account activation issues with email activation
Post by: chilly on March 22, 2010, 06:02:59 AM
when you tested it... did you check the url?
i had problems with activation maisl too.
I used a gmx-mail-adress and gmx changed the link of the mail to something wrong that misses some important information so smf doesnt get the info to activate the user. (seems like some webmail stuff doesnt like the ";" - semikolon - used in the url)
Title: Re: Account activation issues with email activation
Post by: gazzak on March 22, 2010, 06:27:35 AM
The link sent to activate the account is this...

http://www.myforums.com/index.php?action=activate;u=4;code=42f45b93eb

The link in the same email to activate via the code is this...

http://www.myforums.com/index.php?action=activate;u=4

Both links send the user to the resend activation code page???
Title: Re: Account activation issues with email activation
Post by: gazzak on March 22, 2010, 06:38:03 AM
OK, it appears that the URL is fine, but clicking on the link from googlemail doesn't work, wheras copying and pasting the text directly into a browser works fine.

So my next question is, how can I adjust the outgoing email to state this fact? IE. If the above lind doesn't work, copy and paste it into your browser?
Title: Re: Account activation issues with email activation
Post by: chilly on March 22, 2010, 06:43:58 AM
The link shwon is no problem. If you mark it and than Copy & Paste -> no problem
But if you click on it, it changes. There is no way for you to change that, cause it is done by the webmail service.

thats the same problem as i had with gmx.
Title: Re: Account activation issues with email activation
Post by: gazzak on March 22, 2010, 06:51:15 AM
Quote from: chilly on March 22, 2010, 06:43:58 AM
The link shwon is no problem. If you mark it and than Copy & Paste -> no problem
But if you click on it, it changes. There is no way for you to change that, cause it is done by the webmail service.

thats the same problem as i had with gmx.

That's it exactly Chilly. I'm just wondering how I can add my own line in that outgoing email to warn the new users?
Title: Re: Account activation issues with email activation
Post by: chilly on March 22, 2010, 07:45:55 AM
To change the E-Mail Text you need to look for EmailTemplates.{language}.php and change the Text of the Mail-Template used for the Activation-Link.


that are the templates i found using an activationlink

If you are using multiple languages you should edit the emailtemplates for each language
Title: Re: Account activation issues with email activation
Post by: gazzak on March 22, 2010, 08:14:16 AM
Thanks Chilly. Changed the email template and tested sucessfully.
(also had to clear the forum cache for the forum to load the new template)

Resolved  :D
Title: Re: Account activation issues with email activation
Post by: atreiou on July 12, 2010, 06:29:07 AM
what type of changes have you made ?
I have the same problem
Title: Re: Account activation issues with email activation
Post by: chilly on July 14, 2010, 12:10:24 PM
he did not change any code. he just added own text to the mail.