Awarding badges in Moodle based on different levels of performance in a particular activity is possible using the following workaround.
For example, if a student were to score at least 90% in a quiz, they would receive a Gold badge whereas a score between 70% and 89% would merit a Silver badge and a Bronze badge would be awarded for a score between 50% and 69%.
The available criteria options for awarding badges in Moodle don’t directly support this, however this can be achieved using a couple of nifty tricks combining the use of conditional access and completion tracking.
I will explain using the example that I have outlined above.
Firstly, your site needs to have Conditional Access enabled and Activity Completion needs to be turned on for the course in which you are working.
Step 1: Configure the activities:
Having created the quiz activity, we will create a label with:
- The text label set to Click here to claim your badge (1)
- A restrict access setting to only display if the quiz grade is at least 90% (2)
- Completion tracking set so that students have to manually mark it as complete (3)
Duplicate the label, edit the text to replace the word “Gold” with “Silver” and change the restrict access setting to only display if students have scored between 70% and 89%:
Duplicate the label again, edit the label text to replace the word “Gold” with “Bronze” and change the restrict access setting to only display if students have scored between 50% and 69%:
Step 2: Configure the badges:
Add a new badge to your course (Course Administration > Badges > Add a new badge) which will be awarded as the Gold Badge. Set the badge criteria as being for Activity Completion and select the “Label –Click here to claim your Gold standard badge”. Finally, enable access so that the badge can be awarded.
Repeat this for the Silver and Bronze badges selecting the appropriate label as the completion condition for the badge criteria. Remember to Enable Access for the badges too.
Step 3: Test:
When a student now completes a quiz and earns a score of at least 50%, the appropriate label should appear below the Quiz activity. On manually ticking this label, the student will then be awarded with the relevant badge.
The example above covers awarding badges related to a quiz activity but this could be configured in a similar way for any graded activity within a course.
The configuration and management of badges within Moodle are covered as part of our Moodle Administrator training course.
The badges used in the example above were created using the http://www.makebadg.es/badge.html website.
Want to fast-track your Moodle knowledge? Discover our Moodle training today:
The Hubken Solution comprises powerful, flexible and tailored Learning Management System (LMS) services for organisations of all sizes. Leveraging the power of Moodleor Totara platforms we provide you with the tools to achieve outstanding eLearning outcomes, supporting you in areas including LMS hosting, installation, user training, content development, reporting and more.