HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

Hi Dylan, HD Quiz is a great plugin, thanks! I am the pe…

Published: March 30, 2020
Support status: closed

Hi Dylan, HD Quiz is a great plugin, thanks! I am the person that’s been asking jarman22 for those features, so sorry for sending in the same query via a different route. I just wanted to highlight which bit is more important than the other. I get the email results bit is tricky, but would it be less effort if they were just saved to a file? Even if the plugin just wrote to a log file. The only other thing needed is a box at the beginning of the quiz that asks for a name. We’d really appreciate these tweaks. Thanks.

This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Richard

Hi Richard,
the issue isn’t with email, it with almost literally everything else involved.

We would need to first hook into the quiz to display a text field that asks for the user’s name.
We then need to hook into the quiz completion function to A) get the final results, B) assuming you want to know which answers the user got right and wrong, we need to grab all of that data too, C) send the user’s name along with the results, D) sanitize and clean all of the data for security, E) send to a server function to sanitize and parse the data again, and finally F) do whatever we want with that data such as save to database, or send as an email etc.

I almost always go far out of my way to help users and even write custom code and features for them all the time, but as you can imagine, the above is far out of the scope of what I can offer as support for a free plugin that I develop and support in my spare time.

However, with that said, not all is lost.

You can always use the free addon plugin Save results light that extends HD Quiz to save the score of all submitted quizzes to the WordPress dashboard. But please note that this is a free an “light” version of the addon that is limited in functionality. For example, this addon does not send emails, only saves the quiz takers name if they are currently logged in, and ONLY tracks what the score was (example: 9/10) – not what each individual answer of the quiz is. It’s more than enough for most site owners, but I’m getting the feeling that you need more.

A “pro” version IS in development, but will be a paid addon (my first!) and is still ~2-4 weeks away from release. However, the pro version will be able to do everything you are requesting and even a lot more such as the option to publically display a “score chart” for quizzes and stuff.

30 March 2020 — 17:00 support admin - 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.