Change content of email registration for new user

More
4 years 8 months ago #84325 by wrightk
wrightk created the topic: Change content of email registration for new user
How do I change the subject and content of the email sent to new users of limesurvey?

The users who create and administer the surveys - not those who complete them.

Please Log in to join the conversation.

More
4 years 8 months ago #84338 by sendaen
sendaen replied the topic: Change content of email registration for new user
do you mean change the emails you had sent? If so, I think you can't...

Please Log in to join the conversation.

More
4 years 8 months ago #84357 by wrightk
wrightk replied the topic: Change content of email registration for new user
I want to change the email template used to send new admin users their login details.

Admin users create and manage surveys.

This is how it's generated:
  1. Go to Administration.
  2. Click Create/Edit Users (the key).
  3. Enter their Username, Email and Full Name.
  4. Click Add User.
An automated email is sent to the new user's email address with their login details.

It looks something like this:

Subject: Registration
Hello [Full Name],

this is an automated email to notify that a user has been created for you on the site '[Survey Site]'.

You can use now the following credentials to log into the site:
Username: [Username]
Password: [Password]
[Click here to log in].

If you have any questions regarding this mail please do not hesitate to contact the site administrator at [webmaster email]. Thank you!


I want to change the content of this email.

How do I edit this email template?
The following user(s) said Thank You: cineca

Please Log in to join the conversation.

More
4 years 8 months ago #84778 by cineca
cineca replied the topic: Change content of email registration for new user
i'd like to do the same thing. Is it possible?

Thanks

Please Log in to join the conversation.

More
4 years 8 months ago #84807 by DenisChenu
DenisChenu replied the topic: Change content of email registration for new user
Hello,

To change totally the mail content:
$ grep -r "this is an automated email" *
admin/usercontrol.php:            $body .= sprintf($clang->gT("this is an automated email to notify that a user has been created for you on the site '%s'.",'unescaped'), $sitename)."<br /><br />\n";
Then look at admin/usercontrol.

To change only text: see translation.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: cineca

Please Log in to join the conversation.

More
4 years 8 months ago #84846 by cineca
cineca replied the topic: Change content of email registration for new user
I have another question:
if I edit the file "usercontrol.php" or the translation, is this change immune to software updates?

Thanks

Please Log in to join the conversation.

More
4 years 8 months ago #84850 by Ben_V
Ben_V replied the topic: Change content of email registration for new user

is this change immune to software updates?

No :(
Ben/

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: cineca

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now