• Resolved pawanpandey

    (@pawanpandey)


    Hi,
    I have used HD quiz for a few months. It is a great plugin and has never given trouble to me.
    For a last few days, the quizzes on my website have two issues:
    1. Timer not working
    2. Submit/finish button not working.

    I tried to find on the forum, but could find nothing. I have tried changing themes, deactivating plugins etc.but to no avail.

    Would be grateful for any help.
    Regards,
    pawan

    The page I need help with: [log in to see the link]

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

    (@harmonic_design)

    Hi pawanpandey,
    The problem is that your site is not properly printing the HD Quiz javascript variables anymore.

    Example of what the varialbes are supposed to look like:

    
    <script>
    let hdq_quiz_id = 43;
    let hdq_timer = 160;
    let hdq_show_what_answers_were_right_wrong = "yes";
    let hdq_show_correct = "yes";
    let hdq_show_answer_text = "yes";
    let hdq_pass_percent = 70;
    let hdq_share_results = "yes";
    let hdq_quiz_permalink = "https://designbypixl.com/the-ultimate-friends-quiz/";
    let hdq_twitter_handle = "harmonic_design";
    let hdq_quiz_name = "The Ultimate Friends Quiz";
    let hdq_featured_image = "https://designbypixl.com/storage/2015/09/90s-tv-shows-friendscrossroadstrding.com_-2.jpg";
    </script>
    
    

    I cannot tell you why this would happen without admin access to your site, but my guess would be that whatever cache/minification plugin you are using is scrubbing it.

    Please try completely disabling that system and see if it works. If it does, then you can check that plugin’s settings and see if there are any options that would cause it to remove javascript variables from the page, or see if there is a filter or excludes ability where you can stop quiz pages from being cached/minified.

    Thread Starter pawanpandey

    (@pawanpandey)

    Hi,
    Thanks for super quick response. It was Autoptimize plugin that was interfering with HD Quiz. Thanks to you, it is fixed now.

    Warm regards,
    Pawan

    Plugin Author Harmonic Design

    (@harmonic_design)

    Excellent! Glad we got it fixed for you.

    WP Autoptimize should have complete 100% compatibility with HD Quiz, so it’s interesting that the latest version of it seems to have introduced a new bug.

    I’ll do some testing and see if I can figure out a way to force HD Quiz to work with Autoptimize out of the box again.

    hiya people;
    what is likely happening is that another plugin broke the autoptimized JS, stopping the execution. JS errors on the browser console can be used to identify what is going wrong and excluding that 3rd party plugin from JS optimization will generally fix such issues.

    hope this clarifies,
    frank (ao dev)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Finish button and timer not working.’ is closed to new replies.