Check out the LimeSurvey source code on GitHub!

Change content of email registration for new user

More
4 years 6 months ago #84325 by wrightk
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 6 months ago #84338 by sendaen
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 6 months ago #84357 by wrightk
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 6 months ago #84778 by cineca
i'd like to do the same thing. Is it possible?

Thanks

Please Log in to join the conversation.

More
4 years 6 months ago #84807 by DenisChenu
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).
The following user(s) said Thank You: cineca

Please Log in to join the conversation.

More
4 years 6 months ago #84846 by cineca
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 6 months ago #84850 by Ben_V

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.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form