Welcome, Guest
Username: Password: Remember me

TOPIC: Daily lecture appraisals

Daily lecture appraisals 1 year 11 months ago #86728

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Hi,

I am looking for a way of getting feedback from students after a series of lectures. I have a table of lecture times, titles and speakers, and a table of student email addresses. I want the same feedback questionnaire completed by each student for each lecture. Each lecture needs to have its own data, and the questionnaire for each needs to become active for a two week interval following it's occurrence. Once a lecture finishes, a invitation email with a tokenized URL should go to each student.

"Can I do this with LimeSurvey?!?!??"

Thanks!

John
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86754

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4191
  • Thank you received: 787
  • Karma: 359
You can copy the survey and export/import the token list for each lecture.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86755

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
thanks for responding. I'm really looking for a way of automating, I should have said, there are about 250 lectures per year, so manually copying would be tricky. Also I need to be able to set it all up in advance so that the invitations go out at predefined times.

I'm guessing I'd need to learn how to write directly into a Limesurvey database?
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86756

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4191
  • Thank you received: 787
  • Karma: 359
Perhaps the remote control for 2.0 will help - docs.limesurvey.org/RemoteControl+2
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86758

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thanks! That does look like it would do what I want. I was rather hoping to find a system that didn't require any bespoke scripting but I guess that was a tall order!
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86847

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
If you know that a user is allowed to rate X lecturs, you can set the "uses_left" value at the tokens table to X.

At a first question you can provide a list of lectures, either as a predefined drop-down list (which is hard/impossible to adjust later) or by asking the user to type the title and use this workaround: docs.limesurvey.org/tiki-index.php?page=...wers_for_text_inputs
The advantage is that you can always edit this file and add new lectures.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86875

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Autocomplete sounds really promising, thanks - we could do scheduled reminders by email outside of Limesurvey. A couple of problems exist though, a user could rate the same lecture more than once, but I think that is unlikely and we'd be able to detect it anyway. More tricky, how would reporting work? I don't imagine it is straightforward to segregate reports according to the response to Q1?
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #86932

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
OK, I'm trying to work this with RC2, but I can't even get an import to work. I have made simple survey to use as a template, and then exported it as a lss file. Then I use a modified version of the php example on the RC2 page to try and import it, but I get the error:

"This is not a valid LimeSurvey survey structure XML file."

Here's my code.... any tips? I've tried using csv and lsa file exports too.
<?php
require_once 'jsonRPCClient.php';
 
define( 'LS_BASEURL', 'http://localhost/limesurvey');
define( 'LS_USER', 'admin' );
define( 'LS_PASSWORD', 'xxxx' );
 
 
// instanciate a new client 
$myJSONRPCClient = new jsonRPCClient( LS_BASEURL.'/index.php/admin/remotecontrol' );
 
// receive session key
$sessionKey= $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD );
 
$surveyStruct = file_get_contents('http://localhost/survey_template.lss');
 
print_r($surveyStruct, null );
 
 
$iNewSurveyID= $myJSONRPCClient->import_survey( $sessionKey, $surveyStruct, 'lss' );
 
print_r($iNewSurveyID, null );
 
// release the session key
$myJSONRPCClient->release_session_key( $sessionKey );
 
?>
Last Edit: 1 year 11 months ago by drjaking.
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 11 months ago #87029

  • drjaking
  • drjaking's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
I'm making progress with this - I can now import, activate make a token table for a survey from a template. But I can't import participants, becuase I can't figure out what the structure should be for the participant data. Is it documented anywhere? If I use the following, all I get is three blank tokens (ie one for each field in the array I pass):
$participants = array("firstname" => "John", "lastname" => "King", "email" => "abc@def.ac.uk");


Can anyone help (bearing in mind I know zero PHP!)?

John
Last Edit: 1 year 11 months ago by drjaking.
The administrator has disabled public write access.

Re: Daily lecture appraisals 1 year 7 months ago #92067

  • Pipo
  • Pipo's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hi Dr Jakin,

Your array should be a 2 dimensional array like this one :
$participants[] = array("firstname" => "John", "lastname" => "King", "email" => "
This email address is being protected from spambots. You need JavaScript enabled to view it.");
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.223 seconds
Donation Image