Questionnaire user is always anonymous :-((

Questionnaire user is always anonymous :-((

by Rafael Pérez -
Number of replies: 10

Hi!

I installed the module over 1.5.2+, and I logged at my admin page... all tables created OK.

I tryed my first questionnaire and I selected nominal, but in the reponses user is always Anonymous...

Any ideas?

Thanks in advance.

Average of ratings: -
In reply to Rafael Pérez

Re: Questionnaire user is always anonymous :-((

by Mike Churchward -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Rafael. Is 'nominal' the same as the English 'fullname'?

mike
In reply to Mike Churchward

Re: Questionnaire user is always anonymous :-((

by Rafael Pérez -
Hi Mike!
Yes, nominal=fullname. I have done some work: user is always anonymous ONLY IN THE INFO SEND BY MAIL; the report showing info in moodle look OK.

---->>>>Edit:  We (thanks to my colleage Carlos Peña adminies.lacimurga at juntaextremadura.net )_just_ have a fix: in locallib.php:
change:   $this->response_send_email($formdata->rid);
for:            $this->response_send_email($formdata->rid, $userid);


There are two more things: "save" (when selected) doesn't work and "print" make always a blank page.

Thank you very much in advance.
In reply to Rafael Pérez

Re: Questionnaire user is always anonymous :-((

by Ton Verplanke -
Hola Rafael,

I am also trying to get the full name of the user into the e-mail.
In locallib.php I found this on line 548:

        $this->response_send_email($this->rid);

This seems to be diferent from If I change it into your hack, it does not work.

Any ideas?
In reply to Ton Verplanke

Re: Questionnaire user is always anonymous :-((

by Rafael Pérez -
Hi Ton,
     Mike is working hard in the module. Perhaps your version is more recent than the one we are using...
     We are waiting for a questionnaire to be closed. Then we will update the module sonrisa

    Meanwhile I can't help you.
    Best regards,

    Rafael.
In reply to Rafael Pérez

Re: Questionnaire user is always anonymous :-((

by Ton Verplanke -
Hi Rafael,

Thanks for the reply.

I am still working on it.

Ton
In reply to Rafael Pérez

Re: Questionnaire user is always anonymous :-((

by Mike Churchward -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Sorry for the delay. I have now committed a fix that will correctly send the user's name in the email, for non-anonymous submissions.

If anyone wants to propose a nicer email text format, I will implement that as well.

mike
In reply to Mike Churchward

Re: Questionnaire user is always anonymous :-((

by Ton Verplanke -
Dear Mike,

Your timing is perfect!

You just made me a very happy man!
E-mail has the user in it. That's sufficient for me!

Thanks a lot
In reply to Mike Churchward

Re: Questionnaire user is always anonymous :-((

by Sallie Draper -

Hi Mike,

I'll take you up on the offer to implement a nicer e-mail text format for the questionnaire results.  First, I suggest that you add line breaks between each answer being reported so that they are not in one wrapping string of text but on separate lines.  This will greatly improve the readability of the e-mail.

Here's a screen shot of a current wrapped text e-mail.

Questionnaire e-mail response text wrap

In this example, I am suggesting you start a new line every where an item number value for the next question occurs, i.e. 54, 37, 38, etc. 

A secondary request would be to send the question number and field name instead of the current item number that is used to identify the response, i.e. "1. Name - " in place of "37"; "2. Department - " in place of "38".

Are either of these formatting changes possible?

Best regards,

Sallie Draper
WELS Technology Trainer
WELS.net University - www.wels.net/university

In reply to Sallie Draper

Questionnaire Submission - Copy the Submitter

by Miguel Guhlin -

Is there any way for questionnaire to copy the form content submitted to the person submitting them?

With appreciation,

Miguel Guhlin

MoodleMayhem.org

mguhlin@gmail.com