• I would love to be able to email the results to the quiz taker, rather than have them emailed to me. Is there some change I can make to the code to allow this? Only logged in users will be taking the test, but I’d like to be able to take the results page (scored)to the wordpress member’s email address and an address they enter. It’d be cool to have a form field – a to email, and a button, “send test results”

    It would also be cool to have a way to make a link – a logged in user could see their test scores of all tests taken.

    I can code some, so any hints would be helpful, and I’d send you the mods.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well while I was figuring out the best way to do it to give you hints, I basically did half the work required to code it myself and add it to the plugin. So instead of a hint I can give you code.

    http://downloads.wordpress.org/plugin/wp-survey-and-quiz-tool.zip has the ability added.

    Thread Starter MBAngel

    (@mbangel)

    OMG!!! ty so very much. Let me know where I can send a tip for this. I’ll have a look at what you’ve done, and I do so appreciate it!!

    Thread Starter MBAngel

    (@mbangel)

    Hiya Backie, before you go adding that to your plugin –
    line 627 has an error it should be typed like this –
    function wpsqt_main_db_upgrade()

    Also, the link in the email goes to an admin page, so we need a public page to display that info (and while we’re at it, a way to display all tests the user has taken so they can see all results). The email doesn’t come from me, it comes from WPSQT Bot – subject line – WPSQT Notification.

    Or we need to include the results, so they don’t need to click, but I’d still love that feature where they can see all their own tests.

    (I’m not complaining, I just didn’t want you to package it and have complaints.)

    Thinking out loud here….

    I’ll bet a quick look at the admin page code will help me code it. I realize you too work for a living and have a busy life (but my client would be extremely happy with you for helping – reference above noted tip offer), and your tool is THE VERY BEST QUIZ AND SURVEY PLUGIN FOR WORDPRESS (in caps so ppl see it, hehehe), and comes the closest to what I need in this kind of plugin. I’m sure everyone wants their own special tweak, but I have seen on a few message boards that this email feature is desired. My idea is to look at your current listing page for the admin, and alter it so it only calls the info for the logged in user for each test when you click results. This quiz data goes into the db right? so, I should be able to pry out the info I want with the right sql?

    My thought was to include code on the quiz takers review.php page to add a form at the bottom (of course, selfish wench that I am, I only consider MY needs – you’d probably consider it from a different view). Simply (there’s that word… “just” – like Maaaagic!) add a form field for an extra email address, a hidden field for the wordpress email address, a field to hold all the content that is generated by the php code, and a button for them to hit send. Oh yeah, from name and email hidden fields too, generated from the built in config options.

    Anyway, you probably have a better idea of where to put this, I thought your solution was elegant. You’ve probably got some slick functions section you could slide this into.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Survey And Quiz Tool] Email the quiz taker? List quizzes taken?’ is closed to new replies.