Timeout between attempts. Allow admin to set time that the quiz cannot be taken after each attempt.

Created on 25 June 2019, over 5 years ago
Updated 6 September 2024, 4 months ago

I wanted to add the option for a timeout between attempts. It was very tricky to add this feature with hooks in a custom module. I added it directly to the quiz module and created a patch. You may consider bringing it into the next release?

You would need to add something to it, though, to add the 'timeout' column to the 'quiz_node_properties' table in the database. I just enabled the module, post patch, on a database that never had quiz installed before on it. I would also suggest adding a column for a 'next_attempt' timestamp, or something similar, to make the function _quiz_get_next_allowed_attempt() in quiz.module more performant.

Please let me know if you have any questions.

Peace

✨ Feature request
Status

Closed: outdated

Version

5.0

Component

Code - Quiz core

Created by

πŸ‡ΊπŸ‡ΈUnited States genellann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 EOL approaching starting to triage the D7 quiz queue. Since there is no patch and not moved in 4 years going to close out. But if a problem in 7.0.x please reopen

Production build 0.71.5 2024