Pages

Showing posts with label Moodle. Show all posts
Showing posts with label Moodle. Show all posts

Wednesday, 21 December 2011

Upgrade of Moodle 1.9.10

Because this time of year is so quiet, I thought that I would do a small point release upgrade of my standard Moodle 1.9.10 install to the current latest version of 1.9.15 as of today.
There are a few reasons that I wanted to get this done and out of the way before January.  Some of my reasons were:
  • General bug fixing;
  • Performance upgrades;
  • Module enhancements;
  • Preparation for Moodle 2.x upgrade;
Even though I know that none of these reasons were particularly urgent, my main reason for doing so is in for the preparation for our imminent update to version 2.x quite shortly.  I've used x because from what I have read, version 2.3 will be out around June 2012 and so that will most likely be the one that I'll be going for.  My work so far to upgrade our version 1.9.10 to version 2.0.6 didn't go so well as I ended up finding lots of small errors that hindered the installation, but upon upgrading to 1.9.15 prior to upgrading to version 2.0.6 many of these errors (mostly relating to blocks and modules) went away.

Anyway, as for the update.  It actually went very smoothly and quickly.  The entire update was done within a few minutes.  This is what I did in preparation:
  • Backup the database and file structure;
  • Copy over the top of the existing files with the new files;
  • Run the update;
There was one new setting that was asked for which related to the automatic storing of passwords in browsers, but other than that nothing.  Point releases generally should only be done if you have problems but in my case it was more about preventing future problems than fixing any major current problems.

Note to all those upgrading from 1.9.x to version > 2.0.x, make sure that you upgrade to version 2.0.x first before attempting to upgrade to either 2.1.x or 2.2.x. The changes made in version 2.0 were large and so it is recommended within the Moodle documentation that you do this first.

Wednesday, 14 December 2011

Moodle 2.2: Coming to a Webserver Near You

Last week saw the release of Moodle 2.2, which actually wasn't a long time since we saw the release of version 2.1, and again wasn't long before we saw the release of the rather buggy version 2.0.  Me?  I'm still sat here on version 1.9.10 because of this rapid release cycle.


See, the problem is, during the year it is very difficult to suddenly make changes that users aren't used to and for that reason I usually do my system upgrades at the start or end of the academic year.  I hope for the sake of Moodle and its massive following is that this isn't a sign of things to come.  They really need to focus on quality at this point as once upon a time, I had originally planned to jump on the Moodle 2.0 bandwagon and am I glad that I didn't.  After I installed it on my test web server, I soon found that I had made the right decision.  Simple things didn't behave as expected and so I actively discouraged those who asked me about version 2.0 to not go ahead with the upgrade.

2.2 takes off where 2.1 finished and adds to many of the new features found in 2.0 onwards including many bug fixes.  In the release notes, Rubrics, external tools, common cartridge and Mymobile themes are all mentioned.  The notes also have a small mention about version 2.3 due in June 2012 and so I will most likely be hanging on for this release.

Thursday, 21 July 2011

Two Useful Moodle Modules and Blocks

Wow, two posts in a day! Aren't you all lucky!

I've been looking through some of the best Moodle modules out there recently to add to our portfolio.  One area where I've always felt that we have lacked is on the video side of things.  Yes, the filters in Moodle can sort YouTube out no problem, but there isn't an easy way for you to add video in.

Step forward Media Player. The description mentions that it is the successor to the old FLV Player for deploying video within Moodle courses.  To be honest, there is enough of the necessary and basic functionality in there that you would expect, and it ticks all of the boxes.  It runs well, and I've not yet spotted any bugs with it.  I should imagine that the only stumbling blocks with this that users will encounter will be trying to work out whether or not they will be allowed to use the video as per the license terms and conditions, and also making sure that the video uploaded is less than the current max upload setting of 128mb that I impose.  I might consider upping this to 256mb, but I still don't see the broadband in this country being ready to handle large streams of data.

Then there is the other issue of our Internet connection to our site.  We currently have a 100mbit synchronous connection which will more than happily handle several streams outbound at any one time, as well as our normal web traffic.  Is this sustainable though?  I'm going to wait and see!  I might just throttle the site through IIS so that it doesn't impact on other services.

The other module is the Poll block.  Very simple, very effective and easy to use.  This is what I feel is the kind of thing that staff want to use to deliver a course.  It's also interactive, which generally translated means that students will also like it.


As you can see from the image above, it makes a nice little bar graph to help show the responses instantly.  I would recommend these two highly.

Network Level Control Through Your Website (and a Bit More)

Ok, network level control through your website.  Interested?  Good.

Last summer, a project of mine was to build a micro site which runs within the VLE that would give ordinary staff users access to network level functions that would normally be reserved for IT staff.  This project would be purpose built for our new student help desk, so that students could have a 'one stop shop' experience as we continuously dubbed it.  The key to this project would of course be ease of use.  We needed a solution that everybody could just pick up and run with from day one, and something that we would need to give very little support to.

The first hurdle would be to determine which services our students would need.  The new site would have to integrate with the following systems: -
  • Active Directory for network level and user management;
  • MIS system for course management, timetabling, exams and attendance;
  • Connect VLE (Moodle) for course management and job logging;
  • PaperCut print management for printing credit;

Next, we looked at the interface, and how we could make it as easy as possible for our staff to use the system.  A quick conclusion was that big, easy to use buttons, with minimal keyboard input and touch input would be the way forward.


The first screen that the user would need to see would be some sort of search facility.  This is just one big text box with some JavaScript on it to constantly give it some focus.  Users can input into this box into a variety of ways, including the traditional typing of random strings such as the username, first name, surname or a combination of these.  Once the search results are returned, a list is given back with possible results.  Each result shows the full name, username and picture of the student in question.  The user then clicks on the tab to take the user into the possible functions. The other method of input would be from the barcode scanner attached to the desk that would quickly scan the back of the student card that we give out at the start of each year that contains the username in barcode format.

Just so that we can confirm the user, the picture is printed on the card, and the same picture will appear on screen once the card has been scanned which points at a network share.


The user is then presented with four departmental options that are displayed as tiles, as well as a quick overview of the status of the student underneath.  This overview can quickly establish any problems, such as disabled accounts (and who disabled it), printing credit balance, and user data quota.  Clicking on any of the department tiles then gives another set of tiles that are specific to that particular department, i.e. in IT Services are functions such as 'enable / disable account', 'reset password' etc.  When clicking on any of these options, you can see instantly the status of the option, so say you've clicked on the 'enable / disable account', the tile will then show 'disable account' because the account is already enabled.  This is not too dissimilar to how Microsoft use the 'Live Tiles' implemented on Windows Phone 7, although I did it first for the record!

The next step was to make all of these functions.  The functions that we decided on were: -
  • Enable / disable account;
  • Unlock account;
  • Add to Moodle course;
  • Reset password;
  • Log new IT job (e.g. scanner not working);
  • Print student timetable;
  • Print exam timetable;
  • Attendance queries;
  • Order replacement student / bus cards;
  • Add printing credits via PaperCut API;
The network level functionality was achieved using both LDAP and SLDAP (for password reset) commands as well as network shares to link to student photographs.  Interaction with the PaperCut APIs made changing printing balances very easy with just one short command, and the other functionalities listed consisted of ODBC transactions to a set of different servers.

The site was locked down and would only be given to certain users based on permissions, as well as only being accessible internally to stop network intrusion.  The hardware that we ended up purchasing was a Dell Inspiron One machine with an attached barcode scanner to read in the student cards.  This has worked well, however we have found that most users have still preferred to use the traditional mouse and keyboard.

I hope that this will help somebody in some way, and I am happy to share any details on how certain parts of this were achieved.

Monday, 14 February 2011

From the start...

Hi everybody, just to introduce myself and my blog firstly!

I'll start by saying that this isn't my first blog, but it is my first one for quite some time - about four years to be precise.  The reason for a re-start of my blog is to work more closely with other developers in the web development field, and hopefully to help anyone in need.

Next, I'll mention what by background is.  I've been a developer in education now for about six years now, and in that time I've worked closely on new ideas, more recently working and developing a highly customised version of Moodle, which has now been branded 'Connect'.

I've worked with various different languages on different operating systems using different databases, but most of my daily work and expertise involves Windows Server 2003r2/08r2, MySQL v5.x and PHP 5.x.  For me, I would say this is now my preferred environment after working with various different combinations of the above, and for many different reasons that I won't go into just now - but I'm sure that they will be apparent in the future as this blog develops.

The current, but soon to be retired server platform that I'm running is an old HP Proliant server, with the following specification:
  • Intel Xeon 3065 2.33Ghz processor
  • 4Gb DDR2 Memory
  • Microsoft Windows Server 2003r2
  • PHP 5.2.10 (Upgraded from 5.1.9)
  • MySQL 5.1.34 (Upgraded from 5.0.37)
  • Microsoft IIS 6
  • Moodle 1.9.0+
The server was originally bought to be a 'stop-gap' but has actually performed brilliantly during the time that it has been in service.  Personally, I believe that for 2000 users, the above specification is more than adequate.  What does let the server down especially, is IIS 6 which has increasingly become unreliable which, after doing some research, I believe is down to a corrupt IIS configuration.  Since there have been plans in the pipeline to migrate Connect to a Server 2008r2 environment for quite some time, I have left this alone for the time being.  Other than this, the server is extremely fast and has been very reliable with near enough 100% server uptime (excluding restarts for Windows updates).

Some of the posts that I will be writing shortly will be looking at:
  • Move of Connect to a new Windows Server 2008r2
  • Upgrading PHP 5.x
  • Possible up/downgrade of MySQL
  • IIS 6 deep rooted problems
  • Upgrading Moodle
  • Is Moodle 2.0 worth it?
The issues above are what I believe are current issues affecting my environment, and at some point I hope to have addressed all of the above.

Anyway - thanks for taking the time to read my blog, I hope that you have found this informative.  Please take the time to click on a sponsored link for me (even if you just open it and then close it!), and even follow this blog.