Life on the edge of the moodleverse

Block Badger 2.4 version

Just a quick note to point out that the Badger Block on github [master branch] is moodle 2.4 compatibleThe moodle 2.3 branch is also available …


Use of Block Badger


Imagine in a school site defining three courses: English, Drama and ICT

Each is delivering its own curriculum content and assessing students understanding through digital artifacts. These departments in particular are delivering and developing a variety of skills around movie making.

They want to document progress, motivate and reward students through a series of badges for a range of different skills

  • Scriptwriter
  • Filmmaker
  • Director

Each badge will be available at three different levels of mastery, say, apprentice, assistant and master.

Each badge, at each mastery level, could be earned from an assessment task in any of three courses – students will often work in groups and adopt different skills in different assessment tasks.

The following diagram shows

  • the configuration of the level 2 filmmaker badge
  • nicknamed ‘Assistant Filmmaker’ – the students will see the badge referred to by this nickname – internally badger knows this is a level 2 badge – and supersedes the level 1 Filmmaker badge
  • it’s part of a collection called Media – this is useful for pulling together badges defined in different courses for display in a block [example later]
  • the badge can be claimed from three highlighted courses – it can always be claimed in the course it is defined – here we make it available in two more courses [1]


Saving the badge – and then returning via the manage badges link, I get a review of my badge


The important thing to note (and maybe ctrl-c) is the claim URL that needs to be inserted into a course.

Here’s my course with some activities that need to be completed before I issue the badge.


I can add a URL to my badge – and mark it only available pending completion of one or more activities


Finally, on the front page I can:

  • add a badger block to display a students’ badges in the Media collection [I can show multiple collections also] and
  • in this example I’ve asked for some bar graphs of number of badges already claimed


This is my [test] site front page – notice the block displays the highest level badges the student has been awarded and place holders for the next available level [if one exists].



[1] Why is it important to list courses where the badge can be claimed?

In many sites, students are often editors of moodle courses themselves – if we made the badge link work from any course – students could backward engineer and insert unprotected links to the badges they desire.

There is also a built in restriction that stops editors of courses outside those indicated from adding new badges to an existing collection – again to stop students forging their own badges into a collection.

Moodle 2.3 Block Badger Beta Version Released

I’ve released a first version of block badger – now looking for willing testers and feedback …

Note that to install you need both

Badger: Simple Badge block

At the upcoming 21st Century Learning Conference Hong Kong [], Tim Carrell and I will be presenting the ‘Badger Block’; one of the more exciting projects I’m currently working on.

We are very interested in the gamification of Moodle utilizing the conditional activities of Moodle 2. We’ve also been looking keenly on the work being done on Open Badges []. The badger block aims to bring the two together and provide the teacher with a relatively simple method of providing rewards within a course and across a site.

The badger block displays awarded badges in a side block and placeholders for badges still to be attained.


Clicking on either gives a review of what the badge is for and the criteria for awarding the badge so

  • those who have it know why and
  • those who want it know how to get it.


As further motivation, the block can also display a bar graph to show popularity of awarded badges.


Badges can be pushed through to the student’s external Open Badges back pack so that achievements can be documented outside of Moodle and beyond the enrollment of the students in their current schools.


Teachers can upload a badge [any square png image] and assign descriptions/criteria.


Note that badges can be put into ‘families’ or given a level.

  • The block only displays the highest achieved level and a placeholder for the next level for badges with the same name.
  • Badges in a family collection can be awarded in different courses and a block can be configured in any course (including the front page) to show badges awards for a named collection. [By default the block just shows badges created in the local course]

After creating a badge, the teacher then adds a link (a Moodle URL resource) to their course – typically access to this link is restricted through the Moodle 2 conditional activities to ensure that a student has to complete one or more tasks before the link becomes available and the students and claim the badge.


There are, of course, appropriate checks to ensure students cannot forge a badge URL to claim a badge they don’t yet deserve 🙂

Teachers can review issued badges to see who they have been awarded to and delete badges not yet issued.

Badges that have already been issued can be retired but not deleted; data about the badge is retained since the badge may already have been pushed to an external back pack – similarly an issued badge can be revoked from within the Moodle but it cannot be pulled back from an external backpack]


Initial pilots are underway and there seems to be a positive reaction to ‘badging’ from students.

I’d be interested in any feedback – and if there is demand I will try and find time to arrange a code release to git hub.

NB: there is a [moodle partner] group working on integration of open badges, moodle and mahara [details] but we didn’t want to wait 🙂

Added git branch for Banners block for Moodle 2.4

Spent some time recently trying to get more familiar with git … I think I’ve released the slight changes required for moodle 2.4 upgrade for the banners block available at:

Banners block for moodle 2.3

As my moodle sites act as hubs for communication with our learning communities (staff, students and parents) and our front pages get roughly 5 hits per user per day, it is prime real estate for promoting events, courses and activities.
One of the ways we do this is through community contributed banners:

(Prototype on a live moodle 1.9 site)

I’ve just released to github the source for a moodle 2.3 banner block which allows banners to be uploaded by users and displayed in an animated carousel.

Note that in Moodle 2 you can configure your theme to display block regions where you like – I’ve added a block region to the top of my middle column and placed a banner block there.
The video shows a second banner block [Star Pupils] of different image dimensions

(moodle 2.3 demo – test site)


  • Uploaded banners can be hyperlinked to a user specified URL
  • Banners can be uploaded from a given date for a given number of days
  • The banner block is styled to take up minimal vertical height – a title/title strip can be added if required.
  • For each banner block instance

    • The dimensions of the upload banner can be configured – non-conforming banners are rejected
    • The display time per banner can be configured
    • Users can pause and scroll manually through the banners
    • The max number of days for a banner to be displayed can be configured
    • The block can be configured to accept posts from everyone or just block editors

We find all our best designed banners are created by students 🙂

Quickstructure release for Moodle 2.0

Taken a while, but I’ve put together a pure Moodle 2 version of the Quickstructure block.

Some added options and a slight different look but essentially the same easy to use method of creating a visually accessible course with a menu and section folding to avoid the infamous moodle scroll-of-death.

Previous jQuery replaced with YUI based code – I much prefer jQuery though 😉

Feel free to download and feedback … installation slightly complicated by need to install a popup colour picker widget to moodle forms. See supplied README for details

Download [for moodle  2]

Share Dropbox block

To get teachers to adopt moodle – they need to be shown how it can extend learning opportunities rather than create marking opportunities.

A normal moodle ‘assignment’ or drop box is a great way to manage submissions of work – but can lead to increased marking workload.

I’m a big fan of peer assessment – students, particularly weaker ones, learn a lot from looking at peers’ work and assessing it’s relative worth. Learning to comment constructively on each others work is a very important skill to develop too.

The Share Dropbox custom block extends the standard moodle assignment dropbox to allow sharing of submitted work.

The gallery display works best where submitted work is video, web pages or images – but essays can also be displayed [as links to a pdf say].

Sharing can be configured – allowing, for example, students to ‘like’ peers’ work and add comments – or just allow the teacher to display the ‘gallery’ of work as a plenary. Teachers find this much easier to manage as method of going through examples of work than getting student to bring to the front thumb drives – or send in emails – of powerpoints/websites.

Peer review of submitted work can be a very useful homework – extending learning opportunities beyond the classroom. I’ve included a training handout below with just a few ideas of how the block can be used.

Note: peer review and ratings of work can be achieved with out-of-the-box moodle forums but we’ve found take up has been greatly improved with the Share Dropbox block.

Thanks to Tim Carrell who has given me permission to open his classes draft work to the world.

Training document: ShareDropBox

Are these customisations available?

The quick answer is not yet [sorry to disappoint the many people who have asked].

I’m primarily sharing the ideas to hopefully inspire others.

The work is based on a very non-standard moodle 1.9.5 platform – it would take some time to develop a ‘pure’ moodle version. I’m not sure that time is worth spending on the ‘dying’ 1.9 moodle platform and I have two jobs that have to take first priority on my time.

However, in the next couple of months I have to start rewriting 6 years of customisations for the move to moodle 2.0 [can’t put it off any longer].

This would give me a chance to rework modules into more readily released format – so I am trying to gauge what interest there is in our work.

In short – if you like the things you see – let us know [leave a comment below] and we’ll factor that into our upgrading considerations.


I once spent about half an hour teaching some willing, but not-at-all IT confident, teachers how to upload a file resource – they then spent 30 minutes trying to replicate the many steps for themselves – navigating through a number of advanced [and hence for them superfluous] options and getting into numerous pickles.

One of the teachers concerned loved the idea of making years’ of worksheets and resources she’d built up more accessible to students by putting onto our moodle – but she couldn’t face what for her would have been a quite tortuous process.

This was the inspiration for a module we called QuickContent. It allows content to be put into a moodle course with a minimal amount of input, e.g.

  • just select the file for download-able resource
  • just give the URL for recommended web page
  • just give the name of a dropbox

Quickcontent is a ‘hack’ which by proxy creates an instance of the actual resource/activity required – this can be subsequently edited by more advanced users just as any activity created via the conventional route.

Without doubt, the Quickcontent customisation has been the most successful of all the modifications we have made, making moodle accessible to all teachers [regardless of confidence level] and speeding up the process of course development.

This has been important in supporting a requirement for all subjects/years to have some moodle presence to support student learning.