Viewing 5 replies - 46 through 50 (of 50 total)
  • Thread Starter rpetitto

    (@rpetitto)

    @samnajar, glad to hear partial points is working for you. I’m still working on a feature that allows for retrying an activity. Problem becomes is since there isn’t a native option for logging number of attempts, theoretically users can get partial credit infinitely. The best I’ve been able to come up with so far is to award zero pts until they earn 100%, but haven’t been able to combine that with the partial points feature. My test configuration awards partial points on first attept and then 0 until they get 100% whereby they’ll eaen full points…not ideal as they earn more points than the activity is worth.

    The only way to counteract this is to subtract their partial point score when they press retry, but since the H5P activities are all embedded, I don’t believe there is a “retry webhook/action” to tap into to make this a reality.

    @icc0rz, is there a retry reference or hook I can take advantage of within the plug-in to make this happen?

    When I come out with version 0.4, I’ll be sure to post an update.

    Thank you @samnajar! I had thought that just changing an existing question would be enough (it gives that warning about starting over), but totally new questions worked great, including partial credit!

    And thanks to @rpetitto for such a great plugin!
    Looking forward to having the “re-take” option too.

    @rpetitto , I was trying to implement the missing “re-take” option, If you can please just indicate whether I am on the right track or not ?
    In file named “mycredh5p.php”, will the re-take work if both lines 75 & 76 are removed ?
    // Make sure this is the first result for this content.
    if ($result_id) return; // (result_id is only used when updating an old score)

    @icc0rz, is there a retry reference or hook I can take advantage of within the plug-in to count the score in all times not just the first time only?

    Thanks

    Plugin Author icc0rz

    (@icc0rz)

    @samnajar, sadly no, you would have to find a way to keep track of this your self.

    Hello,
    I’m wondering if you can assist me. I tried adding the plugin that you provided (to the myCred plugins folder on my server), but I am not seeing the hook for the H5P points.
    Ultimately, I would like to award points, and ultimately badges, to users for the completion of H5P content.
    I’m very new to this so any assistance is greatly appreciated.

Viewing 5 replies - 46 through 50 (of 50 total)
  • The topic ‘H5P myCRED Hook’ is closed to new replies.