Timeline for How to check if user has passed the quiz already before granting user points?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 12, 2017 at 8:42 | comment | added | zoom-ping | I used your solution at drupal.stackexchange.com/questions/245442/… and it worked like a charm! Thank you so much for taking the time to help! | |
Sep 12, 2017 at 8:41 | vote | accept | zoom-ping | ||
Sep 10, 2017 at 20:40 | comment | added | zoom-ping | Thank you so much for taking the time to write and test all this! I'll try to implement it on my site in the next couple of days and will let you know how it goes. | |
Sep 10, 2017 at 9:16 | history | edited | Pierre.Vriens | CC BY-SA 3.0 |
added 235 characters in body
|
Sep 10, 2017 at 9:08 | comment | added | Pierre.Vriens | @zoom-ping please let me know what you think of my updated answer ... if would be great if you could import the flag setup and the custom rule in your own site to QA test it (in my site it works like a charm ...). I must admit this was a pretty tough Rules question (way behond a typical set of Quiz questions ...). Curious now if this answer will "pass" your QA-review ... | |
Sep 10, 2017 at 9:05 | history | edited | Pierre.Vriens | CC BY-SA 3.0 |
added 3818 characters in body
|
Sep 8, 2017 at 18:02 | history | edited | Pierre.Vriens | CC BY-SA 3.0 |
fix typo in exported rule
|
Sep 7, 2017 at 14:48 | comment | added | zoom-ping | I've messed with it a bit more and tried using the proposed rule, but no dice. "quiz-result-unchanged:is-evaluated" always returns false, and this rule will always give points if the user passes with the required score. As far as I can tell there's no way of checking if the user has passed the quiz before. Giving user roles is out of the question because I can't do it for every single quiz in the future. | |
Sep 6, 2017 at 16:06 | comment | added | zoom-ping | Thanks for the quick reply! That solution is for the "store best results" setting? Can you please explain what the IF statements are doing? The problem with that storing only latest results breaks the quiz results page for the user. Right now I'm storing all results because it's the only option that works properly. I also just realized that once the user has completed the quiz and goes to it again "You have already passed this quiz" message is shown. Is that what "quiz-result:is-evaluated" stores? | |
Sep 6, 2017 at 15:26 | history | answered | Pierre.Vriens | CC BY-SA 3.0 |