HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... email a quiz score (maxScore only)
email a quiz score (maxScore only)
  View type:
[:confused:]I am at the end of my rope and my wife is about to leave...

All I want to do is send a single score (maxScore)in the body of a "silent" email. Something like: "Quiz Score = 97." That's all.

Can anyone provide me any code I need to place in the html, and javascript for CourseLab to do this?

I have seen this done and I am willing to live with the following popups:

"This form is being submitted using e-mail. Submitting this form will reveal your e-mail...(OK)

"A program is trying to send an e-mail message on your behalf... (Allow)

A favor or a reply is greatly appreciated
 
Hi, Robert,

please look at this thread, where I just answered similar question:

<a href="http://www.courselab.com/db/cle/502C40DB3B6C18A6C32575DD003A4A5A/main_id/DEB1AE8A7B1B3576C3256FCF0055974C/extended/1/sid//did//forum.html">Link to thread</a>
 
Can't you use the ACTION "EXTERNAL URL" with a url of type :

mailto:you@yourdomain.com?subject=John Doe's quiz result&body=Quiz Score is 97


Jean-Matthieu
 
 
Thank you, Jean Matthieu, for replying to my post. The solution needs to do at least three things:

1. Auto populate an email with "To:" and "Subject" fields like the code you provided.

2. Auto place into the email body the quiz score ($OBJ_maxScore)[:confused:]

3. Auto "Send" the email "silently" from the learners' email client. [:confused:]

Thanks!
 
 
 
Robert,
All the things you are trying to do silently and behind the scenes are:
(a) the kind of thing bots do, as in bot infections.
(b)reliant upon the client PC having a mail client installed.
PHP or javascript on a remote server is as Barend notes probably the best option for this.
Jeans solution requires you being able to write a small javascript that passes the score value.
If this is likely be something you want to do on a regular basis then quite honestly the easiest and most secure way to achieve you aims is to use an LMS.You get the added advantage of being able to control and monitor users access fully.
All you'd need would be a web server, either your own if you have a fixed IP address or even buy some LAMPS server space which will be quite cheap. A good configurable LMS like KEWL, Moodle or Claroline is the cost of a download.
If you are offering this as a commercial service then you should be thinking of using a professional looking approach.
 
 
 
 
Thanks, Nick.

Our PeopleSoft LMS is not (yet) configured to track WBT scores, but can launch SCORM/AICC-compliant eLearning. (My understanding is that ability to capture elearning scores in our LMS is about a $10k addon!.)[:o]

Currently our eLearning development is for internal audiences, so bots and email clients are not an issue. (I am an instructional designer who knows enough code to keep my job, but I am no IT code maven or configuration specialist for sure,)

The solution I use now only launches the WBT from (the LMS and tracks enrollment.[;)]) Quizzes for the WBT were developed in Captivate[:(] which offers a Quiz Reporting email reporting option in additon to SCORM/AICC which as you probably know outputs scores, interactions, attempts, etc in a comma delimited file for to populate some LMS database)

Now, these Outlook emails are "silent" and are being sent to a SharePoint discussion list I set up to recieve them. (Trainers then manaually enter the scores back into the LMS[:(]) This temporary solution works great except for the popup alerts I mentioned in my original post, but that's okay... it works![:p]

CourseLab is a fantastic tool to develop eLearning courseware. It beats it-can-do-some-things Captivate and certainly beats it-can-do-it-all Flash.[:cool:]

I am not a coder so can someone post a sample PHP code that emails the CourseLab quiz score from OBJ_ID.maxScore?
 
 
 
 
 
just for a start, see topic:
E-mail course completion Carl Hodkinson 24.06.09

a rough outline:

in cl make a var score_from_cl and give it the right value
then call test.php?score=#score_from_cl

in test.php:
$score = $_GET['score'];
$to = "where@to.post.to";
$from = "course@mydomain.com";
$subject = "I send you a score";
$headers = 'From: '.$from. "\r\nReply-To: ".$from;
$body = "the score I send you is ".$score;
mail($to, $subject, $body, $headers, "-f".$from);
 
 
 
 
 
 
LOL for $10K I could fly over, buy the hardware and configure a customised LMS and walk away with a reasonable profit!!

You could easily shift the results into a database from sharepoint... There is a post from a team in the NHS in the UK who were pushing results more directly to sharepoint, I might be visiting the site later in the year for something else and might be able to get and see them.. Maybe one of the dev team will read this and either add their comments to this strand or get a link to the post
 
 
 
 
Thanks, Nick.

Our PeopleSoft LMS is not (yet) configured to track WBT scores, but can launch SCORM/AICC-compliant eLearning. (My understanding is that ability to capture elearning scores in our LMS is about a $10k addon!.)[:o]

Currently our eLearning development is for internal audiences, so bots and email clients are not an issue. (I am an instructional designer who knows enough code to keep my job, but I am no IT code maven or configuration specialist for sure,)

The solution I use now only launches the WBT from (the LMS and tracks enrollment.[;)]) Quizzes for the WBT were developed in Captivate[:(] which offers a Quiz Reporting email reporting option in additon to SCORM/AICC which as you probably know outputs scores, interactions, attempts, etc in a comma delimited file for to populate some LMS database)

Now, these Outlook emails are "silent" and are being sent to a SharePoint discussion list I set up to recieve them. (Trainers then manaually enter the scores back into the LMS[:(]) This temporary solution works great except for the popup alerts I mentioned in my original post, but that's okay... it works![:p]

CourseLab is a fantastic tool to develop eLearning courseware. It beats it-can-do-some-things Captivate and certainly beats it-can-do-it-all Flash.[:cool:]

I am not a coder so can someone post a sample PHP code that emails the CourseLab quiz score from OBJ_ID.maxScore?
 
 
Afaik you need either a server script (in a php script you can mail whatever you want, the user won't know) or 'more than javascript & html'.

I know Camtasia can do it, it uses the computers installed emailcliлnt but somehow suppresses the client's ui. But camtasia makes swf, not javascript-html.
Maybe silent email is only possible using outlook.

I would go for a php solution if your server allows php scripts. NB: passing only name and score is not an option if your student can access the temp internet files; it's too easy to make a call to your php script with a better score, directly in a browser.
Subject:
Message options
No additional options