|
|
|
Environment:
|
Linux - Ubuntu Server - PHP 5.2.4
|
|
| Participants: |
Orcun Madran and Petr Skoda
|
| Security Level: |
None
|
| Difficulty: |
Difficult
|
| Affected Branches: |
MOODLE_19_STABLE
|
|
We used IMAP authentication. Users have to confirm their email addresses. Confirmation e-mail message sent successfully. But there is no link to click. There is only standart text message. It happens when the moodle default lang set to Turkish or other langs except English language. If we set default language to English, link will send
|
|
Description
|
We used IMAP authentication. Users have to confirm their email addresses. Confirmation e-mail message sent successfully. But there is no link to click. There is only standart text message. It happens when the moodle default lang set to Turkish or other langs except English language. If we set default language to English, link will send |
Show » |
|
Find the Turkish language pack. On a linux box it can be in:
[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->url
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