• Resolved Mike Smith

    (@daledubilowski)


    This plugin does 90% of what I need it to do but for some reason I cannot see the user results on the backend when I am logged in as the admin.

    I click over, edit the exam and the click the link that says “SEE USER RESULTS FOR THIS TEST” which takes me to a screen that says:

    Users data
    You can copy the results from here and post it in your site

    But that is all I see… no user data. No download link.

    I’ve done the test using a couple of different accounts and still no luck.

    Is anyone else having this problem?

    Cheers!
    dale

    https://www.ads-software.com/extend/plugins/hexam/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thanks. I am trying to do a combination of both – I do not want them to be logged in but I also do not want them to see results as soon as they are finished. Is that possible?

    Plugin Author Guaven Labs

    (@elvinhaci)

    Bluecloud it is possible. We must make code changes for it. But i have one question. Why don’t you want not_logged_in users to see their results? You know, if they are not logged in, then their data will not be saved anywhere. Then why to hide unsaved result from them?

    I want people to take the test, then have the results sent to me, then I send them an email that tells them what their score was. Does that make sense?

    Plugin Author Guaven Labs

    (@elvinhaci)

    Yes bluecloud it is possible. let’s do it. So, go to plugin editor, open hexam.php.

    1. Then go to line 63, and replace <br><input type="submit" name="'.$word["hsubmit"].'" value="'.$word["hsubmit"].'"> </form>'; with <br>Type your email here: <input type="text" name="useremail" id="useremail" value=""><br><input type="submit" name="'.$word["hsubmit"].'" value="'.$word["hsubmit"].'"> </form>';

    2. Go to line 78 and replace $replacement= $replacement.'<b>'.$word["hscore_1"].' '.$point.' '.$word["hscore_2"].'.</b>'; with mail("[email protected]","New user result",$point." points from ".htmlentities($_POST["useremail"]);.

    That’s all. It must work fine.

    I’m having a serious problem with Hexam using the wrong answer as the right one. I have set up a test with 49 questions, and answering them all correctly gives a score of 12.

    For example, the second question’s correct answer is field 3, but you need to select field 1 to get a point for it.

    Completely in the dark as to what’s going on.

    Plugin Author Guaven Labs

    (@elvinhaci)

    Hello palgrave. Let’s solve your problem with this plugin. Please tell me some information.

    1. Does the plugin work when you set just 4-5 questions?
    2. Please give me url of that test page.

    I will investigate it directly in its place.

    Hi Elvin, and thanks for the reply.

    I had a look at it in the meantime and was able to solve the problem by adding ORDER BY id ASC to the MySQL in line 69 (select answers,correct…etc)

    I think some of the questions were re-ordered by copy/paste but I can’t think of anything else that happened. (The site and quiz creation is in the hands of a client). Could this have an effect.

    I can’t give you a direct link as the quiz is on a password protected page that normally requires a payment to access, but you can get in touch on twitter @derekjohnson and I’ll DM you my email if that works for you?

    Plugin Author Guaven Labs

    (@elvinhaci)

    Ok paigrave, i am following you in Twitter. @elvin85

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘[Plugin: HEXAM] Not able to see user Results’ is closed to new replies.