You are browsing the archive for My ramblings.

Moodle Mobile Usage

January 16, 2012 in My ramblings

Last week I produced a mobile usage report for the Leeds City College Moodle. By using Google Analytics I was able to determine which devices users were accessing Moodle with and calculate the average number of mobile visitors per month.  The plan is to increase our Mobile usage by improving the user interface and promote the benefits of using Moodle via a mobile to all of our students.

As expected, the iPhone has the highest number of users, followed by Android.  I was disappointed by the lack of Windows Devices and hope to get hold of such a devise to test properly and maybe improve the user experience.

Here is a quick overview:

 

 

 

The importance of Moodle backups

December 14, 2011 in Bug Fixes, Featured, My ramblings

There is a phrase, or it may even be a brand slogan that says, “If it’s worth creating, it’s worth backing up“.  And from my experience this week, nothing could be closer to the truth.

As the size of the Leeds City College Moodle grows, so does the number of assignments, grades and feedback.  And as this grows, the critical importance of Moodle grows with it.  And ultimately it’s all my responsibility, sadly my salary doesn’t grow inline with it.

Last week we experienced a glitch that could have been catastrophic if it wasn’t for our regimented backup routines.
It was brought to my attention that a tutor on a course deleted a student assignment that had been uploaded in the wrong place.  The delete worked but it also deleted every other assignment in the course and every grade and feedback.

And that’s where the panic kicked in.

Over 335 assignments had gone, along with the tutors feedback.  This left me with 2 options;

  1. get each student to resubmit every piece of coursework from scratch and ask the tutor to re-grade them, or
  2. restore what I can from the backups

Option 1 was not possible, nor was it fair on the students or tutors.

Our Moodle database is backed up each day, the Moodle Data Directory is incrementally copied to a remote server so we can always roll back at least 24 hours.  Sometimes even further if required.

I couldn’t simply do a course restore as the course was in full time use, and since the disaster other students had submitted other assignments.  So to restore the course would lose even more data.

So I had to fix this “old school” .  By extracting the assignment submission entries from a database backup 24 hours before and then manually log in as each student and resubmit the original files.  By importing the submission data I was able to restore the feedback and grades.

And yes, there were over 335 to do, and this involved finding the file, saving it locally, logging on as the student, uploading the file, logging out and repeating the process each time.  Needless to say, it took me 3 days.  My eyes were strained, my wrist in tatters and my will to live in pieces but I got there in the end.  Luckily it was only 335, and not the 16,000 uploaded since September.

Had I not had a backup then we would have lost over 300 assignments, and the feedback, and this is all crucial to our students future and qualification grade.

If you take anything from this blog post, aside from sympathy for me…then please…devise and implement a solid backup plan…it could save your sanity and your job.

Now I  just have to figure out what caused the assignments to all disappear in the first place…

Moodle and e-commerce shopping carts

November 10, 2011 in Featured, Moodle, Moodle Tutorials, My ramblings

Linking Moodle to a web based shopping cart is easy and requires very little coding to allow users to browse courses, add them to a cart, pay for them, and then automatically gain access to the paid courses on Moodle.  And best if all, only use one login for the entire process.

Moodle + Magneto = Amazing Moodle Shopping CartMy personal favourite Open Source carts are OS Commerce and the newer, slicker Magneto.  But it really doesn’t matter which cart you use, as long as it is driven by a popular web database such as MySQL or MSQL. It can be home grown or a commercial platform.

This short blog posts explains the process in its simplest terms.

In your online shop you create courses as products. You can put them in categories, offer discounts and name then whatever you like. Just like you would if we’re selling DVDs or shoes.

The important bit is to use a unique field for your product that we can use as a course ID number in Moodle.

Once you have your courses entered into your shop and you’ve configured it to accept payments and create accounts you are ready to instruct Moodle to read the products and the users from the shop database.

For this step we will be using 2 important Moodle features.

  1. Plugins > Authentication
  2. Plugin > Enrolment

Under the authentication plugin in Moodle, choose “External Database” and complete the form to match the credentials of your shopping carts database.  You will need to know the user fields used in your shopping cart and basically match them up to the user fields in Moodle.

Now under the enrolment plugin we need to do the same thing, this time we are matching fields from your product table with fields in the Moodle course table.

Now make sure that your courses have the same IDNUMBER as your products in the shopping site.  Lastly, make sure both plugins are enabled and away you go.

Here’s  a quick recap of the process and what happens:

  1. Your user visits your shopping site
  2. They browse for courses and add them to the cart
  3. They go to the checkout and pay for the courses and enter their personal details
  4. Now they can visit your Moodle site and login with the same details they just entered for the shopping site
  5. Moodle will log in the user and enrol them on the correct courses (i.e the ones they have paid for).

You can take this further and theme the shopping site to match your Moodle install and customise the emails to provide direct links to the course in the emailed receipt.  And if you want to go even further, you could tweak the code to keep the same login session so it’s seamless between the 2 systems.

I hope you found this useful and if anyone is thinking about creating a shopping cart for Moodle using this method then I’d love to tender for the job.

 

Interesting Moodle stats for Leeds City College

September 15, 2010 in My ramblings

Now that the term is underway and we have 1 single merged VLE I thought it would be a good time to view some statistics as to how big the Leeds City College Moodle installation actually is. After visiting http://moodle.org/stats/ I realise we are a long way away from breaking into the top 10 but its still not bad for a UK Further Education College.

You can get a lot of this information by clicking on the notifications link in your site admin menu and clicking on “Moodle Registration“, the rest of the stats were obtained using SQL queries and Google Analytics.

At the time this blog post was written we had:

  • 18,425 active students (this will increase as more students logon during the year)
  • 1773 active Staff accounts (1224 with editing rights)
  • 205,971 Role Assignments
  • 4421 Moodle courses
  • 429 Course categories
  • 46,708 resources totaling 110 GB of data!
  • 2932 Forums with 44,330 Forum Posts
  • 1365 quizzes with 15,157 questions in the quiz bank
  • 1505 online assignments
  • 14,046 labels
  • In the last week we had 78 iPhone visits, 28 iPad Visits, 21 iPod Touch visits and 18 Android visits

This information may be of use to you if you are planning to scale your Moodle site and shows how quickly a site can grow once you get the tutors on board!

Now that I have this information I am in even more awe of how good Moodle actually is.

Moodle Stats

Considering the size of the data, the sheer number of role assignments and all the other things going on under the hood such as quizzes, forums and assignment submissions and then it has to authenticate against our enrollment database and sync with various LDAP servers I’m amazed it works as well as it does. And to think that Moodle.org has nearly 1 million users and the Open University has over half a million….amazing stuff!

About Me

April 14, 2009 in My ramblings

Welcome to my web site. This website serves as my CV, my portfolio and a place to provide training, tutorials and support for fellow Moodlers and web developers.

MeAs a professional freelance web developer for many years I specialise in PHP/MYSQL web development. I have excellent computer graphics skills and a creative eye for design, navigation and accessibility. In my current role as VLE Manager at Park Lane College, Leeds, I am responsible for the development and management of our in-house Moodle installation. The system has been radically transformed and tweaked and seamlessly integrates with the complete IT infrastructure at college, including LDAP authentication , direct ORACLE database enrolments, single sign-on and more.

I have a deep understanding of web hosting and server technologies and transferrable skills in both Windows and Linux environments. My long term aim is to have one of the largest, most bespoke and most accessed Moodle installations in the Further Education sector.I hope you find this website of interest.

More about Lewis Carr and Moodle

Using Moodle has really given me the opportunity to harness and showcase my PHP and web development skills. Over the past year I have demonstrated my ability to transform a rather visually uninspiring VLE into a next generation web 2.0 learning platform. By integrating Moodle with the college IT infrastructure (Single Sign On, Automatic account creation and automatic enrolments via MIS) and by harnessing and integrating social networking feeds (Twitter, Flikr) as well as my own custom code tweaks and core code changes I have managed to create a truly inspiring, innovative and unique Virtual Learning Environment.

I develop unique Moodle themes that encompass true CSS styling, advanced Javascripting and AJAX technologies. I have a strong artistic talent and a skill for creating fluid and intuitive navigation with a range of accessibility options and mobile compatibility. I have rewritten many parts of the Moodle source code that enhance its usability. I have introduced a complex meta-course structure complete with a MyMoodle page rewrite and the option to hide courses yet retain enrolments. I have fixed many bugs in the Moodle source code, such as database module searching, full screen video, word censorship and external database enrolments.

Other features I have added include:

It is these tweaks and code changes that has gained me a reputation as one of the UK’s leading Moodlers. It has been quoted on many occasions that the Moodle I have created is The Gold Standard for all others to follow.

The custom theme I created has also been received well by fellow Moodle users on the Moodle.org website – http://moodle.org/mod/forum/discuss.php?d=117129#p516737

It is a really beautiful, flexible and well done theme – Mauno Korpelainen

This is a really nice theme. Excellent work – Darko Miletic

Nice job, gorgeous theme. I particularly like the moodle bar feature- Chad Outten

It is not just the technical aspects of the job that has bolstered my reputation but my willingness to help other institutions with Moodle related problems. I often receive emails and phone calls from other colleges with Moodle problems and offer support. As an active contributor at the regional Moodle Admin Groups (run by JISC) I can be found delivering technical demonstrations and giving practical user advice to a range of Moodlers. I am also a contributor to the Moodle.org website and the Moodle Tracker.

None of the above technical development would have been possible without the high level project management skills that I also possess. My ability to manage all the development projects and adhere to PRINCE2 standards has ensured that everything is delivered timely and efficiently. I am a self motivator who loves hard work and I enjoy working with like-minded and energetic team members.

I enjoy taking an off-the-wall (often ridiculous) idea and working it into a completed project. Some of the more off-the-wall ideas have turned out to be the best ideas (The Moodle bar concept was born over a morning coffee and a discussion about Facebook, we joked that Moodle would be better with a fixed navigation bar – (2 days later I built it and it has now become integral with our VLE).

I have a true in-depth knowledge on all aspects of Moodle, from the source code and database through to modules, blocks and content creation. My teaching and training experience is also applied to courses I create and I am able to train any staff member in all aspects of Moodle to any level. I am a visionary thinker who enjoys a challenge. I am constantly scanning new horizons and looking for ways in which I can enhance Moodle and integrate new cutting-edge technologies.

A day in the life of a Moodle admin

January 1, 1970 in My ramblings

What’s in your Moodle Toolkit?

January 1, 1970 in My ramblings

Most jobs require tools. Plumbers need wrenches, joiners need saws, accountants need calculators, hairdressers need scissors. But what does a Moodle Developer carry in their toolbox?

This will differ depending on your Operating System but in terms of functionality, how many applications does a Moodle developer really need?

This morning I looked at what tools I use on a daily basis to work with Moodle in the office and was amazed to find that I only really ever use four. (All Microsoft Windows based I’m afraid)!

1) Wordpad

Yes I know it’s Windows based, I also know that Notepad ++ is better but I like Wordpad. It offers exactly what I need. Text looks clean and organised, it opens up PHP files and offers search and replace functionality.

2) Photoshop

I cannot imagine using anything else. To me this is one of the single most important desktop applications of all time. It helps me to make Moodle look good.

3) SQLYog

My favorite open source MySQL GUI. I know I could use PHPMyAdmin but there is something nice about using a desktop GUI. It’s simple to use and performs all the functions I need.

4) Firefox

Still my favourite browser, solid, reliable and with lots of developer plugins. Gmail and Google Docs have changed the way I work.

And that’s it!

I often save directly to networked folders on the server so I don’t require FTP.
Admittedly I may use other programs from time to time but the four applications in the list are all I require on a day-to-day basis.

If we were a Linux based college then my kit would differ slightly in the fact I would use GIMP instead of Photoshop, Gedit instead of Wordpad, and most likely just stick to PHPMyAdmin instead of using a GUI Client. But I’d still only require just four tools to get the job done.

Moodle Persona for Firefox 3.6

January 1, 1970 in My ramblings

Today I created the first ever Moodle themed persona for Firefox 3.6!

To view it please visit: http://bit.ly/d7ZJgc

I hope to create many more!