Hi gary, I love the plugin. I would like develop a custom…
Hi gary, I love the plugin. I would like develop a custom addon for modify or add some features of the plugin (for the moment):
- Show the results at the top of the quiz
- Disable the options of the question where user chek the results
- Add the question item to the wordpress menu (/wp-admin/edit.php?post_type=post_type_questionna)
- The most important. Save in DB the results in a new table with the next fields: QuizID / TotalQuestion / CorrectQuestion / IncorrectQuestion / BlankQuestion / Date / User. I need show stats to the user (for example with wpdatatable plugin)
I don’t know if these functionalities can be developed through an independent addon.
Thank you in advance
This thread has been imported from harmonicdesign.ca/hd-quiz/
Hi Miguel,
not sure who Gary is… but the good news is that literally every single one of your requests is already built into HD Quiz.
1. Show the results at the top of the quiz
The results show at the top by default. Edit the quiz settings and make sure that “Show Results Above Quiz” is enabled.
2. Disable the options of the question where user chek the results
I’m not 100% sure what it is you are asking here, but HD Quiz has the following options that you can disable. “Highlight correct / incorrect selected answers on completion” and “Show the correct answers on completion”.
3. Add the question item to the wordpress menu
Questions and quizzes can already be accessed by admins from the sidebar. If you want authors to be able to see them as well then enable “Allow Authors Role Access” from the About / Options page.
4. The most important. Save in DB the results in a new table
Check out the new HD Quiz addons page 🙂 There is already an addon that you can download for free called “HD Quiz Save Results Light”. This addon will save the quiz name, logged-in user, and score. It will not save total questions left unanswered (just like a real quiz, if you don’t answer a question, you get it wrong). The stats are stored as a JSON string in the wp_options
table, so you’ll be able to do whatever you need with them from there.
Oh Dylan, sorry… I confused your name with someone else.
- Big mistake on my part, no case…
- I mean you can’t select the check when you’re seeing the results. I think it looks more elegant. For example, it can be hidden in the results once we click on finish. (.hdq-options-check: display:none; )
- Ok
- I have the addon, very good. The problem is that I estimate about 3000 monthly tests and I think it could be better and more efficient to save it in a different table with individual fields. What do you think about this?
Thank you in advance Dylan 😉
If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.
This thread has either been marked as complete or has been automatically closed due to inactivity.