Hello!
I have uploaded html files created in
hot pot and it has different levels, as suggested
in this discussion forum im using QUIZPORT module
for the same. everything is working fine but
html files which is created using Jgloss is not
working in QUIZPORT but when i upload it in
courses without using QUIZPORT it is working...
Please find attached the file..........
Could you guide me on this
Hoping to hear soon from you
> html files which is created using Jgloss is not working in QUIZPORT
> but when i upload it in courses without using QUIZPORT it is working
Please explain what you mean by "not working" and "working"
Please upload the quiz and image files to my server so we can look at it together:
- URL: http://bateson.kanazawa-gu.ac.jp/19/mysql/
- Course: Course Fullname 101
- Username: guestteacher
- Password: quizportv09
It seems the QuizPort download is missing a javascript file, jgloss.js.
I will investigate that and let you know what I find out.
I have added the missing jgloss.js to the QuizPort download:
Please update the QuizPort module on your Moodle site when you have time.
thanks
Gordon
Login to my server using this information:
URL: http://bateson.kanazawa-gu.ac.jp/19/mysql/
Course: Course Fullname 101
Username: guestteacher
Password: quizportv09
click on the "files" link on the course page
create a new folder
upload your files into the new folder
In

As there's no score there's no OK button to click on, and I don't know how long students are likely to want to stay on this page, the Give Up button seems the most appropriate. However, the phrase "Give Up" doesn't really fit the situation (and my students won't know what it means). How about "Move On" or "Move on without a score" ? If there's a reason for retaining Give Up, I'll just write in the instructions to the students, "When you want to continue to the exercises, click on the Give Up button."
Cheers,
Glenys
thanks for putting that quiz in. I particularly wanted to have a look at it so that I could get those images working. I think we are close but obviously not quite there yet.
For the time being I will leave the text for the button as "Give Up" but I agree that are times that the teacher will want to use something else. If you *always* want something else then you can change the text string in the QuizPort language file - mod/quizport/lang/en_utf8/quizport.php, but I will try to think of a more flexible system as well.
Regards
Gordon
I have fixed the scripts that administer JGloss so that image that are in definitions will appear. You can use relative or absolute URLs in the <img> tags.
The modified scripts are available in the latest download of the Quizport zip download
thanks for your help in providing a test quiz to fix this issue
Gordon
I can see the images are appearing perfectly (in fact, better than in Hot Potatoes on Moodle where they're a bit shaky) in my JGloss exercise on your site, but I can't get it to work on my local installation. I've downloaded the quizport-module.0.9.x.zip (twice over) from the link you provided, removed the old quizport JGloss exercise, recreated a new one, emptied the browser cache, rebooted Windows ... and it still doesn't can't find the images.

By the way, if there are any other Hot Potatoes or TexToys types of exercises you'd like me to try out in QuizPort, just let me know.
Cheers,
Glenys
thanks for confirming you can see the images in JGloss now.
> I can see the images are appearing perfectly
> (in fact, better than in Hot Potatoes on Moodle
> where they're a bit shaky) in my JGloss exercise
Yes, in Firefox the images in the standard JGloss format flicker, don't they. I noticed this while I was testing so I added a little fix which moves the image 5 pixels to the right of the mouse and this is enough to stop the flickering. QuizPort can do subtle fixes like that very neatly

> I can't get it to work on my local installation
> ... it still doesn't can't find the images.
Some things you could try on your local installation:
- clear the QuizPort cache on your localhost Moodle site
- Site administration -> Modules -> Activities -> QuizPort
- click the "Clear QuizPort cache" link in the "Enable QuizPort cache" section
- go to the "Files" area of your Moodle course
- click on the links to the images which are used in the JGloss to make sure you can see them
- you might have to force-refresh the page (Ctrl + F5) to get the images to show
- retry the JGloss.
- open the html file for the quiz with you favorite text editor
- locate the following code:
PreloadImages('african_elephant.gif','asian_elephant.gif');
- add the relative urls of images that are used in the popup definitions. e.g
PreloadImages('ear.png','african_elephant.gif','asian_elephant.gif');
- save the modified html file
- retry the JGloss quiz
thanks
Gordon
The images show fine on my Mac. And I can see that the problem is that I don't seem to be able to install a new version of QuizPort on my PC: I can see it's an old version because there's still the typo "conditons".
Hope that helps you to see where the solution could be.
Glenys
We had a similar problem a while back didn't we, and never really got to the bottom of it. It seems that either the QuizPort folder on your local server is not where you think it is, or it is there but you can't overwrite it with the new QuizPort files.
Maybe you need to shut down the webserver while you unzip the new QuizPort files?
Alternatively, can you do a Windows search for *all* folders called "quizport" on yoru C-drive (or which ever drive your Moodle folders reside on) ? Maybe that will reveal where the active QuizPort folder is ?!
cheers
Gordon
I found some Quizport files in the mysql folder and removed them ... but obviously it wasn't the right thing to do.


I also tried a Rottmeier JCloze dropdown (thanks to Deborah for reminding me of it and sending me the files) and that works fine too.
Now, I've got the hang of it, I really enjoy using QuizPort: it's so quick to set all these complicated parameters.
Cheers,
Glenys
> I found some Quizport files in the mysql folder and removed them
Oops, those were the QuizPort tables in the Moodle database. Sorry I did not make that clear.
> I uninstalled and reinstalled Moodle ... the images show up just fine.
Great. Thanks for the confirmation.
> on the Mac where the whole page "jumps" when you click on an image.
> That just in Firefox on Mac, Opera and Safari are fine.
I see. I have made a note to investigate FF on the Mac on Monday when I get to work.
thanks as always for all the feedback
Gordon
Dear Glenys (and other JGloss fans!)
thanks again for uploading your Elephants JGloss quiz to my server. I confirmed the flickering screen phenomena on FF 2 (Mac) and FF 3 (Mac) and modified the QuizPort module scripts to fix the issue.
FYI, there was some JavaScript in the HP ShowElements function which had a special workaround for an alleged bug on FF (Mac). There is a comment in the JavaScript which says ...
// FF on Mac bug : doesn't redisplay objects whose visibility is set to visible
However, this issue does not seem to apply anymore, so I have programmed QuizPort to remove the following two lines of JavaScript which only affect FF (Mac) and which were causing the flicker.
if (C.mac && C.gecko) {Els[i].style.display = '';}
if (C.mac && C.gecko) {Els[i].style.display = 'none';}
The modified scripts are in the latest QuizPort zip file. Please download and install it when you have time.
best regards
Gordon