Support » Plugin: GamiPress - LearnPress integration » Quiz Event: passing quiz

  • Resolved evangv

    (@evangv)


    Hello,
    is it possible to trigger an event only when a quiz is passed, and not only when it is completed?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    Actually is not possible yet since this integration doesn’t includes an event for that

    I just added your request to our roadmap and we will add it on future updates

    Thank you so much for your suggestion

    Best regards

    Hello and thank you for this feature, but I tried it 3 times (add a credit when I pass a quiz) and it did not work. I tried it both for already existing and for new quiz. Could you please check this?

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    We perform several tests and this event is correctly working

    Be sure you have all plugins up to date

    Also, check if the requirement you setup, doesn’t has any limits that are preventing you to earn it

    Best regards

    I still can’t seem to make it work, even after the latest update. Adding a credit when a user finishes a quiz works fine, but when they pass it, doesn’t work. Should I notice anything special ?

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    We have released a new update that fixes an issue on the GamiPress awards engine

    Have you tested it with latest release?

    If you have GamiPress up to date, have you tried to perform a theme and plugins conflict test by deactivating all if them?

    Best regards

    I have tried all of these but no result.

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    I hace tried this event many times on a clean install and is working correctly so the event is completely working

    There is nothing more I can perform here, try it on clean install and you will need to investigate why it doesn’t works on your site

    Best regards

    After reading the logs of Gamipress, I think I finally found out the problem!
    Every time I pass a quiz, the fail event is triggered!
    https://i.ibb.co/0MTDLPY/2020-03-12-2-34-55.png

    Any ideas why this is happening?

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    Then it means that the quiz are not passed

    When the quiz gets completed, GamiPress uses the LearnPress function $user_quiz->is_passed()

    Again, this was checked many times from your report and is completely working so you will need to find why your quizzes as not getting marked as passed

    Best regards

    I have tried everything: deactivated all the plugins, tried different kind of marks, updated all the plugins. The strange thing is that my quizzes appear passed in LearnPress (Gradebook and in site messages – green ticks appear) but Gamipress still receives them as failed.

    I will wait until new versions of LearnPress and gamimpress are available.
    Thank you.

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    Just in case, have you tried a WordPress event? Like comment on a post?

    This event has been tested with the current versions of both plugins

    Best regards

    No, I haven’t tried that. Only when ‘finish a quiz’ and it works.

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    Then is perfect since It demostrates that the GamiPress awards engine works so the only you need is to check why your quizzes are not getting marked as passed

    We have tested it with GamiPress, LearnPress and our integration (without any extra plugin)

    Best regards

    It finally worked! There was a strange setting that helped this trigger work, that you might want to take into consideration in your next update:
    The quiz was regarded as passed when I changed the course setting->Assessment->from ‘evaluate via quizzes’ to ‘evaluate via lessons’. In my case it doesn’t make a difference, because I have deactivated the course completion, but it seems to affect the trigger somehow.

    Plugin Author rubengc

    (@rubengc)

    Hi @evangv

    Awesome! And thanks for let me know about this setting

    Will be useful for anyone with the same issue

    Best regards

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.