add the username in quiz results

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা
Number of replies: 10

Hello Jean-Michel.

I found this thread while searching for a way to add City to the Enrolled users table when we view who is enrolled in a course.

We are using Moodle 2.7 currently. I looked at your great explanation about adding a user name to the Quiz report but the file did not seem to be the same to do what I would like to do.

If you have a time could you please point me in the right direction to add City to the Enrolled Users page.

Thank you for your time and help.

Dennis

In reply to Dennis Davis

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা

Hi

I am trying to add username and description column to the report but did not get the chance to find out how.

I am using moodle 3.1 version.

Appreciate your help.


Thank You

In reply to Mohammed Shiekh

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা
Core developers এর ছবি Documentation writers এর ছবি Particularly helpful Moodlers এর ছবি Peer reviewers এর ছবি Plugin developers এর ছবি

Well, what you need to do is already explained in this thread.

Anyway, this is clearly a frequently-asked questions, and until now, the answer was not in the FAQ. It is now: https://docs.moodle.org/32/en/Quiz_FAQ#How_can_I_include_username_in_the_quiz_reports.3F

In reply to Tim Hunt

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা

Hi Tim

I don't know what to say, thank you very much, this is very helpful, it helped me to add the required fields.


Thank you

In reply to Mohammed Shiekh

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা

facing same issue , please suugest me the process

In reply to Dinesh Upadhyay

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা
Core developers এর ছবি Documentation writers এর ছবি Particularly helpful Moodlers এর ছবি Peer reviewers এর ছবি Plugin developers এর ছবি

The answer has not changed.

In reply to Tim Hunt

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা
where should i add in config.php 


$CFG->showuseridentity = 'email,username,idnumber'; 


please help me out .

config.php file attached

(Edited by Tim Hunt - original submission Wednesday, 17 January 2018, 12:23 PM)

In reply to Dinesh Upadhyay

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা
Core developers এর ছবি Documentation writers এর ছবি Particularly helpful Moodlers এর ছবি Peer reviewers এর ছবি Plugin developers এর ছবি

I really should not share your config.php file with the whole world.

It has all the information needed for someone to connect to your database and delete all the data.

You must now change the password for the Moodel account on your database, and updated config.php.

(I just edited your post to remove the attachment, but still you should change that password.)

The line to add can to almost anywhere, providing it comes before the

require_once(dirname(__FILE__) . '/lib/setup.php');
line at the end.

In reply to Tim Hunt

Re: add the username in quiz results

{$a->নাম} - {$a->তারিখ} দ্বারা

Thank you very much for responding to this. I have been looking for hint for a while now on how to add other user info to the quiz heading.

It is really appreciated.

dennis