Level Up XP - Gamification 🏅
Maintained by
Frédéric Massart ⭐
🔥 🤩 The easiest way to add gamification to your Moodle site! Engage your learners! Gamify their learning experience to increase participation and completion rates. #gamification #engagement
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
ANY conditions must be met:
- ALL conditions must be met:
-- Event is X
-- Activity is Y
- ALL conditions must be met:
-- Event is Z
-- Activity is A
If we were to compare match your request with game terms I'd say that you want to reward your students when the complete quests, a quest being a unit. I have had in mind to create a separate plugin, which could work with block_xp, that would define quests for the students to do. I'll keep your request in mind ;).
When all required items are completed for the unit (units are "topics" in Moodle-speak), I want to issue more experience points. It is outside the realm of course completion, since I don't have that set-up. Is there a way to set it up using the "ALL conditions must me met" and then selecting all the items that need to be done with a completion condition?
Not that I am aware of. CRUD means Create/Read/Update/Delete, those are just the rough "type" of an event. As the plugin is relying exclusively on events triggered by Moodle, it becomes very tricky if you want to inspect the "state" of the course, for instance the completion of each user. Technically it should be possible but I'm afraid that the user interface would not allow you to, and would require quite a lot of configuration.
The 'Activity/Resource' condition observes in which activity/resource the event happened, it is usually only useful if you combine that condition with another one.
I hope this helps a bit.
Cheers,
Fred
Perhaps I am not versed enough if the tech side of Moodle (I have no idea what CRUD is.) , but is there a way to assign points for completing all tests in a unit? For example, if I have a list of 10 things that students must do, can I set that up give a large number of "bonus" points for doing all the tasks? Perhaps that is what the Activity / Resource condition is. It was just unclear to me.
Merci!
Brian
Thanks for your work.
Jacques.
I write in your control, it's possible by pass this by a direct data base deleting:
- table mmdl_block_xp_log for the logs,
- table mdl_block_xp for the reports and the ladders.
With a good SQL request, it's possible to filter by user, by course.
But it's a solution for and administrator
Jacques.
congratulations for this nice plugin!
I use it on Moodle 2.7.
I have an error, but I'm not sure that a Level Up "bug".
On the "Report" target there is a "Reset course data" button.
When I clic on this button and on the following page I clic on "Continue" I obtain an error message : "Error writing to database" (see also the debug mode message below).
Any suggestion ?
Jacques.
The debug mod message:
Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'b WHERE b.courseid = '1'' at line 1
DELETE FROM mdl_block_xp b WHERE b.courseid = ?
[array (
0 => 1,
)]
Error code: dmlwriteexception
Stack trace:
line 446 of \lib\dml\moodle_database.php: dml_write_exception thrown
line 974 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 639 of \blocks\xp\classes\manager.php: call to mysqli_native_moodle_database->execute()
line 63 of \blocks\xp\report.php: call to block_xp_manager->reset_data()
Only one problem that a student is not able to see it on the dashboard.
Is it a bug?
any suggestion
I am afraid that I cannot reproduce this bug. Could you please ask your administrator to inspect the logs for eventual errors, and then raise an issue here https://github.com/FMCorz/moodle-block_xp/issues ?
Cheers!
Fred