You Asked, Justin Delivered

A few readers have commented that my new Challenge Question Plugin, while great, was causing a problem when you forget to answer the question before submitting the comment. If you do that, you get taken to a new page asking you to answer the question. The problem was, when you go back to the comment page, your comment was gone. If you just spent a good 10 minutes writing a detailed comment, I can see how this would be upsetting.

This problem has now been fixed. Thanks to the coding genius of Justin from My PC Rig, if you forget to answer the challenge question, a screen will pop up saying, “Please answer the question! It’s 2007 in case you didn’t know.” Give it a try. It’s good for a laugh.

If you answer the challenge question wrong, it will take you to a new page saying you’re wrong and when you go back, your comment will be gone. Justin is working on turning that into a pop up message as well. So for now, make sure you know what year it is!

*Update – When you answer the question wrong, a pop up screen nows shows up as well.


34 thoughts on “You Asked, Justin Delivered”

  1. Very very nice indeed. Justin you’re the man. I hope to one day be a L337 h4x0r like you. Sorry. But good job with that, i actually did write a lengthy post and out of habbit forgot about the date thing. Thanks.

    1. I wanted give a try. This is my first time that I am reading your blog. I came from Q-Taro’s Page.
      I like specially about the monetizing blogs. Keep up the good work.

  2. Ryan says:

    Sweet! Does this mean you’ll be using AJAX soon? 😀

    1. Leftblank says:

      I doubt it, you still get a hard refresh for every comment you make, only thing this javascript do is nag you instead of annoy you by redirecting you 😉

  3. Thanks. I hope everyone enjoys my 1337 skills!

    1. Alex Becker says:

      1337 indeed. Nice work I like the sarcasm in the message.

    2. Jane says:

      Are nunchuck skills apart of those 1337?

  4. Michael Kwan says:

    Awesome. Now we’ve got to wonder how that question will work on New Year’s Eve, given that many of us are in different time zones.

    1. The answer is set manually, and by that time, I’m sure we can have duel answers.

  5. Marc says:

    Good job Justin. I got burned by that but figured it was just tough luck for me. Great to see fixes that make people’s lives just ever so slightly easier 🙂

  6. Jane says:

    Justin, you’re the man! This will make a lot of peoples lives a lot easier…dunno, just a hunch 🙂

  7. Andy says:

    Great work Justin!

  8. Thanks to both John and Justin, as I also fell victim to this when making my first comment after it was introduced on the site.

  9. Nik Agarwal says:

    Maybe I didn’t read something correctly, but is this nifty fix available for other users of the plugin?

    1. John Chow says:

      Umm, no. However, if you are running the same Plugin AND the threaded comments Plugin, I can show you want parts of the codes you need to change.

  10. I just noticed there was a nice little jump in your subscribers john, when i looked it was at 1739. usually it hovers around 13XX i believe

    1. Leftblank says:

      Yup, saw it too, in fact it’s still like that right now, pretty impressive.

  11. Nomar says:

    Thats very nice !!

  12. skintube says:

    Very similar to the brilliant Vbulletin hack NOSPAM. You can find it here: link

  13. TheAnand says:

    maybe you shud try something like what is ther in my blog, it has a basic math question each time. . .

  14. Scott Howard says:

    yeah, I did the same thing. But fortunately my comment was not very long.

  15. Tom says:

    Is there any way the magnificent Justin could share his coding prowess for us lesser mortals?

    We would be most appreciative.

  16. Raghu says:

    Guess I came a few days late and did not face problems of losing posts which I had typed out. But anyways looks like a great option to block spamming!

  17. Blogcrowds says:

    If the plugin is written in PHP can’t you use the sticky form method?

    or include in a cookie that contains the user information like Name so visitors won’t have to type in their name every time?

    1. Blogcrowds says:

      wordpress ate my php code, escape the characters, here it is again

      <?php if(isset($_POST['comment'])) echo $_POST['comment'];?>

  18. Alex Becker says:

    John if someone gets the year wrong the message should automatically erase and instead the comment should read I’m Stupid. That way everyone would know that that person got the year wrong.

    1. Jane says:

      LOL…I like this idea…although I may top the chart

  19. Pallab says:

    If you use Opera, the comments wont go anywhere.

    I had installed that plugin couple of months ago, and I got complaints that the questions were too tough!! So I changed to this plugin : http://www.herod.net/dypm/

  20. Greg says:

    This is crap, i hate questions, i went to school to answer questions, i answer questions from my girlfriend, and now from you?

    I’ve had it!

    1. Alex Becker says:

      So Greg we will see you tomorow?

      1. John Chow says:

        I think we’ll see him the day after that too! 🙂

  21. Shocker says:

    Thanks all for your kind words!

  22. derrich says:

    Justin is my hero! 😀

Comments are closed.