Problem in Jgloss

Problem in Jgloss

by rose bally -
Number of replies: 21


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

Attachment Quizport_img.GIF
Average of ratings: -
In reply to rose bally

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

> 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:

 

In reply to Gordon Bateson

Re: Problem in Jgloss

by rose bally -

Sorry!

Not working in the sense the left part (left container) of the html file is not displaying in Quizport module .....


Please find the attached file that is displaying in courses......
Attachment Courses_img.GIF
In reply to rose bally

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Thank you for the extra screenshot.

It seems the QuizPort download is missing a javascript file, jgloss.js.
I will investigate that and let you know what I find out.
In reply to Gordon Bateson

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi Rose,
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
In reply to Gordon Bateson

Re: Problem in Jgloss

by jagu s -
Thank you!

Gordon for your speedy response.

I have tried that and updated my Quizport module
even then the text is next displaying but the container
is displaying .

Please find the attachment below......
Attachment updated_quizport.GIF
In reply to jagu s

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Please upload the quiz and images to my server so we can look at it together there. Thanks.
In reply to Gordon Bateson

Re: Problem in Jgloss

by jagu s -
The text is not displaying in the right container..Please help me ...

In reply to jagu s

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
> Please help me ...

I am trying to help you.

I cannot reproduce the problem using my quizzes so I would like to use your quizzes and your images. That is why I have asked you to upload the quiz and images to my server.

Are you able to upload your quiz and images to my server?
In reply to Gordon Bateson

Re: Problem in Jgloss

by jagu s -
How can i upload my quiz and images to
Moodle server....Please help me i'm new to moodle.
In reply to jagu s

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
>  How can i upload my quiz and images to Moodle server....

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 reply to Gordon Bateson

Re: Problem in Jgloss

by Glenys Hanson -
Hello Gordon,

In icon.gif Unit 4: Elephants - exercises, I've just added to your site, JGloss Unit 4: Some vocabulary help, works fine except for some images I've put in the popups. I get an "images not found" error message, but they are in fact there. The images are visible in the Hot Pot version in your Files area.

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
In reply to Glenys Hanson

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi 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
In reply to Gordon Bateson

Re: Problem in Jgloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
HI Glenys,
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
In reply to Gordon Bateson

Re: Problem in JGloss

by Glenys Hanson -
Hi 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. thoughtful

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


In reply to Glenys Hanson

Re: Problem in JGloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
Hi 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 cool

> 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
  1. Site administration -> Modules -> Activities -> QuizPort
  2. click the "Clear QuizPort cache" link in the "Enable QuizPort cache" section
reset any cached images on your browser
  1. go to the "Files" area of your Moodle course
  2. click on the links to the images which are used in the JGloss to make sure you can see them
  3. you might have to force-refresh the page (Ctrl + F5) to get the images to show
  4. retry the JGloss.
have the browser preload the images into the quiz
  1. open the html file for the quiz with you favorite text editor
  2. locate the following code:
    PreloadImages('african_elephant.gif','asian_elephant.gif');
  3. add the relative urls of images that are used in the popup definitions. e.g
    PreloadImages('ear.png','african_elephant.gif','asian_elephant.gif');
  4. save the modified html file
  5. retry the JGloss quiz
Please try the above and let me know how you get on.

thanks
Gordon
In reply to Gordon Bateson

Re: Problem in JGloss

by Glenys Hanson -
Hi Gordon,

I'm afraid none of that works in either Firefox or IE8 on my PC (I'll try in a couple of hours on my Mac.) There's just a link for all of them: http://localhost/file.php/12/04unit/#

The other images on the page appear normally.

Bon courage!
Glenys




In reply to Glenys Hanson

Re: Problem in JGloss

by Glenys Hanson -
Hi 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
In reply to Glenys Hanson

Re: Problem in JGloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers
> I don't seem to be able to install a new version of QuizPort

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
In reply to Gordon Bateson

Re: Problem in JGloss

by Glenys Hanson -
Hi Gordon,

I found some Quizport files in the mysql folder and removed them ... but obviously it wasn't the right thing to do. black eye So I uninstalled and reinstalled Moodle(still wish I knew what I'm doing to cause the problem) and the images show up just fine. smile Better on the PC in Firefox than 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 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
In reply to Glenys Hanson

Re: Problem in JGloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

> 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 approve
Gordon

In reply to Gordon Bateson

Re: Problem in JGloss

by Gordon Bateson -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

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