Grassblade and Learndash Add-On
-
Hi Michael-
I’m using GrassBlade xAPI with Learndash. When course content via Grassblade xAPI marks complete a LD Lesson complete the associated BadgeOS achievement is not being awarded.
I’m trying to make a plugin that will correct this.
The Grassblade developers (who also have worked with Learndash of course) have looked at my issue and provided the following answer:
“The triggers are working as expected but addon is not working, probably its not using the “learndash_lesson_completed” trigger and using something else or using it incorrectly. Their code is quite complicated. If you contact their developers they should be able to fix it without much effort.
You can tell them to use LearnDash’s “learndash_lesson_completed” action hook.
add_action(“learndash_lesson_completed”, function ($data) {
$lesson_id = $data[“lesson”]->ID;
$user_id = $data[“user”]->ID;//Required BadgeOS Code Here
}, 5, 1);
If required similar changes might be required for quiz and course completion hook.
I will help them where required.
– Pankaj”So as you can see Michael I need help with that required Badge OS Code in the middle.
Can you help me with this?
Please let me know if I need to sign up for some kind of custom development for this.Thank you!
Matt
- The topic ‘Grassblade and Learndash Add-On’ is closed to new replies.