FMCorz / moodle-block_xp

A gamification plugin for Moodle allowing students to gain experience points and level up.
https://levelup.plus/?ref=github
149 stars 41 forks source link

event rule for a task/activity that has a pass grade #51

Closed rcancho closed 4 years ago

rcancho commented 7 years ago

Hi Fred,

the list of events in rule creation is very big but I miss this rule: earn points only when you submit an activity that has a pass grade. So maybe you could earn some points when you submit the task but you earn the bulk points when the task achieves a passing grade.

Reading the code I don't know if that should be done in the external plugin that provides its own events or here...

FMCorz commented 7 years ago

Hi,

At this stage there is no way to achieve this without custom development. The plugin only looks at the event, not what they are related to. For instance, if you submit an assignment you will get experience points, regardless of the settings of the assignment, or the eventual grade you will be given.

FMCorz commented 7 years ago

See #25.

FMCorz commented 7 years ago

Just commenting that can be solved using the add-on Level up! Plus, combined with activity completion set to requiring a passing grade.

FMCorz commented 4 years ago

Closing.