Go here for more details on this block: http://moodle.org/mod/forum/discuss.php?d=51061
As we (UQÀM) are in our migration process, your contribution will be a useful add-on to our main migation process.
P.S. I will test it in the next days and hopefully integrate other question types...
This tool could help a large number of instructors. With the VERY serious problems that the Schools that have been forced to migrate from WebCT 4 to WebCT 6 are experiencing, I foresee a massive adoption of Moodle by different Schools. The Community College where I teach has been very seriously damaged by the new WebCT 6, the "patches" for fixing their original bugs have created more problems and have not fixed anything. We are now searching desperately to move into a more reliable (and working!) platform. We are regarding Moodle as our first choice. That means that we have to migrate more than 200 courses. Most of them but not all, were WebCT version 4 courses and are still in that server. I understand by reading your "README" instructions (with "expanded control panel" and so forth) that the tool migrates WebCT version 4 courses, correct?
I will be trying some importing of quizzes and will let you know how it goes. You can be sure that this tool will be used by a large number of very grateful people.
We are in the process of migrating from WebCT 4.1 into 1.8.4 and have been doing some testing using the Respondus plugin. So far it works well with MC, T/F, short answer and essay. Thank you
Has anyone had success exporting questions from WebCT with images?
We are using WebCt 4 and we want to move all our quizes to Moodle 1.9
How can I use this tool please?
Also, what about calculated Q, and Qs with images?
i.e. WebCT CE4 import tool of Dan Stowell.
P.S. I was the one who did the modified version of the Dan Stowell code.
No problem, I will try to export the quizzes from one of my WebCT 6 courses (the one less damaged in the migration). It is not clear I'll be able to do it, since the system is not responding much, but I will do my very best.
As far as WebCt 6, I can talk about the problems I have encountered as an instructor, but I know that there are very serious issues in the administration part. There are a number of problems with the "custom links" that an instructor creates to access web-pages outside the course, they "freeze" in a funny mode and can not be edited, have an icon associated or deleted completely from the course menu, all you can do when this happens is to "hide" them from view. The migration of all content (including text in quizzes) was affected by strange characters replacing quotes or apostrophes, and the fixing involves hours of editing. The part that has been more seriously damaged is the question banks/quizzes/grading/grade-book. What hit me the most was a problem related with bad handling of "null" values. My Math quizzes contain a good number of "zero" answers in Multiple choice and matching questions, and they have been absolutely dropped in the transfer. So "0" (zero) answers in multiple choice questions have disappeared (obviously including cases where the correct answer was in fact "0"); the matching questions that had a zero as one matching answer have dropped that answer but not its matching pair, and the matching pattern resulted completely scrambled. This was worsen by the fact that all matching questions could be opened for editing (trying to fix the problems caused in the migration) but WebCT will not allow you to save the fixes in any way (not even as a new question), so I was stuck with weird matching questions that had to be completely removed from the quizzes. For the short answer questions, all spaces in the possible answer patterns were lost, thus affecting everything in the grading. The convoluted "null" value issue has affected some questions and answer patterns in short answer questions in ways that now questions that have a total point value of say 3 points, can show values of 10 or 12 in the grading. WebCT tried to address some of the problems in one of the "patches" that we naively installed thinking that may solve some issues, but with the famous "patch", more bugs appeared. These "fixes" have now caused more serious problems with the handling of databases. Now when I am in one course, after having visited another one previously in the same login session, there is no complete refresh of the grade-book database. So although the grade-book shows the names of the students in the course I am currently in, when viewing the quiz submissions I get the submissions and names of the students of the previously visited course! The only way around is to logout and start from fresh exclusively in the selected course with a new browser window. Since WebCT does not allow multiple synchronous sessions you are forced to log in and log out continuously. All re-grading of quizzes has to be done now by hand by the instructor from within each student's quiz submission.
Students complain about quizzes and content pages not showing the images of equations or graphs, that the quizzes can not be accessed even when the time window should permit it, that from time to time they can not view their quiz submissions with the grading. Our IT people for example have been struggling since the beginning of January trying to access the courses saved from the last Fall semester with no success at all (not a single course can be retrieved), not to mention the continuous crashings bringing the whole server down.
I have gone through just one tenth of my list of problems with WebCT version 6, but I don't want to bore you with all these. I have heard of people in other Schools wisely referring to it as version "666." All I can tell you is that any tool to help with the migration of our courses will be extremely appreciated.
Many many thanks for sharing the work you have done. I will let you know about the progress with quiz exporting from WebCT 6 (of course if it allows me to do such...) and importing into Moodle with your tool.
Can you go back to the Webct version 4 data so that either at the instructor level you could use the Eric tool or at the administrator level you can use the tools we have develpped.
I still have access to the WebCT version 4 courses, the server is still up since is it is right now the only source of intact courses. So I can do exporting of quizzes as an instructor, but I do not have administrative rights for the exporting of the full course. I could ask someone in the tech group to help me with that. As you imagine they are desperate trying to rescue this semester's courses from the mess we got into, so they may not give high priority to my request. I'll see how it goes and will let you know.
Free (uncontrolled) entreprises...
Delighted to find the quiz migration block and it worked perfectly even for our largest quizes.
I have had to recreate most of our WebCT 4 courses from scratch in Moodle as so many of the originals had not been created using a conventional contents structure so would not export satisfactorily - a fairly vast task as you can imagine. Finding the quiz conversion was a real bonus.
Many thanks Fran
The reason behind you not finding tools to move questions from Moodle to WebCT6 is because everyone is moving away from WebCT 6 which is a VERY unreliable and sick platform. You will find hundreds of Schools adopting a new system after being bitten by WebCT 666... and running away from it as soon as possible. My School is one of them. I personally suffered the migration from WebCT 4 to 6 , two full semester with it reporting bugs and major problems and also been through the most awful "patches" sent by Blackboard to "fix" the problems. The "fixes" were even worse, they did not fix anything but sure they introduced lots of new bugs.
My healthy advice: Go to anything but WebCT 6.
I have managed to make it work on 1.9 beta and here are some quick-hack modifications needed :
for webct_migration/dblib.php file,
in add_category() definition, replace $sqlquery= ... with
$sqlquery = "INSERT INTO " . $CFG->prefix . "question_categories (contextid, name, info, stamp, parent, sortorder) VALUES('" . 1 . "','"
. $newcategory . "','" . $newinfo . "','" . make_unique_id_code() . "','" . $newparent . "','999')";
and in find_category_id(), replace $sqlquery = ... with
$sqlquery = "SELECT id FROM " . $CFG->prefix . "question_categories WHERE name='" . $category . "' AND contextid='" . 1 . "'";
With these modifications, added categories fall into the 'core system' category (contexitid = 1).
Seemingly in 1.9 beta the structure of the question_categories table has changed and there are no 'course' and 'publish' columns and 'contextid' instead.
I have tried to use Migration tool on Moodle 1.9 and had the same problem you mentioned, but I have tried 1.6 then, and received structure of empty question categories as a result only. Could you somehow place your version of this tool into site so it could be available for downloading?
Thanks in advance
Don't know what's going on
I have replaced dblib.php with the one you attached - now I have empty set returned even in mdl_question table. Maybe something is wrong with my block itself, not just dblib.php? Also I wanted to ask - this block returns the whole structure of quizzes into course, or it imports questions only?
I would be very grateful if you could send me whole workable version of this tool, if you would be so kind.
I guess no quizzes are imported, only questions.
I have set up a trial site for you. I will inform you later.
Does this migration tool bring images in MCQs from WebCT 4 to Moodle 1.9? I've tried using the Respondus Importer with 1.9 but it doesn't import any images contained in the questions / answers so I'm looking for an alternative.
(The Respondus importer does import images into 1.8.3)
We are considering switching from WebCT 8 (WebCT 6 + small upgrade) to Moodle. The tool that would make the switch much easier is to have a tool that would convert the questions in WebCT 8 to a format compatible with Moodle 1.9.2. I have already verified that questions in Respondus can be imported into Moodle in the QTI format but unfortunately only a few of our teachers are using Respondus. I have been working on a method of converting questions exported from WebCT 8 to GIFT format. So far I have successfully converted the questions for two teachers from WebCT 8 to Moodle. The method only works for pure text multiple choice and essay questions but would probably work with pure text short answer questions if I could find a teacher here who uses them. Unfortunately the method is not a Moodle module/plugin. The method is:
1. Export questions from WebCT 8.
2. Insert values in a shell script for the WebCT Course being processed.
3. Run the shell script which uses a C program on a Solaris box to convert the file to GIFT format.
4. Manually create the necessary question categories in Moodle.
5. Import the GIFT formatted file into Moodle.
Is anyone else in a similar situation and interested in helping me test this method?
I have over a thousand questions in webct 4.1 I'd love to massage into GIFT format for import to Moodle 1.9, along with their over 20 categories. Don't think it would work with your WebCT 8 format, though. We need better quiz import tools!
Wish I could help you.
Of work on question/format/webct/format.php to make it better. I am sure Howard would be delighted to receive improvements and integrate them.
Can you give an example of the actual WEBCT 8 question text format export to see if they change their format or do some tests yourself.
However this work only for questions without images.
Dumb new Moodler here. Thanks for the work on the quiz migration tool. What am I doing wrong here to get this message? Am on WebCT 4.1 and Moodle 1.8.2, going to 1.8.3 over weekend.
Step 3 - Importing your quizzes
Please wait ......
This may take a few minutes.
Fatal error: Call to undefined function simplexml_load_file() in /moodle/website/webct_migration/quiz/step3.php on line 57
Step 3 - Importing your quizzes
Please wait ......
This may take a few minutes.
Categories successfully imported
Questions successfully importedhere to go back to your course
After this message, I click to go back, but the quiz is not added.
I'm kinda new to moodle and will be very pleased to have your opinions on this problem.