View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
12645Feature requestsSurvey takingpublic2018-04-20 21:42
Reporterasshank Assigned ToTonisOrmisson  
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Summary12645: Create an 'afterRegister' event
Description

When landing on a form where you have to register to take part. The result page afterRegister is more or less hardcoded into the language MO/PO system.

We wanted to get Ownership of the message (sMessage) that is displayed on screen.
Now it is a translated text '
gT("Thank you for registering to participate in this survey.")
and then the mailmessage text that is sent to the participant (TokenMail)

So for us it was important that "Thank you for registering to participate in this survey." is not used because the nature of the survey is not a survey but an 'election'.

Additional Information

By using a Plugin the beforeRegister event was not the way to go. When set sMessage the TokenEmail is not sent!!!!

So enter: afterRegister event!

I made a github pull request with the event in place.
I tested is on the latest 2.62 and it works like a charm!

https://github.com/LimeSurvey/LimeSurvey/pull/800

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

asshank

asshank

2017-09-01 20:27

reporter   ~44396

@DenisChenu

I just noticed you were also editing RegisterController.php a few hours ago!

Issue History

Date Modified Username Field Change
2017-09-01 20:24 asshank New Issue
2017-09-01 20:27 asshank Note Added: 44396
2018-04-20 21:42 TonisOrmisson Assigned To => TonisOrmisson
2018-04-20 21:42 TonisOrmisson Status new => closed
2018-04-20 21:42 TonisOrmisson Resolution open => fixed