some random moodle stuff
DESCRIPTION
Given at JISC South West Regional Support Center VLE Forum, 22 Oct 2008TRANSCRIPT
![Page 1: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/1.jpg)
Some Random Moodle StuffRecent Developments at South Devon College
Kevin [email protected]
South Devon College
22 October 2008
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 2: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/2.jpg)
SDC Webteam
Lead Web Developer New Media Officer
Web Developer Assistant Web Developer
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 3: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/3.jpg)
We have a vacancy
Web Developer
To design and develop web systems closelyintegrated with the college network, withparticular responsibility for the VirtualLearning Environment (Moodle) forE-Learning.
Salary: £21,275 — £22,940
Is this someone youknow?
http://www.southdevon.ac.uk/jobs
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 4: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/4.jpg)
Upgrade 1.7→ 1.9
Mostly trouble free...
Odd problem with SCORM (that no-one else has!)
A little trouble with slideshow, scheduler and feedbackmodules
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 5: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/5.jpg)
Upgrade 1.7→ 1.9
Mostly trouble free...
Odd problem with SCORM (that no-one else has!)
A little trouble with slideshow, scheduler and feedbackmodules
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 6: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/6.jpg)
Moodle and Git
ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...
SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 7: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/7.jpg)
Moodle and Git
ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules)
but we also want to track the changes fromupstream...
SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 8: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/8.jpg)
Moodle and Git
ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...
SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 9: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/9.jpg)
Moodle and Git
ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...
SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 10: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/10.jpg)
Moodle and Git
Catalyst have done the hard work for us
git clone git://git.catalyst.net.nz/moodle-r2.git
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 11: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/11.jpg)
Moodle and Git
Catalyst have done the hard work for us
git clone git://git.catalyst.net.nz/moodle-r2.git
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 12: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/12.jpg)
Torbay Moodle Network
A VLE is needed to support bay-wide diploma courses
South Devon College chosen as the best place to host it
There are issues with authentication and enrolment
I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 13: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/13.jpg)
Torbay Moodle Network
A VLE is needed to support bay-wide diploma courses
South Devon College chosen as the best place to host it
There are issues with authentication and enrolment
I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 14: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/14.jpg)
Torbay Moodle Network
A VLE is needed to support bay-wide diploma courses
South Devon College chosen as the best place to host it
There are issues with authentication and enrolment
I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 15: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/15.jpg)
Torbay Moodle Network
Thanks to Gavin Pidgley at SchoolCare
![Page 16: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/16.jpg)
Torbay Moodle Network
Lessons learnt:The Moodle network is picky!It cannot connect out through a proxy [MDL-14624]
But there is a patch... [MDL-15125]
A connection directly to the moodle’s IP address must workA reverse-lookup of the IP must resolve to the correct address(not a local one)
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 17: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/17.jpg)
Torbay Moodle Network
Lessons learnt:The Moodle network is picky!It cannot connect out through a proxy [MDL-14624]
But there is a patch... [MDL-15125]
A connection directly to the moodle’s IP address must workA reverse-lookup of the IP must resolve to the correct address(not a local one)
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 18: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/18.jpg)
By the way...
The Graph Statsblock is cool
But it doesn’tcount networkedlogins
So lets fix it
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 19: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/19.jpg)
By the way...
The Graph Statsblock is cool
But it doesn’tcount networkedlogins
So lets fix it
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 20: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/20.jpg)
By the way...
The Graph Statsblock is cool
But it doesn’tcount networkedlogins
So lets fix it
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 21: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/21.jpg)
By the way...
Now you can select to count unique logged-in visitors instead.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 22: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/22.jpg)
Deploying Moodle with Capistrano
ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work
, and I’mmuch too lazy for that.
SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 23: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/23.jpg)
Deploying Moodle with Capistrano
ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work, and I’mmuch too lazy for that.
SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 24: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/24.jpg)
Deploying Moodle with Capistrano
ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work, and I’mmuch too lazy for that.
SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 25: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/25.jpg)
Deploying Moodle with Capistrano
Capistrano:Rolls code out cleanly straight from a (git) repository to manyservers at once with one command1
Keep old versions handy and rollback to them instantlyCan run any job on parallel across all servers
Possible problems:You need a UNIX-like serverMoodle gets confused by symlinks in its path
1Told you I’d get back to thisKevin Hughes South Devon College
Some Random Moodle Stuff
![Page 26: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/26.jpg)
Deploying Moodle with Capistrano
Capistrano:Rolls code out cleanly straight from a (git) repository to manyservers at once with one command1
Keep old versions handy and rollback to them instantlyCan run any job on parallel across all servers
Possible problems:You need a UNIX-like serverMoodle gets confused by symlinks in its path
1Told you I’d get back to thisKevin Hughes South Devon College
Some Random Moodle Stuff
![Page 27: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/27.jpg)
Deploying Moodle with Capistrano
A recipe
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 28: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/28.jpg)
RESTian XML auto-enrolment
ProblemNone of Moodle’s automatic enrolment plugins are of any use tome.
SolutionOur new in-house eilp can supply enrolment data in simple XML ina RESTful way. Lets write a new plugin which pulls enrolment datafrom that.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 29: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/29.jpg)
RESTian XML auto-enrolment
ProblemNone of Moodle’s automatic enrolment plugins are of any use tome.
SolutionOur new in-house eilp can supply enrolment data in simple XML ina RESTful way. Lets write a new plugin which pulls enrolment datafrom that.
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 30: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/30.jpg)
RESTian XML auto-enrolment
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 31: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/31.jpg)
RESTian XML auto-enrolment
The plugin has some issues:It doesn’t currently unenrol anyoneIt finds courses on their shortname for historical reasons
A new version coming soon, which...Fixes both those problemsCan link more than one real course to one moodle course
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 32: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/32.jpg)
RESTian XML auto-enrolment
The plugin has some issues:It doesn’t currently unenrol anyoneIt finds courses on their shortname for historical reasons
A new version coming soon, which...Fixes both those problemsCan link more than one real course to one moodle course
Kevin Hughes South Devon College
Some Random Moodle Stuff
![Page 33: Some Random Moodle Stuff](https://reader035.vdocument.in/reader035/viewer/2022062405/55634f3fd8b42a6f7b8b51d5/html5/thumbnails/33.jpg)
Any questions?
”It is impossible to speak in such a way that youcannot be misunderstood.”
Karl Popper
http://www.slideshare.net/kevtufc/some-random-moodle-stuff-presentation
Kevin Hughes South Devon College
Some Random Moodle Stuff