Support » Plugin: HD Quiz » Suggestions and Bugs

  • Resolved bzzktt

    (@bzzktt)


    Hello

    Firstly, I love the simplicity of this plugin which is what makes it attractive to use and I will gladly contribute! However, after testing it, I have a few suggestions/bug reports. I have submitted these using the form on your own site too.

    1) Answers in inverted commas, such as “A” work but when you return to the editor the answer field is blank.

    2a) The toggle “Highlight correct / incorrect selected answers on completion” shows ALL correct answers during the quiz as well as on completion. Note: I don’t mind this functionality as it’s useful, however, it’s not working as stated.

    2b) As the first toggle in (2a) shows ALL the correct answers (not just the answers the user got correct or incorrect on completion), when the first toggle is set, the second toggle “Show the correct answers on completion” makes no difference.

    3) The incorrect answer text always seems to be shown (for both correct and incorrect answers) even when the “Always show incorrect answer text” toggle is not set.

    4) When showing the final score, the last question is still displayed. Although not a bug, it might be less confusing for the final score to be on its own page (paginated).

    5) When sharing to Facebook, unlike Twitter, the site is linked but not the score (which is the important bit).

    Many Thanks

    Gavin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    1) Answers in inverted commas, such as “A” work but when you return to the editor the answer field is blank.

    This is the way it’s supposed to work. Fields get sanitized using WordPress’ recommended function sanitize_text_field(). This function strips any and all invalid UTF-8 characters. The inverted comma is an invalid UTF-8 character.

    2a) The toggle “Highlight correct / incorrect selected answers on completion” shows ALL correct answers during the quiz as well as on completion. Note: I don’t mind this functionality as it’s useful, however, it’s not working as stated.

    I think that you also have “Immediately mark answer as correct or incorrect” option enabled. The highlight correct / incorrect option only fires off once the quiz has been completed.

    2b) As the first toggle in (2a) shows ALL the correct answers (not just the answers the user got correct or incorrect on completion), when the first toggle is set, the second toggle “Show the correct answers on completion” makes no difference.

    Once again, I think you have the “Immediately mark answer as correct or incorrect” option enabled. This is a new featured that was just added in and it overrides any other option since it runs each time an answer is selected instead of on quiz completion.

    3) The incorrect answer text always seems to be shown (for both correct and incorrect answers) even when the “Always show incorrect answer text” toggle is not set.

    Again, this is because you have the “Immediately mark answer as correct or incorrect” option enabled – however, this one is an actual bug so thank you for bringing it up. This works as intended if you do not use the immediate option, however, it was supposed to still honour this setting. I’ll have this fixed in the next version!

    4) When showing the final score, the last question is still displayed. Although not a bug, it might be less confusing for the final score to be on its own page (paginated).

    This is unfortunately not possible. The way pagination works is by creating “virtual pages” based on however many “questions” are in a queue. Since the results is not a question, there is no way to force an extra page just for it. It would results in a 404 not found error. However, you bring up a good point and something that I can do is hide the questions for paginated quizzes so that only the results are visible. Good idea!

    5) When sharing to Facebook, unlike Twitter, the site is linked but not the score (which is the important bit).

    This is unfortunately not something I control. Unlike Twitter, there is no way to send custom or dynamic content to Facebook unless you create an “app” for facebook. Under HD Quiz -> About / Options, you will see an input where you can enter your Facebook APP ID. Doing so will allow HD Quiz to now share dynamic content – the results of a quiz. You will have to go to https://developers.facebook.com/ and create an app for there. I would give instructions but Facebook frustratingly seems to change the layout every few months.

    TLDR;
    Most of your issues are due to having “Immediately mark answer as correct or incorrect” option enabled which overrides other settings. I’ll make it more obvious that this happens in the next version to help avoid confusion. I’ll also fix the bug where that feature does not honour the “incorrect answer text” setting. Finally, I’ll implement the idea about hiding questions after quiz completion for WP Paginated quizzes.

    Thanks for the reply.

    Gavin

    • This reply was modified 2 months, 3 weeks ago by bzzktt.
    Plugin Author Harmonic Design

    (@harmonic_design)

    Hi Gavin,
    I saw that you still had a question about when that text shows, but you’ve edited your reply. I just want to make sure that you’re good now or if you still need help sorting that out.

    Just let me know!

    Hi HD

    No… you answered my questions very well and thoroughly! I apologise for not realising about the Facebook ID (my bad) and it was question 3 which threw me when trying to figure out about question 2. I appreciate you taking the time to reply. I hope to use your quiz plugin extensively for my online (FREE) beatboxing lessons.

    Thanks again for all the hard work and for your excellent support.

    Many Thanks

    Gavin

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