Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @giannis4

    I have performed a test with h5p points per score with two different users by checking the “Award only one time” option and both have achieved the points.

    Please could you make sure that you are using different users in each test and make sure that the lesson is being completed correctly?

    Feel free to open a ticket at contact@gamipress.com and include detailed screenshots.

    Best regards.

    Thread Starter Giannis Kipouros

    (@giannis4)

    Hi @dioni00,

    Thank you for the answer. I am not referring to the points for completing the lesson but awarding the H5P score the student achieved in the lesson as points.

    Checking the plugin’s code I saw the following in filters.php like 58:

    // Skip if points of this type has been already awarded
                if( (bool) get_post_meta( $content_id, $prefix . $points_type . '_awarded', true ) ) {
                    continue;
                }

    This seems to check a flag of the lesson whether the points have been awarded instead of checking if the student has completed the lesson.

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @giannis4

    Thanks for your reply.

    After checking the integration, we have detected the error, thank you for sharing the code part. We have notified the development team to fix this issue.
    The update will be released as soon as possible.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Award only one time’ is closed to new replies.