When I "forget" the password the system sends the link to the email with no problem.
Any help...
Server: Linux/Apache
Tested on: FF3.5, IE8 and Google Chrome 2.0
Higor
ensure 'emailchangeconfirmation' is enabled. check box = yes
It is enabled... and also in Admin > Users > Authentication > Authentication Manager.
But you helped me, for I didn't know this path and I disabled it and now the students are changing their emails well.
If possible I'd like to use this feature, another suggestion?
Higor
But Id like to use the email link feature, if it exists is for it is good, isnt it?
Thanks,
Higor
Here is the email I receive, and how I told, no link /url sent with the message.
Hi, Higor,
I'm having the exactly problem, there's no url set in the message.
How can we solve this?
Thanks,
Peace.
I have the same problem. Is there any solution...
This problem is related to Language Settings. In English language there is no URL link problem. But the other langs such as Turkish etc. There ise no confirmation URL in the email message.
I am still trying to fix it. If I did, I will tell you via forum.
See all...
- [path to moodle]/lang/tr_utf8/ or
- /var/moodledata/lang/tr_utf8/
Open the file auth.php and add the following to the end of line 103 that starts with $string['auth_emailupdatemessage']:
a->urlso in my case the whole line looks like:
$string['auth_emailupdatemessage'] = '$a->site\'deki kullanıcı hesabınız için e-posta adresinizde değişiklik isteğinde bulundunuz. Lütfen bu değişikliği teyit etmek için tarayıcınızda aşağıdaki URL\'yi açın. a->url
hope that helps!
It works. Thank you very much. I fixed it after your message. I modified some lines in edit.php. But your solution is better than this.
Thanks all.
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
... so in my case the whole line looks like:
$string['auth_emailupdatemessage'] = '$a->site\'deki kullanıcı hesabınız için e-posta adresinizde değişiklik isteğinde bulundunuz. Lütfen bu değişikliği teyit etmek için tarayıcınızda aşağıdaki URL\'yi açın. $a->url';
hope that helps!
Thanks for sharing your solution to this problem. I'm going to move this discussion to the Languages forum in case other languages are affected too...
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
Updating your language pack from tomorrow onwards should fix it. New Moodle installations won't be affected anymore.
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
I see this is one year old post, but problem is the same.
Users don't get url in their mail.
It's mooodle 2.0 build 2010112400 and languange sr_lt
I've tried with adding {$a->url} at the end of $string['auth_emailupdatemessage'] but it's not working:
$string['auth_emailupdatemessage'] = 'Dragi/a {$a->fullname},
Tražili ste promenu svoje e-adrese za Vaš korisnički nalog na {$a->site}. Molim Vas da otvorite sledeći URL u svom Web čitaču kako biste potvrdili ovu promenu. {$a->url}';
I've checked if $a->url is corectly creating at it is, but somehow when ading it to auth_email.php it doesn't show up.
Workaround was to change (moodle dir)/user/edit.php at line 226 where the message body is created, from:
$emailupdatemessage = get_string('auth_emailupdatemessage', 'auth_email', $a);
chenaged to :
$emailupdatemessage = get_string('auth_emailupdatemessage', 'auth_email', $a) . $a->url;
I know this isn't a solution, but needed a quick fix since we got about 1200 students changing their email addresses
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
good spot. There is a missing {$a->url} placeholder at the end of that string. I just created a patch for the language pack maintainer so hopefully that would be fixed soon.
Meanwhile, you can fix it at your site in a correct way:
1. revert the change of /user/edit.php
2. modify the file containing the string as you already did - appending the missing placeholder
3. now you have to go to "Site administration > Development > Purge caches" so that the changed language file is fetched again.
Since Moodle 2.0, the get_string() does not use the files in lang/xx/* folders directly but it process them and caches for better performance. Therefore you have to purge caches after any manual modification of the string files.
Updating language pack or whole Moodle purges caches automatically.
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
thnx David, I've totaly forgot about caches
Re: Ynt: Re: Ynt: Re: Change Email Confirmation Link not Sent
i wrote end of emailupdatemessage $a->url, and try all of a->url ,{a->url} , {$a->url}.. then i purged all caches, but didnt work..
the mail which has been sent
"Ders Yönetim Sistemi'deki kullanıcı
Lütfen bu değişikliği teyit etmek için tarayıcınızda aşağıdaki
URL'yi açın.a->URL"
it didnt solve