Media files in a hotpot

Media files in a hotpot

بذریعہ Mariana Curado Malta -
جوابات کی تعداد: 7

we need to upgrade from Moodle 1.9 to Moodle 2.2.3+. We have tones of hotPots.

We decided not to migrate but to backup the courses and upload them in the new moodle 2.2.3+.

Everything is ok besides the hotpot activities (which are 70% of the courses):

  1. We have probs with the mix hotpots, they don't work in moodle 2.2.3+. Anyone can tell me why?
  2. The audio files need to be uploaded to the new moodle. I need to  update the new link in the XML file. How do I know the audio file link that is in the repository?

Hope there is someone out there that can help me. I would apreciate it!

Thank you!

Mariana

درجہ بندی کا اوسط: -
Mariana Curado Malta کے جواب میں

Re: Media files in a hotpot

بذریعہ Gordon Bateson -
Core developers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

Mariana

  1. Please explain more clearly what you mean by "they don't work"
  2. You may have some success if enable "legacy course files" and put all your audio files in there. HotPot will locate the audio files and copy them across to their respective HotPot activities as and when they are needed.

If you had migrated, (2) would have happened automatically.

I would recommend Moodle 2.3 over Moodle 2.2 because it allows files to be linked to a central repository rather than having to be copied to each individual activity where it is used.

If possible, I suggest you go back and migrate from 1.9 to 2.2, and then update to 2.3.

درجہ بندی کا اوسط:Useful (1)
Gordon Bateson کے جواب میں

Re: Media files in a hotpot

بذریعہ Mariana Curado Malta -

Hi Gordon,

THank you for your help.

1. empty page, only the link to the main page of the course. Only happens to the mix type of exercise. the others migrate well (unless the audio files but it is understandable)

Actually I did not perform an upgrade of moodle because i have read in a webpage here in moodle.org that it was better to create a new moodle from zero and do backup/upload the courses - it has been a huge work load and tiring. The database would be clean and new, they said. They said that they have experienced big issues with the database migration so i did not want to have issues....

I am going to upgrade to 2.3 as you sugest and then I get back to this post after that with more news. I don't understand the legacy mode you talk about, but anyway, after the upgrade I will try what you say. I have a repository (directory in the server with ftp access) with all the files.

Thank you again for your help.

Mariana

Mariana Curado Malta کے جواب میں

Re: Media files in a hotpot

بذریعہ Gordon Bateson -
Core developers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

Mariana,
thank you for the extra information.

  1. try enabling Moodle debugging (Settings -> Development -> Debugging), and see if you get a server error displayed in the browser. If not, then there is probably some kind of javascript error in your browser, so you will need to find out how to display javascript errors in your browser, and report back.
  2. "Legacy files" is a site wide setting - search for "legacy" in your Moodle site's Settings search box.

If you give me teacher access to your Moodle site, I would be interetsed to see firsthand the JMix activities that display the "empty page". I may be able to offer more specific advice on how to fix it. Please send the access details by private email to: gordon at-sign kanazawa hyphen gu dot ac dot jp.

regards
Gordon

درجہ بندی کا اوسط:Useful (1)
Gordon Bateson کے جواب میں

Re: Media files in a hotpot

بذریعہ Gordon Bateson -
Core developers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

Dear Mariana,
thank you for giving me access to your Moodle site.

The reason that some of the HotPot activities on your site appeared blank was that they contained unencoded accented characters. Hot Potatoes is supposed encode all accented characeters, but it seems that sometimes it doesn't.

The examples of accented characters that I found were in the "meta-data" of some of the Hot Potatoes files. For example, if you open the "Conj04_profissoes_2.jmx" file with JMix and then choose File -> Add MetaData, you will see a list of people who have edited the file. One of them is "Véronique", which has an accented "e". This "é" confuses the Moodle script which reads in this file.

Anyway, there's no need for you concern yourself with this issue. You don't have to change any of your Hot Potatoes files, because I have changed the HotPot module to deal with this situation.

I have updated the HotPot module on your site. Please could you check it works as you expect, and let me know.

best regards
Gordon

درجہ بندی کا اوسط:Useful (1)
Gordon Bateson کے جواب میں

Re: Media files in a hotpot

بذریعہ Mariana Curado Malta -

Hi Gordon,

I have moodle 2.3

I am getting back here to this issue becasuse I don't have a clue on how to define a hotPot with an image/sound file that is in a moodle repository.

Could you or anyone help me?

Mariana

Mariana Curado Malta کے جواب میں

Re: Media files in a hotpot

بذریعہ Gordon Bateson -
Core developers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر

Hi Mariana,
season's greetings to you !

to add an IMAGE:

  1. add a link from the "Source file" files area of your HotPot activity in Moodle, to the image file in the repository
    • go to your Moodle course page
    • switch into edit mode
    • click edit icon for your HotPot activity
    • in "Source file" files area, click "Add"
    • choose repository
    • choose image file
    • when prompted select "Create alias/shortcut"
    • click "Save changes" button and return to course page
  2. add the image to the Hot Potatoes file by copying and pasting the following HTML - change the jpg file name to the name of the image you want to use اشارہ
    <img src="my_image.jpg" />

to add AUDIO file:

  1. add link from HotPot activity's "Source file" files areas to the audio file in the repository (similar to adding image as described above)
  2. add the audio to the Hot Potatoes file by copying and pasting the following HTML - change the mp3 file name to the name of the audio file you want to use اشارہ
    <a href="my_audio.mp3">my_audio.mp3</a> 
  3. you may need to switch the "Use media filter" setting to "Moodle's standard Moodle filter" (see screenshot)

best regards
Gordon

منسلکہ Screen Shot 2012-12-28 at 12.15.07 PM.png
درجہ بندی کا اوسط:Useful (2)