Hi Shane!
I have just tried the latest version of the glossary module for moodle 1.5 and the latest CVS available version of filter.php $Id: filter.php,v 1.19 2005/02/25 23:18:09 ikawhero Exp $
but it still does not avoid searching inside the <head> and <script> tags as I had suggested... will you be doing it ?
Thanks
Joseph_R
Joseph Rézeau
Posts made by Joseph Rézeau
Thanks, Martin
That's exactly what I needed
!
So I've downloaded the latest version of Thomas Robb's HotPot module (v 1.5 2004/12/20 13:38:10). In Moodle 1.4.3 under Windows XP, it works all right except for the bug mentioned at the start of this thread, which I describe fully (only tested with a Cloze exercise so far).
From the point of view of the students, everything is OK: they can do the HP exercises, they can view their scores, etc.
From the point of view of the teacher, when you click on the View results link of any given exercise, you get this error message (it's printed about 3 to 4 times):
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in &server\moodle\mod\hotpot\report.php on line 80
Then the students' names & scores are displayed, but for each attempt we have 2 lines, including one with a number of zeros, like this:
Actually, I've noticed that when a student's HP data is saved in the mdl_hotpot_events table of the moodle db, it is saved twice: first incorrectly then correctly, as shown here:
The reason for the " Windows does not support dates prior to etc." messages probably come from those wrong "zero" lines in the database.
Thomas, we'd all be grateful if you could trace and correct that little bug...
Thanks in advance,
Joseph_R
That's exactly what I needed
!So I've downloaded the latest version of Thomas Robb's HotPot module (v 1.5 2004/12/20 13:38:10). In Moodle 1.4.3 under Windows XP, it works all right except for the bug mentioned at the start of this thread, which I describe fully (only tested with a Cloze exercise so far).
From the point of view of the students, everything is OK: they can do the HP exercises, they can view their scores, etc.
From the point of view of the teacher, when you click on the View results link of any given exercise, you get this error message (it's printed about 3 to 4 times):
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in &server\moodle\mod\hotpot\report.php on line 80
Then the students' names & scores are displayed, but for each attempt we have 2 lines, including one with a number of zeros, like this:
|
80 |
Actually, I've noticed that when a student's HP data is saved in the mdl_hotpot_events table of the moodle db, it is saved twice: first incorrectly then correctly, as shown here:
|
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
3 | 111 | 45 | 8 | 1109424287 | 1109424286 | 0 | 0.00 | 0 | null | |
|
|
|
4 | 111 | 45 | 8 | 1109424297 | 1109424286 | 1109424296 | 40.00 | 3 | null |
The reason for the " Windows does not support dates prior to etc." messages probably come from those wrong "zero" lines in the database.
Thomas, we'd all be grateful if you could trace and correct that little bug...
Thanks in advance,
Joseph_R
I get the exactly the same error message using Moodle 1.4.3, Windows XP.
Can anyone help?
Plus, in answer to Ale http://moodle.org/mod/forum/discuss.php?d=16806 Thomas Robb advised to get the latest files from http://cvs.sourceforge.net/viewcvs.py/moodle/contrib/hotpot/
However, I am finding the way that files are organized in that place very confusing, and apparently the only thing one can do is navigate through the whole directory and download all the files one by one, which is very tiresome
.
Thomas, could you please post a single zipped file including the very latest version of all files of the hotpot module? (including, if possible, the correction of the latest bug mentioned by Nicolas and Sean).
Many thanks in advance,
Joseph_R
Can anyone help?
Plus, in answer to Ale http://moodle.org/mod/forum/discuss.php?d=16806 Thomas Robb advised to get the latest files from http://cvs.sourceforge.net/viewcvs.py/moodle/contrib/hotpot/
However, I am finding the way that files are organized in that place very confusing, and apparently the only thing one can do is navigate through the whole directory and download all the files one by one, which is very tiresome
.Thomas, could you please post a single zipped file including the very latest version of all files of the hotpot module? (including, if possible, the correction of the latest bug mentioned by Nicolas and Sean).
Many thanks in advance,
Joseph_R
Thanks for your answer, Shane.
However, since I am only
a teacher using Moodle, not Admin, I do not have access to the php modules. All I can (and want to) do is use Javascript in my uploaded resources in my own courses.
Is there any way to get a date-time friendly string from that Unix datestamp using Javascript?
Thanks in advance,
Joseph_R
However, since I am only
a teacher using Moodle, not Admin, I do not have access to the php modules. All I can (and want to) do is use Javascript in my uploaded resources in my own courses.Is there any way to get a date-time friendly string from that Unix datestamp using Javascript?
Thanks in advance,
Joseph_R
Could someone tell me what is the format of the TIME parameter that one can get passed to the URL when adding an HTML file to a Resource?
It's a 10-digit number, something like 1109354000
I understand that the last 2 digits are seconds, then we must have minutes, etc. But how do I get a "real-world" date & time from this number ???
Thanks in advance,
Joseph_R
It's a 10-digit number, something like 1109354000
I understand that the last 2 digits are seconds, then we must have minutes, etc. But how do I get a "real-world" date & time from this number ???
Thanks in advance,
Joseph_R