Mahoodle SSO Config

June 25th, 2009

Moodle and Mahara complement each other quite well, and it’s been possible for a while to set up SSO between them.

We do a lot of Moodle+Mahara with SSO for our clients - and most of these are hosted on the same web server, but following the instructions in the document I linked above can be tedious and time-consuming!

So I wrote an auto-config script that does the work for us!

to keep it simple at this stage it is a single file, it contains lots of hard-coded error strings, and doesn’t always display them as pretty as it should, but it works!

just drop the file into your moodle/admin directory and call it via the browser (you will need to be logged in as an admin to use the script)
if your Mahara install has been dropped into your Moodle webroot, or if it’s in the directory above your moodle webroot it will automatically find it, and display the path in the form on the screen - if not, you will need to know the server path to your mahara install - it’s the same as the $CFG->dirroot you have configured in the Mahara config.php

Once you’ve entered the Mahara dirroot on the form - hit execute, and it will go through all the steps necessary in Moodle and in Mahara to configure them to talk nicely to each other! - when it gets to the Mahara configuration, you will be asked to login to Mahara - make sure you login as an admin!

the file is available here (although I’ll put it in contrib and the modules & plugins db at some point soon)

keen to hear of any issues you experience or any ideas for improvment!

SCORM Engine

May 27th, 2009

I’ve just noticed this post on Rustici’s Blog -they’ve also mentioned in the past about the possibility of offering a commercial plugin for Moodle and their SCORM engine.

One of the questions posed on their post is:

Q: Would open source adoption increase revenue substantially?
A: Doubtful. If the SCORM Engine were part of Moodle, for example, would any Moodle user come to us for a support arrangement? Or would they go to a Moodle host? Would we continue to appear to be a distinct entity in the eyes of a user? We don’t think so, and given that, what’s the positive impact for us? (It is, after all, about us, in some respects.)

While this may seem selfish to some people in the open source community - it’s also a very important one that many open source communities battle with! Rustici is a Business that needs to make money to pay employees so they can pay their mortgages etc… I presume a large amount of their income comes from the licensing of their SCORM engine.  SCORM LMS development isn’t cheap - and it’s not always easy to find someone to fund the full development work, but it’s not as hard to find people willing to pay smaller amounts of money to get a SCORM compliant Engine! - So when SCORM 2.0 comes out finally - Rustici may be in a better position to spread the cost of development across a larger group of clients rather than the traditional Moodle method of a single up-front cost.

But eventually, an Open Source based LMS will implement SCORM 2004 and then 2.0 (maybe) - we’re hoping this will happen for Moodle soon! - So any income that Rustici receive for licensing may decrease significantly when that happens. But - if the SCORM engine in Moodle was an open-source engine from Rustici - then the profile Rustici would get from this integration could improve Rustici’s revenue rather than decrease it!

So will Rustici release an open source version of their Engine? - I would love to see it happen, but I don’t think it is likely at this stage! - in the meantime it will be good to see a commercial offering from them to allow people who really need compliance/certification inside Moodle to have a viable option!

SCORM 2004 in Moodle

May 23rd, 2009

Now that we’ve manged to get Moodle 1.9 Stable to pass all the SCORM 1.2 tests, there’s been a lot of talk between Moodle Partners and other Moodle users about SCORM 2004. I’ve posted about this in a few places in the moodle.org forums 1 2 and I’ve sent various e-mails to a range of interested users! - here’s my attempt at summarising it all in one post!

To get to where we are today took 3 months of solid funded work (thanks to Moodle HQ) from 1 full time Senior Developer(Piers), with 1 part-time Senior Developer supporting(me). This included closing approximately 160 issues in the Moodle Tracker, and modifications to support the ADL test suite.

The SCORM 1.2 test suite comprises of 2 test packages. SCORM 2004 contains 103 test packages, of which Moodle currently passes 2 (at least it did last time Piers ran the tests) - It’s really hard to define how much time it would take for us to complete SCORM 2004 so it passes all the different tests!

Sequencing and Navigation is a big chunk of SCORM 2004 that isn’t implemented - we expect that once this work is completed a bunch of the test packages will pass. I’ve seen estimates that put completion of SCORM 2004 work at 6-8 months or even more! - there are also a range of SCORM 2004 bugs that are related - for more details see MDL-7068

We’re currently attempting to source an initial 3 months worth of funding to continue work on SCORM 2004 - we believe that 3 months would be a worthwhile effort,  at the end of which we would have an accurate picture on what it would take to complete! - bounce me an e-mail if you might be able to help fund this! - dan@danmarsden.com

Plagiarism Detection Competition

April 29th, 2009

Yahoo Research have sponsored a Plagiarism Detection Competition with a 500Euro prize
details here: http://www.webis.de/pan-09/competition.php I wonder if something like the Moodle Crot Block could be a contender?

New version of Turnitin Integration

March 1st, 2009

Last week I updated the turnitin version in CONTRIB - and I realised there have been a few changes recently, but I haven’t actually mentioned them anywhere! - here is an attempt at some “release notes” for those interested!

  • Improved display of errors to both Students and Teachers -  errors in the 1000 series are now printed directly to the screen instead of just displaying the error code to teachers.
  • A new option to the advanced assignment type has been added to allow teachers to choose when the files are submitted to turnitin - before or after a student has submitted the files for marking. (thanks to Darren Harkness from Athabasca for this patch!)
  • 419 error codes were occurring for older assignments due to a bug that has been fixed
  • 407 error codes were occurring due to the API calls happening too fast for the Turnitin API to catch up
  • 31 error codes were occurring due to files being deleted before submission to Turnitin - a check for file existence was shifted to address this.
  • new css class added to similarity links to allow better control in css
  • improved error checking and debugging information to various areas.
  • A bug with the logic checking for closed activities has been fixed

Hope that’s useful for some people! - I’ve also been talking with the Crot block authors this past week - I’m hoping there’s a way we can integrate the crot and turnitin work so that they are both available via a similar interface!

3 March 09 Edit: looks like I introduced a bug with the single upload assignment type in this last change - should be fixed now!

Student Feedback

January 20th, 2009

It’s really important for teachers to get feedback from their students - it can be very humbling, but it is always good to try and improve where we can. Teachers and Developers engage in the moodle.org forums to constantly refine Moodle, but we can sometimes miss the voice of the students! Alex Miller has a post on the LTT blog about a session at Moodlemoot AU last year presented by some Year 12 students. One of the comments is directed at teachers - “Our teachers don’t know enough about the capability of these systems, which frustrates us, let us help!”

This really points out our need to train the teachers!- Moodle has a great Teacher certification program facilitated by Moodle Partners all over the world, I’d highly reccomend this program, the more teachers understand Moodle, the happier the students will be!

I also find the end of that statement interesting “let us help!” - students are a great resource, make sure that you provide tools in your courses to allow your students to share information - encourage it! - I’m looking forward to see the new Wiki tools get integrated into Moodle - engaging your students to generate wiki pages based on the course content will help them learn, and provide a great resource to share with other students!

The comments by the students in the LTT blog regarding social networking is interesting too! - Teachers have a range of opinions on this as shared in the moodle.org forums, it’s good to hear what the students feel about this too! - maybe something for a future blog post!

Moodle 2.0 patches

January 12th, 2009

I’ve been working on getting a few patches ready for 2.0 this week that have been sitting in my list for a while! 2.0 is shaping up to be a really good Moodle release!

MDL-7206 - a patch to allow all assignments to be downloaded in a single zip
This is something I wrote a while back that has been hacked at by various people and a patch in that issues is available for 1.9 - I’ve wanted to get this into core for a while, but haven’t ever got round to it!

Some issues around error handling in backups - silient backups/restores dont’ do any error reporting, so I’m planning on modifying the backup_logs table to allow other errors to be saved other than just data related to scheduled backups.  details on this are in MDL-14736 and MDL-12037

I’d also like to prepare a patch for a new backup/restore type that would allow a restore to update a course, rather than duplicating or needing to delete the content of the course first - it would be nice to see this feature integrated into an improved backup/restore UI to allow a teacher to select each individual activity/resource and decide whether to update/delete/roll dates forward etc.

And then theres the Turnitn stuff I’d like to get into core, although it will require some funding so I can convert the code to work with the new stuff in 2.0

Turnitin and Moodle

December 18th, 2008

It feels like a long time ago when I first started to hack on a Turnitin Integration with Moodle - I was inspired to put something together after Turnitin released their Moodle Assignment Type which provided SSO into their site so that students didn’t have to go to the turnitin.com website login, and upload their files… I didn’t really like this much for a couple of reasons

  • it presented a different interface which did not use the Site’s Moodle Theme (although it kept the Moodle header in a frame at the top of the page)
  • All the files were stored on Turnitins servers, so if an institution cancelled their subscription to turnitin there was no easy way of retrieving and storing the submitted files against specific users/courses/assignment
  • It required manual editing of config files for account Id’s, secret keys, api addresses, emails etc.

So…. I started hacking on an integration that allowed teachers to use the standard Moodle modules - such as the advanced and single assignment types with an extra setting that allowed them to “enable” turnitin for “this” assignment. It’s taken a lot of constant refining (and there’s still more to go) but we now have a patch that works pretty well for 1.9 (and a 1.6 patch too!)

The development on this patch was initially done in my own time, but more recently has been funded by the University of Waikato, with Sussex University funding the 1.6 patch!

This past couple of weeks, Waikato have paid for some improvements to the error reporting - it now displays nicer error messages to the students and staff when a file has been submitted that Turnitin Cannot process - like errors around submitting images instead of text documents.

One of the issues with the integration is that it uses a single “global Teacher account” - every assignment/course/file is connected to that single “Teacher” in the Turnitin system. I did this initially as the turnitin system only allows 1 teacher to be assigned to a course, and as Moodle allows multiple teachers, we needed to share a common teacher account. But! - this means that if we were to login as that teacher on the turnitin.com site, we would have access to all assignments created by the Moodle integration. This isn’t suitable for people using the Turnitin Grademark tool, or to allow teachers easy access to the extended featureset available on the turnitin.com site. I’d like to modify this to use a single teacher account for each course inside moodle, to allow better access.

There are currently a couple of issues around the Turnitin API that the Turnitin dev team tell me they would like to fix!

  • There’s currently no easy way for a teacher to use the Turnitin grading interface (grademark has some fancy features which the Moodle gradebook doesn’t!) and then have those grades sent back into the Moodle Gradebook - The Turnitin guys tell me they’re keen to implement this (not sure on a timeframe) - it’s advantageous to them as people only using the Moodle integration may not want to pay for Grademark if it doesn’t integrate with Moodle.
  • The standard Turnitin interface allows a teacher to elect whether turnitin will store the submitted assignments in their main database for comparison against other submitted papers. This option isn’t available as part of the api, but it is an option that a lot of people I have talked to would like to have.

Another thing that bugs me a bit about the integration in it’s current form is the method used to munge e-mail addresses when institutions don’t want their students to be able to access the turnitin.com site directly. all this currently does is add some text to the start of their e-mail address which is fine if the students cannot alter their e-mail address and use an internal organisation address, but if they can use gmail/yahoo accounts then the “munge” introduces a range of issues.

I added the “munge” feature because the Integration creates valid assignments/courses on the turnitin.com site, and if a student went directly to the turnitin.com site and submitted an assignment, there would be no record of that submission in Moodle - which would potentially cause confusion for teachers! - so the munge was added to prevent that from being happen.

A “better way” to manage this would be for the Turnitin API to allow assignments to be created that do not allow manual submission from the turnitin.com site…… I must remember to ask the turnitin team about this……

My thanks goes out to all the people who are using the integration and helping others “trying” to use it in the moodle.org forums - I get a lot of e-mail these days, and am constantly chasing my tail trying to respond to it all, so that help is really appreciated!

We do need some funding to do a lot of this work (including the work to create a 2.0 version of the integration and put it in Moodle Core) - let me know if this is something you might be able to help fund!

Less than 20 bugs in SCORM!

December 7th, 2008

We’ve managed to get the bugs in SCORM down to 17 issues! 7 are related to SCORM 2004, 6 are feature requests, and the remaining issues have a low impact for people using SCORM!

This past couple of weeks the following issues have been resolved:
MDL-17115 - Improved API check, which greatly improves the speed in which a SCORM object loads/performs for a user.
MDL-16651 - ability to delete SCORM responses
MDL-12588 - Restrict SCORM module availability via time/date duration (only in 2.0)
MDL-17034 - Update Frequency not enforced
MDL-11908 - allow skip content page with Multiple SCOS
MDL-11501 - improved control over SCORM content (2.0 only)
MDL-16123 - improved method of accessing external scorm objects via proxy

A couple of other small ones have been fixed too!

Of the remaining issues, MDL-16184 is probably the highest priority, then there’s all the SCORM 2004 work that needs to be done. We really need to put together a costing/quote to get the SCORM 2004 stuff finished so we can raise some $$ to continue to work solidly on SCORM

I’ve been impressed with the number of people helping out in the SCORM forum on moodle.org recently! Thanks to everyone who has helped in the forums and in the Bug Tracker! There also seems to be a decline in the number of people asking for help using older versions of Moodle which is great! - I’ve tried to improve a lot of the SCORM Docs/Faqs to help with this as well.

OLPC and Moodle

November 25th, 2008

I’ve been playing around with an OLPC laptop from Martin Langhoff recently(so have our kids!) This is an amazing project! - Part of their mission statement: “To create educational opportunities for the world’s poorest children by providing each child with a rugged, low-cost, low-power, connected laptop with content and software designed for collaborative, joyful, self-empowered learning.”

Larissa using the XO

Larissa using the XO

I have friends in the mission field overseas who tell me stories about the limited resources available to the children, these laptops are soo cheap and yet, they provide an abundant source of learning! - I’ve really been amazed at the quality and the quantity of what the OLPC team have packed into this device, especially the focus on applications that are simple and fun to use, and have solid learning objectives.

Martin Langhoff has been working on the School Server for the OLPC project, and Moodle is going to be a core part of this which looks quite interesting…..

Moodle has traditionally been used by higher education institutions, but as it has matured, it has been picked up by a range of other organisations (here in NZ it’s being picked up by a lot of government departments!)  the OLPC program brings in a very different demographic - 6-12 yr old children with no computer experience, no IT support, and maybe 1 teacher? From what I understand - the “school server” will sit at the school and the teachers won’t know how to configure/administer any of the usual stuff, so it will just need to reliably work out of the box. Martin alludes to some of the changes that are going to be needed here I’ll be watching this project with interest, and may dig out an old box at some point to install the school server to connect to my XO at home!