This should work:
- While viewing the gradebook for the course (and logged on with enough rights - teacher should do), click on the 'turn editing on' button.
- For the column you want to hide, click on the writing-hand icon to edit that column
- Click on the 'hidden' check box
- Save changes, then exit from the gradebook and log in as a student - the column should be hidden for students but still available for you as a teacher.
Hope this helps,
NetSpot Pty Ltd
Australian Moodle Partner
On a related note, when I look at the user report, I find no indication of how many points an item was out of, the weight of the item, or if that item was dropped. Likewise I don't see any indication of the weight of a category. Is there any way to display these values?
Thanks so much for trying to help. The procedure you are describing works with the grade book for my view but there seems to be no option for altering the user report that the student sees...at least not that I can find.
As far as I can see, it's not possible to remove the percentage column in the user report. There are only two user report settings to show/hide rank and hidden items.
Since removing the percentage column seems to be a popular request, I've created an issue in the tracker - MDL-15887. Please vote for it if you would like it to be fixed. (You will need to create a tracker account and login in order to vote.)
Thanks Helen, I will...
Hi Helen, Elaine and anyone else interested,
I had a similar requirement when I wanted to remove the pts column so that I was left with % only for each assessment. I couldn't find any tick boxes or settings, so I had a look in the files and found it very straight forward.
Look in yourMoodle/grade/lib.php. You should find this code very near the top of the file. I have commented out 2 lines in red and indicated what effect that has. You can comment out a line by putting '//' at the beginning.
$GRADEPREFSDEFAULTS = array('use_advanced' => 0,
'use_weighted_for_letter' => 0,
'display_weighted' => 0,
//CHANGE 1 removes pts from gradebook 'display_points' => 2,
//CHANGE 2 removes % from gradebook 'display_percent' => 1,
'display_letters' => 0,
'reprint_headers' => 0,
'show_hidden' => 1
Hope that helps.
Now for for my problem. I am trying to upgrade from 1.8.2 to 1.9.2, but have found that the gradebook doesn't show grades anymore in 1.9.2. The information is still there, but it will not show. Anybody know how to fix this?
I hope this thread is still alive...I have located the lib.php file, but the code in your post is nowhere to be found. I am using an Ubuntu server and Moodle 1.9.4.
We do not use percentages at our school and students are getting confused.
Any help would be greatly appreciated,
The syntax is different is 1.9
Need to comment out:
// var $showpercentage;
//$this->showpercentage = grade_get_setting($this->courseid, 'report_user_showpercentage', $CFG->grade_report_user_showpercentage);
It's all good now.
BTW - this was found by using this:
Really helpful search powers
If you are still trying to solve this problem. Here is an easy fix until an improved release.
Access your moodle root directory and navigate to the following file:
Comment out the following lines;
var $showpercentage; (line 65)$this->showpercentage = grade_get_setting($this->courseid, 'report_user_showpercentage', $CFG->grade_report_user_showpercentage); (line 84)
save the file, restart you web server.
The percentage column does not appear any more now.
This is a hack for Moodle 1.9 so when you upgrade please check if they have included a frontend solution.
I hope this helps
I'd like to be able to turn off the ranges column as it clutters up the user report and students find it confusing
By this I mean the range of possible marks column (to the right of the grades column),not the range of actually achieved marks row.
I see from the above postings that there were various hacks to do this for the percentages column (now fixed) but I'd rather avoid this.
Thank you, Teresa, for solving my maddening problem of the morning!
In Moodle 1.9.10, I found the fix you point to here...
Courses > Site Administration > Grades > Report Settings > User report
Once on the User Report page, untick the Show Percentage box.
It's easy once one knows where to look. Knowing where to look is the hard part.
So, I'm wondering where I can have a look at 1.9.1's source code?
http://18.104.22.168/ gives me 1.9.3
For obvious reasons, I wouldn't want to go cruising thru our site's live code (I'm not a programmer).