View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
08956Feature requestsSurvey participants (Tokens)public2015-04-01 16:56
Reporterronny_todgers Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary08956: Allow token invites to be sent from the user who is logged in rather than the survey admin
Description

We are running a multi centre study where a number of different admins will be able to send out emails to different groups of participants.
The only contact the participants have with the study is via their local admin - and they will not recognise the email of the survey admin.

In all cases, the user who has permissions to send out emails will typically be the person who has contacts with participants outside of Limesurvey. Given that, it makes more sense if the "from" field is populated from the logged in user rather than the survey admin - for most small projects these will be the same in any case.

I have modified the admin/token/email.php file to achieve this, though I think the very best option would be if this were configurable in the site general options (either survey admin or user logged managing the tokens) - something which is beyond my skills.

Additional Information
                        <input type='text' size='50' id='from_<?php echo $language; ?>' name='from_<?php echo $language; ?>' value="<?php echo htmlspecialchars(User::model()->findAllByAttributes(array('uid'=>Yii::app()->session['loginID']))[0]['full_name'],ENT_QUOTES,'UTF-8')." <".htmlspecialchars(User::model()->findAllByAttributes(array('uid'=>Yii::app()->session['loginID']))[0]['email'],ENT_QUOTES,'UTF-8').">"; ?>" /></li>
TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-11-02 13:29

developer   ~30905

I'm sure you can provide a Plugin for this purpose:
http://manual.limesurvey.org/BeforeTokenEmail

Issue History

Date Modified Username Field Change
2014-04-10 18:38 ronny_todgers New Issue
2014-11-02 13:29 DenisChenu Note Added: 30905
2015-04-01 16:55 Dave Issue Monitored: Dave
2015-04-01 16:56 Dave Issue End Monitor: Dave
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)