Saturday, January 28, 2012

Giving students a feel good factor with a Stamp Collection pseudo-block (Moodle 1.9.x)

The Stamp Collection module by David Mudrak is one of my all-time favourite modules on my Moodle 1.9.15 site. It's a great tool to provide feedback to students and to reward them whenever work has been done. I like to think of it as a motivational tool.

I had always wished that there could be a block that shows the student how many stamps he or she has earned. Why? This is because at the moment, the student has to click on the Stamp Collection module to view the stamps earned. So this evening, I sat down to craft such a block. And I failed miserably because of my lack of experience in PHP coding!

Undeterred, I had a brainwave of how I could achieve the same effect as a real block. Within 4 hours, I crafted something that made use of David's existing code, HTML, PHP and some tricks. Here's what it looks like:

So the advantage of this 'block' is that the student can see his Stamp collection. Is it growing? Is it stagnant?

Ratings and Recommendations by outbrain