Limesurvey is an open source online survey platform. We need some adjustments to the source code.
Short description: Create a "bridge" between the standard registration function and the data submitted during a survey. The email address given as an answer during one survey should be used to automatically register the user for another survey and to send out the standard email invitation for that survey.
Long description: When creating a closed survey, users can register to participate using a standard forum model (give user name, password and email and get sent an invitation email).
We would like to get feedback on the users of one survey by inviting referees to rate them in another survey. To this end, users of Survey 1 will provide contact data (Name, email address). Upon submission, this data should be used to send the referees an invitation to a second survey using the provided data to create the user and to send out the invitation mail.
The freelancer would therefore have to:
a) Identify the function responsible for creating users in the user token table of the 2nd survey.
b) Indentify the function responsible for sending out invitation emails for the 2nd survey.
c) Find a way to identify the relevant answers in the 1st survey (should be no problem, since they have question id codes when submitted).
d) Grab the submitted data in survey 1 and send it to the functions identified in a) and b) to create a user in survey 2 and mail him his access data.
e) The user created must also contain some way to identify the referring user. This can be done by writing the user token of survey 1 to the user-defined "attribute_1" field in the survey 2 token table.
f) Since users can get back and forth in the survey, it must be ensured that the "register and mail" is only done if there is no such user already created (no mail bombing on every visit of the page).
Since all relevant functions are already in the code, I expect this to be a low to medium difficulty for an IT professional.
We will provide a testing platform with a current version of Limesurvey and the survey in question already installed. FTP and MySQL access will be provided.
Four notes about the contract:
1) Time is extremely short (about one week) since another contractor dropped out at the last minute. This absolutely needs to be done on time!
2) Work is subject to an standard University work contract. All coding done will become the property of the University.
3) University guidelines do not allow us to pay out milestones on projects with such a short duration. You will be working for Germanys third largest University so that there is no risk of default. I will provide full contact data upon formation of the contract so that there can be no risk on your part.