level up plugin

level up plugin

by ARI HF -
Number of replies: 1
Hi
I am using level up plugin in moodle 2.9.3+, how can I customize triggered events and some rules, for example when a student get loggin should get a some points, when a student post comments in a forum should get points different to the one get when viewed a forum, what should I do, which pages should I edit; any assistance please???


Average of ratings: -
In reply to ARI HF

Re: level up plugin

by Frédéric Massart ⭐ -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi,

I'm afraid you cannot reward your students for logging in as it is not considered a "Participating" event. Regarding posting in a forum, it is already the case that they are attributed different experience points to reading the forum.

This bit of the documentation may be found helpful:

This block listens to events triggered in Moodle and captures some according to pre-defined rules. It then attributes experience points based on the information contained in the event. For more information about the events, refer to the documentation.

Only the users with the capability block/xp:earnxp can earn experience points. This capability is given by default to students. Also actions triggered by guests, non-logged in users or administrators are ignored.

The following events are always ignored:

  • Events from another context than course or module
  • Events having another educational level than participating
  • Events flagged as anonymous, e.g. in an anonymous Feedback

The rest is up to you. By default the plugin comes with a minimal set of rules to attribute experience points to actions, and to ignore some redundant ones. Visit the Rules page in the plugin itself to view or override them.

Note: Repeated actions within a short time interval are ignored to prevent cheating.


Please also check this post where I explain in a bit more depth how the system works. Understanding how the plugin works with the events is key to setting up your rules.

https://moodle.org/mod/forum/discuss.php?d=318996&parent=1280992

Cheers,
Fred

Average of ratings: Useful (2)