Moodle

Turn off the ranges column in user report

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Gradebook
  • Labels:
    None
  • Environment:
    XP
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

By this I mean the range of possible marks column not the range of actually achieved marks row.
For young students in particular, the range column can be quite confusing and only clutters up the user report page

Issue Links

Activity

Hide
CLAIRE BROWNE added a comment -

Hi,

You can take out the ranges coloumn by hard coding.

Go to /var/grade/report/user/lib.php

// var $rangee;

and

//$this->showrange = grade_get_setting($this->courseid, 'report_user_showrange', $CFG->grade_report_user_showrange);

this will take out the range coloumn in the user report

Show
CLAIRE BROWNE added a comment - Hi, You can take out the ranges coloumn by hard coding. Go to /var/grade/report/user/lib.php // var $rangee; and //$this->showrange = grade_get_setting($this->courseid, 'report_user_showrange', $CFG->grade_report_user_showrange); this will take out the range coloumn in the user report
Hide
CLAIRE BROWNE added a comment -

sorry i meant
var $ range not
var $rangee

Show
CLAIRE BROWNE added a comment - sorry i meant
var $ range not
var $rangee
Hide
CLAIRE BROWNE added a comment -

Sorry I have have just typed and not read over my words.

You need to take out those two lines above (or comment out), for the range coloumn to dissappear.

Show
CLAIRE BROWNE added a comment - Sorry I have have just typed and not read over my words. You need to take out those two lines above (or comment out), for the range coloumn to dissappear.
Hide
CLAIRE BROWNE added a comment -

If your not a programmer. this is the file I have with those lines commented out.

Show
CLAIRE BROWNE added a comment - If your not a programmer. this is the file I have with those lines commented out.
Hide
Steve van Ommen added a comment -

Thanks Claire for your help - was there meant to be an attachment with your last comment? ( I am definitely no programmer and that file would be very useful - but I think I may also need instructions on what to do with it.)
Cheers
Steve

Show
Steve van Ommen added a comment - Thanks Claire for your help - was there meant to be an attachment with your last comment? ( I am definitely no programmer and that file would be very useful - but I think I may also need instructions on what to do with it.) Cheers Steve
Hide
CLAIRE BROWNE added a comment -

Hi,

The file attachment is at the top of this page just above the field 'Environment'. If you click on the file, download it and save.

Then go to your moodle files

sql \ your moodle \ grade \ report \ user \ lib.php <-- you may not need the end bit lib.php becuase as soon as you get into the user file you should see the lib.php

I am not sure about the sql bit at the front of the file path, depends how yours is set up.

Just replace the lib.php with mine and then refresh the browser.

Any problems let me know.

Show
CLAIRE BROWNE added a comment - Hi, The file attachment is at the top of this page just above the field 'Environment'. If you click on the file, download it and save. Then go to your moodle files sql \ your moodle \ grade \ report \ user \ lib.php <-- you may not need the end bit lib.php becuase as soon as you get into the user file you should see the lib.php I am not sure about the sql bit at the front of the file path, depends how yours is set up. Just replace the lib.php with mine and then refresh the browser. Any problems let me know.
Hide
Heikki Wilenius added a comment -

This issue is covered in MDL-20617, which also requests that the feedback column should possible to hide. I agree though that the hiding of ranges is more important.

Show
Heikki Wilenius added a comment - This issue is covered in MDL-20617, which also requests that the feedback column should possible to hide. I agree though that the hiding of ranges is more important.
Hide
Jesús Rincón added a comment -

For works hide / show status must be made the following change:
grade / resport / user / lib.php

$ This-> showrange = true

by

$ This-> showrange = grade_get_setting ($ this-> Course, 'grade_report_showranges', $ CFG-> grade_report_showranges)

Reggards

Show
Jesús Rincón added a comment - For works hide / show status must be made the following change: grade / resport / user / lib.php $ This-> showrange = true by $ This-> showrange = grade_get_setting ($ this-> Course, 'grade_report_showranges', $ CFG-> grade_report_showranges) Reggards

People

Vote (13)
Watch (10)

Dates

  • Created:
    Updated: