Username and User Email in Gradebook

Username and User Email in Gradebook

by Kirby Umholtz -
Number of replies: 20

Not sure how to bypass this. We upgraded to 2.2 and our gradebook displays both the user email and username alongside the student's name. Since the extra columns decrease the room for grading, teachers have been asking to have it turned off or removed. Would appreciate any help. Thanks.

 

In reply to Kirby Umholtz

Re: Username and User Email in Gradebook

by Louise H -

I would also be interested in how to do this. We're testing 2.2 on a demo site; it shows just email address and we'd quite like username to be shown instead.

In reply to Kirby Umholtz

Re: Username and User Email in Gradebook

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

I am in the same situation, just upgraded from 2.1.+ to 2.2 and saw this extra "email" column in the grader report.  I too tried to find out how to turn it off, and couldn't. 

I think that I will put this issue into the Tracker as a bug, see MDL-30932.

In reply to Kirby Umholtz

Re: Username and User Email in Gradebook

by Chris Kenniburg -
Picture of Plugin developers

My Teachers are in an all out revolt over these changes that were made.  Their screens are simply NOT big enough to display all these bloated options just to view grades on an assignment for a student.  

To them this is becoming a deal breaker and they are really upset with the changes.

It would be nice to be able to turn on and off the columns on these reports.

In reply to Kirby Umholtz

Re: Username and User Email in Gradebook

by Jon Fila -

This is an admin setting. Go to Users-->Permissions-->User policies

You can unselect the options there and those columns will disapear from the gradebook.

In reply to Jon Fila

Re: Username and User Email in Gradebook

by Mark Hayes -

Can you specify which settings you are referring to? 

I have "Hide user fields" set to None, and

"When searching users search and display" has Email selected.

But I do not see any extra columns in the Gradebook.  Are you sure those settings affect the Gradebook display?

In reply to Mark Hayes

Re: Username and User Email in Gradebook

by Jon Fila -

Sure. Where it says, "Show user identity," take out the ones you don't want to show up in your gradebook.

In reply to Jon Fila

Re: Username and User Email in Gradebook

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Jon, thanks for pointing out this new setting in Moodle 2.2 which is now documented in Roles settings. I also added an FAQ in Grades FAQ about it. smile

In reply to Helen Foster

Re: Username and User Email in Gradebook

by Nicholas Bovee -

When I go to: Settings > Site administration > Users > Permissions > User policies,   I do not see the option for Roles settings (show user identity?). Under "Hide user fields" I have extrauserselectorfields. Please see the attached screen.

I tried unchecking "Email address" here, but it didn't have any effect.

Any ideas?

In reply to Nicholas Bovee

Re: Username and User Email in Gradebook

by Jon Fila -

I'm not familiar with the extrauserselectorfields. Which version of Moodle are you using? Those brackets around the setting don't seem right to me.

In reply to Jon Fila

Re: Username and User Email in Gradebook

by Nicholas Bovee -

We just updated to 2.2.1  I got the double brackets before when I accidentally deleted a language file, but I don't know what the problem is here.

Edit: I should add, my workaround was to set user roles for "See full user identity in lists" to "Prevent" for teachers, non-editing teachers, and students. This got rid of the offending column in grader view, and also prevents students from seeing each other's email addresses.

In reply to Nicholas Bovee

Re: Username and User Email in Gradebook

by Gus Hagelberg -

This issue isn't resolved here is it?
I still can't get the username to be exported from the gradebook. As mentioned above above there is no listing for username in Settings > Site administration > Users > Permissions > User policies "Hide User fields".

Any ideas?

In reply to Kirby Umholtz

Re: Username and User Email in Gradebook

by sohail aslam -

I also want to display "Username" but can't see/find any option to display this in Site Administration -> Users -> Permissions-> User Policies.


Any help will be highly appreciated.

In reply to sohail aslam

Re: Username and User Email in Gradebook

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

I've just checked and found the same as you Sohail, that the show user identity setting provides the option to show a number of different items, but not the username. I assume that the screenshot in the first post in this discussion thread came from a customized site. I don't think there is a standard way to show usernames in the gradebook.

In reply to Helen Foster

Re: Username and User Email in Gradebook

by sohail aslam -

Thanks Helen for your quick reply.


Yes, this is what I was thinking but in this thread there are 2 different screen shots from different users having that option in there ( one is report screen shot and one from settings) so I thought threre must be some way or I am missing something.

In reply to sohail aslam

Re: Username and User Email in Gradebook

by Blair F. -
Picture of Particularly helpful Moodlers

I, too, would like to show the username, but hide the email.  Still trying to figure out how to do it.  We are now using 2.2.4, but switching to 2.5.2 in another month.  I just checked our 2.5.2 test site, and there's still no username option.

In reply to Blair F.

Re: Username and User Email in Gradebook

by Bob Puffer -

This is the most obscure setting in Moodle:

  1. Site administration
  2. Users
  3. Permissions
  4. User policies
  5. Show user identity

Really... that's where it is!

Thanks to Kevin Willarty from Smith the LAE Grader report has a site wide setting that decides whether these extra fields will show and a per course setting that does the same.

In reply to Bob Puffer

Re: Username and User Email in Gradebook

by Kartikesh Saurkar -
Hi Bob Sir,
          This is possible for only default fields in moodle like Department, institution, ID number etc. If I created user profile field "Roll_No", then how should I add it in the grade book ?
In reply to Blair F.

Re: Username and User Email in Gradebook

by Kyriakos Terzopoulos -
Picture of Translators
Hi, depending on your theme you could do this with CSS. For example: table#user-grades th.header.useremail { display: none; }
In reply to Kyriakos Terzopoulos

Re: Username and User Email in Gradebook

by Richard Clay -

We're currently using Moodle 2.8.5 and I've noticed that the CSS above no longer works to hide the email column (using Clean theme). I've used the CSS below to hide the email column, which might be of use to anyone wanting to do something similar.

.gradereport-grader-table th.header.userfield.useremail.cell  {
          visibility: hidden;
          max-width: 0px;
          padding:0px;
}

This is by no means an ideal solution and the discussion at https://tracker.moodle.org/browse/MDL-34682 provides more information about the issue.