Badge Criteria to restrictive

Badge Criteria to restrictive

by Jacques Masuret -
Number of replies: 3

Hi guys,

I am busy gamifying my module I teach on Moodle and want to award a badge when certain criteria have been met.

Currently moodle offers only two options: (1) All chosen activities must be met or, (2) any of the activities must be met. My need is that ANY NUMBER  (from a list of activities) must be met, e.g. any 3 activities have to be completed. 

Does anyone know if moodle criteria offers this option?

Thank you for your time!

J Masuret

Average of ratings: -
In reply to Jacques Masuret

Re: Badge Criteria to restrictive

by Mihir J -

I think currently it is not supported, you may need to develop this.

thanks!

In reply to Mihir J

Re: Badge Criteria to restrictive

by Don Presant -

This use case is possible using Moodle connected to Open Badge Factory via plugin, leveraging the Milestone badge feature:

  • Each chosen activity would trigger a Bronze
  • 5 Bronzes would trigger a Silver
  • 10 Bronzes would trigger a Gold

Best,
Don

In reply to Don Presant

Re: Badge Criteria to restrictive

by Mihir J -

I was doing little research on adding new badge criterion.

It looks to me that without changing the core moodle, there is no way to do it. Currently the badge framework is in such a way that it does not allow a plugin/subplugins kind of a thing. 

But looking at the code, the above criterion can be built by changing the core files.

thanks!

Mihir