Przemyslaw handed me a fairly long wish list of suggested improvements. This version incorporates all of them except for launching the Hot Pot activities in independent windows. Instead what I have done is to decrease the size of the top frame to the bare minimum so that there is more 'real estate' for the activity itself.
In addition, there is one BIG addition -- You can now specify the availability of Hot Pot activities in the same way as quizzes, with a starting and ending time and date.
The total list of improvements and bug fixes since version 1.2 is as follows:
* New Hot Potatoes icon.
* Log now displays the name of the accessed module rather than the module number.
* Error causing JMIX to rewrite improperly fixed.
* Now deletes all records when quiz is deleted from course.
* The size of the top frame has been reduced to increase the area for the quiz.
* A record is now written when the student initially opens a quiz. If it is not completed, the word "Viewed" appears in "View Results" instead of the lapsed time.
* Implementation of start and end date/time in the same manner as quizzes.
You can download the current version from:
Please post any problems or suggestions for additional improvements here. If you are having a problem, please mention what system you are using and which browser.
I use HotPot version 1.3
But have error occure
Please help me.
I want to try you mod of HotPot and I would like to translate it into spanish. As I know nothing of php, Can you tell me what files do I have to translate and what do I have to do?
1. Just put the attached hotpot.php file in "moodle/lang/(your language)/".
Change the part in single quotes in these lines to Spanish.
$string['modulename'] = 'Hot Potatoes';
$string['modulenameplural'] = 'Hot Potatoes';
$string['strattemptlabel'] = 'Attempts: Score, Date Time (Duration), [Penalties]';
$string['deleteall'] = 'Delete all';
$string['clearall'] = 'Clear all';
$string['really'] = 'Do you really want to delete all results for this quiz?';
2. Of course, Hotpot, itself, has options for various languages. Do you already have these set for Spanish?
Thank you for your Hotpot module. The translation into Spanish works fine.
But Hotpot only works fine with Jcloze and Jmath drag/drop. I have problems with Jquiz.
Error in Jquiz or shorts answers(document.hotout.endtime is null o isn't and object: document.hotout.endtime.value = (new Date()).getTime();
Error in Jmatch is a similar error: document.hotout.endtime.value = (new Date()).getTime();
From here you can download the files that works fine (before to upload to moodle). And from here the files that give me errors. And here are the files from moodle. I use Microsoft Internet Explorer 6.
Can you help?
Can you hotpot module work with Textoys? In hotpotatoes.net Textoys works fine.
These can be considered for a future version, however.
If you aren't concerned with the record-keeping function, any of these will probably work if the ADD/Resource/uploaded files option is used.
Works fine over here using IE 6.
Haven't got the time to test the other files.
I've put it into CVS at cvs:/contrib/hotpot and it will shortly also be on the Modules download page as an optional module. You have write privs to update it in CVS.
A few ideas that occurred to me in my quick look:
- The English name of the module could be Hotpot Quiz ... I'm thinking of teachers who come across it pre-installed and might not know what "Hot Potatoes" is.
- It's OK for your get_string() calls to directly refer to the Quiz strings if they are applicable, the hotpot.php language file itself shouldn't include or duplicate the quiz file.
- The file choosing procedure should probably be more like Resource does it (with the popup window), and needs some documentation to explain what to choose.
- You might want to refresh yourself on the coding guidelines regarding code formatting .
I'm looking forward to seeing this one grow!
Dear Martin, dear all
Thanks for the announcement. I am looking for the module to install but cannot find it. Perhaps it's just my mistakes or impatience. Just set up a new moodle installation on a more highly specced server and wanted to add the HotPot module. Any pointers, please?
Thanks. Got trapped for a minute there. Forgot to move the language file hotpot.php from the zip.file into the language pack. It's a bit tempting to just unzip the whole load into mod/ and then forget about the rest. Downloading the language pack of course does not help yet, as it's not there.
Many thanks again
When I try do do a Jquiz exercise I can see at the botton of the page
<INPUT type='hidden' name=
But if I download the file to my local computer everything is OK
When I finished it I get this error:
And If I click on View Results I get this:
|Francisco Gómez González|
With Textoys (websequitur) I get similar errors and at the end I get this:
But I do not understand why everything is OK with Jcloze:
And with JMath drag and drop everything is ok
but I get errors with Jmatch drop.
Can anybody help? What can I do if I know nothing of php?
This version should also handle 'texttoys' but I need some people to confirm this, as well as the other fixes, before uploading a new version to CVS.
I have install your new hotpot.php file and I still have the same problems.
I also have text it with Textoys and it does not work.
Maybe my settings aren't like yours but I cannot change the setting in my server. Have you test it in an Internet server. You can see the setting of my server in
I do not understand why everything is OK with Jcloze,
Another possibility would be for me to set up a similar system here, but I don't have time to do that right now. You are using EasyPHP1.7 on a WIN system with version 6.0 of Internet Explorer, right?
Ouch! I had. Okay, that goes on the 'to do' list.
Moodle HotPot: c:\archivos de programa\easyphp1-7\www\moodle/mod/HotPot/version.php was not readable
As you can see from the above I have a Spanish OS (just for interest, this) and a local install of Apache/PHP/ MySQL, as I am at the moment trialling and don't need/want to upload to a remote server, but Moodle works just fine. Is there something I am doing wrong? I am using 1.2
$module->version = 2004043000;
Actually, there is a minor oversight in the installation instructions due to my lack of knowledge of how Moodle works. The 'version.php' file needs to contain a date which is newer than your current installation since that triggers moodle to install it. Now that a version of Moodle is out that is newer than my hotpot module, it probably won't install unless the attached file is used, or one that the user has updated.
Module HotPot: c:\archivos de programa\easyphp1-7\moodle\www\moodle/mod/HotPot/db/mysql1.php was not readable,
not surprising since
moodle/mod/Hotpot/ doesn't contain a folder called /db
Re the previous help, Thomas, "version.php" wasn't actually in
when I replaced the file here the first error went away , only to be followed by the one I am reporting now.
It looks as if I have a whole bunch of files in the wrong place?
I followed your "readme" and, apart from putting hotpot.php into moodle/lang/en/
I just put the whole resulting HotPot folder, from the "unzip" into moodle/mod, as this is what seemd to be necessary.
(sorry, this is getting a bit confusing, isn't it)
I don' want to start fooling around with everything, but maybe I should've put the files one by into the right places? Or maybe I added an extra layer or two of directories by mistake?
Really sorry about this, Thomas, I bet you have much better things to do, but I really would like to try out the module.
This should not be the case. There should be a folder inside "moodle/mod" called "hotpot" and inside it there should be a set of files plus one folder: db
Inside 'db' there should be two files only: mysql.php and mysql.sql If the file says 'mysql1.php' please rename it.
I think you took the entire unzipped folder and threw it into "moodle/mod" . The folder called "Hotpot" with a capital "H" and its two internal olders, "lang" and "mod" are just there for distribution purposes. Please review the 'readme' file once again.
Warning: main(../../config.php): failed to open stream: No such file or directory in c:\archivos de programa\easyphp1-7\www\moodle\lang\en\hotpot.php on line 9
By the way, what time zone are you in, Thomas?
That should to the trick.
What time zone am I in? Click on my picture!
I'm amazed, it scores, too!!! Well, well, well, done. Why on earth are you responding to me at this time of the evening?
Once again, a tus pies (have someone translate this for you if you don't know)