CLAMP LAEgrader Report with Frozen Headers and Names

CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Number of replies: 167
With special thanks to Jaimon Mathew's JS, I'm pleased to offer a grader report alternative which scrolls in both directions -- available here (404kb). Some features:
  • negates need for pages of students
  • removes nested spans for handling categories and course category (along with the '+', '-' and 'o' buttons nobody seems able to find)
  • operates under Firefox, Safari, Opera and IE7 & IE8 (no support for IE6)
  • includes a "Copy to Excel" button for quick dumps of report contents (formatted as seen with item maxgrades)
  • allows input of letter grades which are converted to numeric values based on letter-grade setup for course
This is provided in conjunction with the soon-to-be-released CLAMP (Collaborative Liberal Arts Moodle Project) LAE (Liberal Arts Edition) Moodle 1.9.9 (see CLAMP web site).



In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I did want to make one clarification on this report... because we don't force you to make the regular grader report unavailable, you must turn off fixed students column (off by default, Site administration->Grades->Reports->Grader).
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Paul Nicholls -
That's awesome! There's just one minor issue we've spotted - the tooltips on the cells don't quite work... they show the HTML markup instead of rendering it. Might just need to call the JS function that the original Grader Report uses to display the tooltips?
In reply to Paul Nicholls

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I've disabled the tooltips -- they were nice to start with but caused some problems and we're no longer needed with this report where you can easily see which student and which grade item you're editing/viewing.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Lei Zhang -
Thanks, Bob. This is much better than the original grade report!
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Thanks Bob! Could you list it in the modules and plugins database?
In reply to Martin Dougiamas

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Moodle Officer -

Hi guys,

This plugin looks great but I'm having a few technical issues.

1- The scroll bars aren't showing (I've tried freezing and unfreezing the names in the grader report settings but no luck)

2- It seems to be adding a two columns at the start but not moving my grades (so the grades are now under the wrong assignments - see attachment).

Any ideas why???

Thanks, Kat

Attachment LAE_Grader_Image.png
In reply to Moodle Officer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
We've only seen this when the students column is set to fixed (Site administration->Grades->Reports->grader
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Anis Jradah -
Dear All,

Kindly note that the Layout of LAEgrader is working fine with Firefox. But it is not working with IE7 or IE8?

Any recommendations?

I attached a print screen of the layout.

Thank you,

Best Regards,
Anis


Attachment LAEgrader_error.JPG
In reply to Anis Jradah

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I am indeed quite sorry to hear about the difficulties you're having. I'm wondering if you'd be so kind as to check out using the Moodle Standard theme to remove all possibilities that your theme, in some way is interfering with proper operation. Also... just to make certain, Java Script needs to be enabled in the browser. I have the LAEgrader working on IE8 on the PC just to my left and I know of a number of schools who have it also operational in that context so it will be very good to find out what difference your environment presents that keeps it from working there.
In reply to Anis Jradah

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Moodle Officer -

Hi Bob,

Thanks for that. If I don't have the student column fixed then the grades are fine. But no matter what settings I use I can't see the scroll bars within the browser frame (I have the normal ones on my browser). There should be both a horizontal and a vertical scroll bar inside right?

I have tried to view it in both Firefox 3.6 and IE8. Any ideas???

Thanks heaps,

Kat

In reply to Moodle Officer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
What is your screen resolution?
Try FF from another computer.
Try using the standard theme.
Make sure JavaScript is enabled.
Are you running IE8 in compatibility mode? The instance I'm looking at is not and it looks fine.
Very interested in your environment as we have this working on a LOT of PCs and Macs number of schools using FF, Opera, Chrome, Safari and (on the PC), IE7 and IE8. I haven't found any themes where by it doesn't work (we use modified Zebra).
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jeff Snyder -

Looks like the download link is broken.  Can you revise the link or provide a new one for the download?

Thanks!

--Jeff Snyder

In reply to Jeff Snyder

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I'm sorry Jeff, I didn't catch your message in my digest. I checked the download link and it seems to be working okay. I am releasing an update which (in a few days) will also be available through the Modules and Plugins. The link is restated here.
Features:
  • scrolls horizontally and vertically while freezing the student columns and the grade item rows
  • negates need for pages of students
  • removes nested spans for handling categories and course category (along with the '+', '-' and 'o' buttons nobody seems able to find)
  • operates under Firefox, Safari, Opera and IE7 & IE8 (no support for IE6)
  • includes a "Copy to Excel" button for quick dumps of report contents (formatted as seen with item maxgrades)
  • allows input of letter grades which are converted to numeric values based on letter-grade setup for course
NEW
  • "editalways" user preference that displays grades editable but in their selected display type
  • allows input of percentage values followed by %
  • wrapped grade item titles
  • tweaking to css to straighten out the table lines
  • Range row (if turned on) frozen at the top, below the grade item names
  • lang files are self-contained

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Anis Jradah -
Dear Bob,

Thank you for the updated version. smile

While we installed it we got these error messages:

grade/report/laegrader plugin needs upgrading

Could not set up the capabilities for laegrader!


Thank you

Anis
In reply to Anis Jradah

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
This error comes about from the "name changing" ("LAE" to "lae"). My upgraded version was designed to make those changes so the name change would be transparent. I'll check into it this morning.
In reply to Anis Jradah

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Well, I'd like to offer a more complete solution after more investigation but the quick solution is to "one-up" the version number contained in the file grade/report/laegrader/db/upgrade.php. That allows the capabilities to be changed appropriately.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaione Irisarri -
Hello Bob,

Can you explain a bit more about the "quick solution". I don't understand the "one-up" instruccion about the number of the version.

What do I have to do? Change it? To what?

Sorry if I'm asking a obvious thing... but I don't understand it sad

Thanks,

Jaione.
In reply to Jaione Irisarri

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Yeah, I'd have to agree that answer assumed an understanding of how plugins install. I'll try to do better here:
  1. Edit the upgrade.php file found in the grade/report/laegrader/db folder so the line that says:
    if ($plugin->version < 2010081300) {
    says
    if ($plugin->version < 2010081301) {


  2. Save and re-run Site administration->Notifications... you'll get the "laegrader report needs updating" and then it will update.
This will allow you to install the report.

There's a more correct way to have the install run but I've been spared little time from normal duties... so hope to get to that in the next few days.


In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaione Irisarri -
Hello again Bob,

I'm sorry to bother you but... I've done that (change the number) but now when I re-run Site administration->Notifications.. appears the word "Success" three times and nothing more. Then I try to see the Grades and I obtain a white screen...

Any idea of what I've done wrong? sad

Thanks,

Jaione.
In reply to Jaione Irisarri

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I'm sorry about the difficulty you're encountering. The three "successes" (probably green) are indicating successful completion of a query... with the version you've downloaded you'll get those every time you run notiifications. I can make the following suggestions towards the white screen:

  • Make certain you set your role permissions for the "grader" report to "prohibit".
  • Make sure you don't have an "LAEgrader" report directory in addition to the "laegrader" report directory.
  • Make sure your "laegrader" directory and all its contents have the appropriate permissions.
All that failing to resolve the white screen, I'd encourage you to stand by -- I believe today I'm releasing the "real" correction on the install that doesn't leave any loose hanging threads or "successes". I'll post here but it will just take the place for the link above.

"It is a pitiful thing to change the naming case for a Moodle plugin".

In reply to Bob Puffer

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Hi Chris,
Yes, in fact its recommended that you hide the regular Grader report (though it cannot be hidden from the site admin). The steps:

  1. Site Administration block->Users->Permissions->Define Roles
  2. With each role (likely only editingteacher and teacher, unless you've cloned some)
  • edit the role
  • change the gradereport/grader:view capabilities to "prohibit"
  • Save the permission changes
As mentioned, the admin will always see both reports. There is one caveat to the above mentioned exercise... hardcoding outside the plugin branches causes the default grade report to search:
  • first for the last report the user used
  • then for a report called "grader" if present and accessible for this role
  • then for a report called "user" if present, blah, blah, blah
  • then alphabetically
Because of this, unless you also happen to have the laeuser, the first time a teacher uses the gradebook they will get the user report. If you had the laeuser report you'd have depermissioned the User report (similar to above) and the alphabetical search would set the laegrader report as the default.

The laeuser report is in limited distribution and planned for general distribution within the next four weeks.
In reply to Bob Puffer

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Thanks for the feedback... I've added these directions to docs page which should come up from the docs link in your theme's footer.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
I posted an update to the CLAMP "laegrader" report available for download here.
This fixes the "rough around the edges" install we encountered due to renaming "LAE" to "lae". It also:
  • Copies category and item weights out to the Excel spreadsheet
  • Removes the alt text that was popping up when grades were moused over
  • fixes a few cosmetics with css
I did want to make mention of a couple important points:
  • CLAMP is committed to supporting this grade report plugin because we believe the features provided are critical to our instructors ability to easily and accurately grade using Moodle
  • We are also committed to NOT allowing this plugin to become a "branch" or "fork" thereby setting users up to be ophaned if Moodle goes another direction. The laegrader report will be using mainstream Moodle libraries, it will be upgraded to 2.0 as soon as that becomes a more stable development arena.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Gaurang Raval -

Hello Bob,

I am getting an error in the LAE grader report, the grade item header overlaps with user details, grades values mis-aligned with the grade item headers, both vertical and horizontal navigation bars are visible, but the alignment is not proper. The first grader item header goes completely in user details column when user first name or last name is large

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Gaurang Raval -

Hello Bob,

I have tried all the themes but when the firstname or lastname is long the header and the column below are mis-aligned. So far only with standard theme is displaying the appropriate result but when the firstname or lastname is large the standard theme also fails in displaying correctly aligned grade item header and grade item values column

In reply to Gaurang Raval

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
Hi,
Yes, I can see how particularly long names can cause overflow. There's some trickery required in order to get that name column to behave. A variable named $whiteline contains a series of underscores.

Make sure you have the latest download.

In grade/report/laegrader/lib.php function get_headerhtml() extend the two occasions of the variable, $whiteline to be as long as you need to handle naming in your school (around line 334).
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Gaurang Raval -

Hello Bob,

Your suggestion has worked and the report headers and column values are perfectly aligned without any errors.

Thanks a lot.

In reply to Gaurang Raval

How do I uninstall LAEgrader?

by colleen savory -
Instructions say to remove it before I install a newer version. How do I remove it?

Thanks,
Colleen
In reply to colleen savory

Re: How do I uninstall LAEgrader?

by Bob Puffer -
If you have a directory moodleroot/grade/report/LAEgrader you should remove it before you install moodleroot/grade/report/laegrader (case change).
In reply to Gaurang Raval

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
the latest release mentioned in this forum now takes into account the longest names and assigns the width of the student name column accordingly so this (INCREDIBLY TACKY) hack is no longer needed.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Michael Jenkins -

Hello,

I have just installed the LAE Grader, very nice. . . .  when using Firefox..

I have shown another member of staff who uses Interent Explorer 8 and they get a very disjointed view, the scroll bars are not with the grading tabe, and everything seems to be in the wrong place, are there any known issues with this in IE8?

If so please could you let me know how I fix this?

Moodle Server

Windows Server2k8 running WAMP

In reply to Michael Jenkins

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'm sorry your colleague is having problems with the report in IE.  I find IE-8 working quite well on my PC tho it seemingly requires a screen refresh once when initialized (can't say why that is).  Have they attempted viewing in compatibility mode?

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

I love this...but we are having a different problem.  While the report itself is great, since we installed it we are having problems with the screen where you grade activity submissions.  It does not collapse and is huge wide no matter what browser is used and what theme is selected.  It returns to normal once I remove the laegrader report (which I do not want to do.)  It actually goes away once I remove the styles.php file.  This of course isn't a solution as it makes the laegrader report look bad.  Screen shots below....Any thoughts?

Without the styles.php file...

With the file...

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

Okay...fixed it.  The problem was in the styles file in that it redid some global styles instead of simply doing the ones for laegrager.  My fixed file is attached in the laegrader zip.

 

Next...while I LOVE this gradebook enhancement, we found a couple of items that made it unuable for us without modification.

1.  Since the categories do not collapse we needed a way to "hide" other quarters so the gradebook only showed the current one.

2.  We didn't want any hidden items to show in this view.  We feel that hidden items should not count in a grade.  If it counts...the students (and parents) should be able to see the grade.

Sooo... we made a couple of small modifications that prevents hidden items from showing (or calculating) in the laegrader report.  Otherwise it is as intended by the original developers.  Our hack is attached with the updated styles.php file.

If you like laegrader in its original form, you can simply copy in the styles.php file into your installation to fix the assigment grading issue.

 

Brian

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Brian,

Thanks for working with this.  I'll take a look at the "hidden" hidden items... perhaps we can set a preference to allow both.  Will also diff the styles.php so we eliminate any global styles overrides.

bob puffer
CLAMP

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Forrest Gaston -

Bob,

This is going to sound like a crazy request, but do you know how I can add the date the grade was receved to the grade report.  Of all the things this is a request for FAA reporting.

 

Thanks again,
Forrest Gaston

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

I uploaded the wrong styles file.  Here is the correct one!

FYI...I think the ability to not display or calculate hidden items would make this more usable, escpecially for the secondary schools like ours that have 4 quarters during the year, but only want the current quarter info displayed or calculated.

 

Brian

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Claire Browne -

My LAEgrader report is working fine in Firefox but as soon as I switch to IE some machines do not display any learners names and then others display learner names but the rows are underneath the learner names.

In reply to Claire Browne

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Claire Browne -

A little update!

I have reszed the .js file and now have everything aligned except for the firstname and surname.

 

the firstname and surname seem to be on two different rows, what is the setting to change it to one line?

In reply to Claire Browne

Vastus: Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Tõnis Tartes -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

file laegrader/lib.php @ around line 866

Remove the <br /> sitting before <span class="lastname">

In reply to Tõnis Tartes

Re: Vastus: Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

If you're going to put first and last names on the same line you'll need to adjust the column width to acccommodate.  The function is get_headerhtml() around line 310.  If anyone is interested in modding so this is configurable, I'd surely include it in the release locations.

In reply to Bob Puffer

Vastus: CLAMP LAEgrader Report with Frozen Headers and Names

by Tõnis Tartes -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

I need some help..

I tried to install this module multiple times but didnt worked out fine... so i turned on the debugging messages and got this:

The grade table doesnt look either the way i should be:

 

Any ideas what i've done wrong with installing or maybe theres something wrong with my configuration?

Moodle version 1.9.10+(20101124).

Thanks

In reply to Tõnis Tartes

Re: Vastus: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Not sure you've done anything wrong.  I spent a bit of time last week cleaning up some notices that crept in during one or another upgrade of code.  You don't see any of this if debugging is off but I don't want it there anyway.  Will be glad to post the cleaned version (which will be released with the next CLAMP LAE version of Moodle later this month).  Heading out to a meeting and will be back to post the updated zip file afterwards.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Lynn Roberts -

Hi everyone,

I've just tried installing the laegrader on Moodle 1.9.3. When I first navigated to the Notifications page I got a message telling me the grader needs upgrading, with nothing else, not even the continue button. If I now navigate to the laegrader view in a course, I get a blank white page.

I've had a look through the code and there is a file referenced which doesn't seem to exist in my Moodle install (grade/edit/tree/lib.php). We have several Moodle 1.9.3 installs here and none of them have this file. Is the laegrader not compatible with Moodle 1.9.3?

Thanks in advance for any info/advice smile.

Lynn

In reply to Lynn Roberts

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

The laegrader report is compatible with 1.95 - 1.9.11.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Gregor McNish -
Picture of Particularly helpful Moodlers

Have you any plans to modify it for versions 2.x?

In reply to Gregor McNish

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Yes, as soon as I get through the beginning of our year I expect this will get a good deal of my attention.  I've looked over the 2.x gradebook code and see very few changes but expect their might be some formatting changes needed because of the reduced screen real estate in some configurations.   Keep watching and thanks for your interest.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Amir Ressaissi -

I saw this thread after I had posted on another thread (http://moodle.org/mod/forum/discuss.php?d=182554). I see that you've been busy with fixing LAEgrader. Any news on a 2.x version? I also see that you are aware of the screen real estate issues. thanx again for working on this.

In reply to Amir Ressaissi

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Hi Amir,

Sorry to say that the 2.x version of laegrader has taken a back seat to other matters since none of our CLAMP schools are looking at 2.x before Summer, 2012.  The project that's been having me for lunch is passing its critical exposure phase so hopefully I can devote some time to this in October.  Last time I looked there were not serious issues making a port -- the basics of $DB conversions and some other stuff.  Not much has been done functionally to the gradebook from 1.9x to 2.x.  

I'm pleased to say I hear from all sorts of folks from all over the world who are making this report work well for them so I am anxious to make it available to those who've made the jump into 2.x.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ratana Lim -

I'm not sure if this is the correct place to report a bug on the LAEGrader Report w/frozen headers & names.

Desription: In edit mode, the grade table scrolls towards the left and covers up the  students name completely when you press the tab key on the last row of grade input box.

Browsers: Firefox 3.x, 4.x on both Win & Mac

 

Attachment laegrader-bug.png
In reply to Ratana Lim

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Thank you for the feedback.  I've been aware of this behavior when using the tab key from the bottom of a column and am working at the resolution.  The workaround my instructors use is to click to the top, once they've reached the bottom of a column.  Because both the laegrader and regular grader reports are very slow with large classes or classes with a lot of grades we are currently working on a solution similar to LSU's "Quick grade" which allows you to grade an entire column or row in a separate pop-up and doesn't have such an enormous post load.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report Help Files?

by Roger Morris -

Looking for the 'help' files for laegrader for when you click on the "?" for laegrader in 'my preferences'.

the two help files seem to be missing:

gradeeditalways.html  and

laegraderreportheight.html

In reply to Roger Morris

Re: CLAMP LAEgrader Report Help Files?

by Bob Puffer -

Sorry, Roger -- I'll have to work those up. 

"gradeeditalways" places you in a mode where editing of the laegrader report is always on

"laegraderreportheight" is the number of pixels tall of the scrolling portion of the laegrader window

In reply to Bob Puffer

Re: CLAMP LAEgrader Report Help Files?

by Roger Morris -

Thanks, I thought I'd point it out.   I went through a couple other versions and didn't find them in those either.

I'm the installer.   The person going through some of the modules noticed it.  I cut a paragraph from the online docs and used the paragraph to create the needed help files. 

She didn't like my first revision, "Quit Pestering Roger", so I had to add the actual wording from the docs.  

In reply to Bob Puffer

回复: CLAMP LAEgrader Report with Frozen Headers and Names

by min ihope -
Hi ,Bob , I want to ask some question about your gradebook. can you explain to me the different of the weighted mean of grades and the simple weighted mean of grades. there are two quizs in my course.one weighted 50%,another weighted 50%,how to calculate the total grade? my mean is 100*50%+10*50%=55,why 110 ? as the picture below. another question is"do the total grade for every student in the table of the datebase?which table". thanks, min
Attachment test.png
In reply to min ihope

Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Hi Min,

I'm guessing your course total is set to display type, "Real" which in our gradebook means "points".  Point calculations will never take into account weights, nor can they -- they are just a tallying of the total points.  Percentage grades and letter grades take into account weights so if you used a display type of "percent" or "letter" for you course total, you should see your weights accurately reflected.  If the maximums for both quizzes are 100 and 10, respectively than your course total would show 100% or A (in English).

To change the display type of the course total, turn editing on and click the edit icon (usually a hand with a pencil) under the course total header.

In reply to Bob Puffer

回复: Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by min ihope -
Hi Bob, Thank you for your answer,I have another question: 1.when I chose the weighted mean of grade ,it should give every student a total grade,for example,total=test1*weight1+test2*weight2+...,but in your grade report ,it just give the sum of every student ,not the total with weighted,only give the avarage . Can you tell me the reason ,follow the picture below.
Attachment 122.png
In reply to min ihope

Re: 回复: Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Again, what is displayed in the course total is entirely dependent on the "Display type" for the course total.  If it is set to "Real" you will get the total of the values to the left, regardless of weights... which is as it should be.

In reply to Bob Puffer

回复: Re: 回复: Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by min ihope -
hi Bob, Thank you very much ! I have another question ,I want to know the final grade in the mdl_grade_grades how to ralated to the course? If I want to get a student 'final grade in one of his course.can you help me to write a SQL : eg.select ......from..(finalgrade) ... where userid=3 and courseid=3.thank you!
In reply to min ihope

Re: 回复: Re: 回复: Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

SELECT u.username, gg.finalgrade FROM mdl_grade_grades gg
JOIN mdl_grade_items gi on gg.itemid = gi.id
JOIN mdl_course c on c.id = gi.courseid
JOIN mdl_user u on u.id = gg.userid
WHERE c.id = <your course id>
AND u.id = <your user id>
AND gi.itemtype = 'course' 

In reply to Bob Puffer

回复: Re: 回复: Re: 回复: Re: 回复: CLAMP LAEgrader Report with Frozen Headers and Names

by min ihope -
Thank you very much ! Bob ,you help a lot! Thank you
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Joseph Spano -

When editing is turned on I get a mismatch on column alignment. This occurs in all browsers.

 

Also, any way to bring back collapsable categories?

 

Thanks 

In reply to Joseph Spano

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

This problem is seen only when quick feedback is displayed and then only under certain theme configurations.  A css fix has been made available in recent releases of CLAMP LAE moodle... the code, as follows would go into the grade/report/laegrader/styles.php:

/***
*** added the following for the alignment issues
***/
.gradestable th.user{ height: 40px } 
.grade-report-laegrader table#user-grades tr.even td.cell { height: 40px !important; } 
.grade-report-laegrader table#user-grades tr.odd td.cell { height: 40px !important; } 
.grade-report-grader table#fixed_column tr.odd th, .grade-report-grader table#user-grades tr.odd th { height: 40px; } 
.grade-report-grader table#fixed_column tr.even th, .grade-report-grader table#user-grades tr.even th { height: 40px; } 
.grade-report-grader table#user-grades td.cell { height: 40px; } 
.grade_icons img.iconsmall { width: 14px; height: 14px; }

There would never be an intention on my part to bring back collapsible headers as that was one of the most midunderstood and confounding of the features of the core Moodle gradebook.  The ability to easily scroll left-to-right, top-to-bottom without losing student names or column headers IMO negates any purpose for collapsible headers.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

Bob,

We have been using the laegrader with much success and really love it.  We just had a problem arise that is perplexing me.  We are still on 1.9 and have the most recent download of laegrader installed.

1.  If a teacher tries to add a grade to a large class it will not take.  When you hit the update key is simply goes back to the previous value.

2.  If you make a group with a limited number of students, the grade update works.

3.  If you remove a number of assignments, the update works.

It is like if the laegrader gradebook it too large, it just ignores any inputs (and updates.)  I have a class that if the teacher has a group with more than 15 students, it doesn't work.  The same class (working in a sandbox with the testing) I can delete 5 or so assignments and it works again.  FYI, the "traditional" one works either way. I originally thought it was a particular student or database value, but it doesn't matter who I remove, as soon as I am below 16 students (and it varies with classes and numbers of assignments) it works.

I was forced to reopen the Moodle gradebook as teachers are putting in grades and getting really frustrated with me when it doesn't take them.

Any thoughts would be really helpful!

Brian Pool

PS While we have themes in the production server, I am forcing the standard Moodle theme on the sandbox.

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

We have only seen this when certain PHP ini values are set too low or not set at all (approximating the same thing).  

  • If you're using suhosin to harden your PHP you should set suhosin.post.max_vars four times the columns times the rows of your anticipated largest gradebook.  
  • If you're using PHP 5.3.9 you need a line like

php_value max_input_vars XXXXX

where XXXXX is a similar calculation as above with suhosin.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

That line is commented out on our file with a value of 1000, which I will fix and see if it corrects the error!  Thank you in advance!

I am SURE you are right since there are 16 items in the gradebook and it fails over 15.  1000/4/16=15.6  Works with 15 and fails with 16.  Is this documented anywhere?  I have administered Moodle for 6 years and never set this value!  I guess I was always lucky! 

Why would this value NOT affect the sucky Moodle gradebook?

 

Brian

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

The only documentation is in the forums but when I get done here I'll put it on the laegrader docs page also (link at bottom of page should hit that wiki page on Moodle docs). EDIT: guess they've moved the 1.9 pages so the link at the bottom no longer works -- will adjust.  In the mean time, THIS LINK HERE will get you the laegrader docs.

The ??? regular gradebook doesn't submit as many values in its post but you'd run into it there too if your gradebook was a little larger.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

Is there a way to force a theme when the laegrader report opens?  Some themes really mess up the alignment while others are perfect.

 

Brian

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

An excellent idea, if I can figure out how to do it.  Probably won't come out until the 2.x re-write by 7/1.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

We had problems with the way the styles on LAEgrader was conflicting with the Assignment Module grading in particular.  It is because the LAEgrader header requires it to be set to nowrap and min of 110 to align correctly.  The default styles.php had

 

.flexible th {
white-space:nowrap;
min-width: 110px;
}

which we changed to

.grade-report-laegrader th {
white-space:nowrap;
min-width: 110px;
}

Now it works but doesn't affect the rest of the Moodle Mods!

In reply to Brian Pool

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Thanks Brian for the info.  I'm pretty close to releasing the 2.x version of the LAE Grader report and have rewritten all of the css, stripping it to a minimum. 

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I can now offer a Moodle 2.x upgrade to the CLAMP LAE Grader report.  You can find it here.  From my tests:

  • 2.2 and 2.3
  • Chrome, Safari, Firefox, Internet Explorer all latest versions
  • Both PC and Mac
  • Several different themes

The operation of this version if much smoother.  All CSS had been rewritten.

There are a few features not yet working (these have been disabled):

  1. Zerofill of all empty grades in a column
  2. Copy to Excel button on report
  3. Tabindex still produces some inconsistencies when you tab from the bottom cell of a column to the next column

Please let me know any problems you encounter, perhaps with other themes (but I'm hoping we've isolated those issues out altogether)

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Paul Nicholls -

Hi Bob,

Thanks - it's looking good!  Just one minor thing I've noticed (in Firefox 3.6; I haven't tested in other browsers yet sorry): the YUI reset CSS adds the following rule:
p, fieldset, table, pre {margin-bottom1em;}
which gives a vertical scrollbar that only moves a few pixels (well, 1em) if you only have a few students.  If you override it with something along the lines of:
table.laegradestable {margin-bottom:0;}
the scrollbar should only become visible if it's really necessary.

Cheers,
Paul

P.S. I'm testing it in the Decaf theme - and the above is the only issue I've noticed so far.  Keep up the good work!

In reply to Paul Nicholls

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Thanks Paul for your assistance, I'm testing that now.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Forrest Gaston -

Bob, 

So far it looks good, attached is what I found during my testing. 

Thanks

Forrest 

In reply to Forrest Gaston

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Hi Forest,

I noted your information and saw that the mobile phone and id number headers wrap so a little css will handle that.  I don't have an IE 8 machine so may need to put off further testing on those issues until our CLAMP Hack-doc June 12th.  If point of fact I'm wrapped until after that hack-doc with repository plugin work.

Thanks

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hello Bob,

Unfortunately I have Moodle2.1 sad I see the LAEgrade Report is compatible with Moodle1.9 to directly Moodle2.2, I tried the 2.2 release with Moodle2.1, but version compatibility message is appearing.


Can you please guide me on this, how can I make it to work with Moodle 2.1

 

Thank you

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

What's your version compatibility message?

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hi Bob,

The error message is

Plugin "gradereport_laegrader" (2012050900) could not be installed. It requires a newer version of Moodle (currently you are using 2011070102.01, you need 2011112900).

Thanks

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hi Bob,

The debugger says "Fatal error: Call to undefined function get_extra_user_fields_sql() in /Applications/MAMP/htdocs/moodle212/grade/report/laegrader/lib.php on line 384"

Thanks

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Yes, you would need to be using at least version 2.2 or greater to use that laegrader.  We don't have a version that won't require the get_extra_user_fields_sql() function except that one for 1.9.  A nominal PHP programmer could likely fix the problem as its not very deep in the code or prevalent.  The verson is easy to fix in the version.php file in the laegrader directory.  I've got too much going to work on it right now.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hi Bob,

Yes, I fixed it by changing version.php and some modifications in lib.php.

Thanks,

Jaswant

 

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Good to hear.  The laegrader is not all that complex (except for the Javascript that makes it scroll which isn't my code).

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Lisa Foster -
We are using LAE grader now and it is huge improvement over the moodle grader. We are leaving the regular grader on for now so the teachers can use either. A couple of questions if any one could help... 1. Can you set the default to the LAE Grader to open up first 2. Can you make the LAE grader (or moodle grader) always turned on to edit by default so you don't have to turn editing on each time 3. We are using groups for class periods. When I go to LAE grader and then select a group it takes me back to the regular grader and then I have to go back to LAE view every time I switch class periods (groups) Thanks for all of your work on this!
In reply to Lisa Foster

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

What version of Moodle are you using? If you're using 1.9 there's a setting called "gradeseditalways" in preferences that you can turn on.

If you leave the grader active for teachers to access then the cascading of choices goes something like this:

  1. Last report viewed by this user for this course
  2. Grader report

If you wish to slightly harm a kitten (they'll recover) you can alter the following code in grade/report/index.php:

if (empty($last)) {
    if (in_array('grader', $reports)) {
        $last = 'grader';

    } else if (in_array('user', $reports)) {
        $last = 'user';

    } else {
        $last = reset($reports);
    }
}

Change both instances of grader to laegrader
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hello Bob,

I installed the LAE grader report and it sets the overridden to yes for all the modules, is there any bug in the report.

Not sure where but it is setting mdl_grade_grades.overridden = 1in database.

Can you please help me on this.

Thanks

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -
This problem was corrected a couple of months ago. Where'd you get your version you installed and what's the laegrader report version number? What's most recently released on CLAMP's site should have this problem corrected.
In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Jaswant Tak -

Hello Bob,

The LAE version I have is 2012050900, I have downloaded this version from this forum thread only. Is that a older version, if yes please provide us the link of latest version.

Thanks

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Current version packaged with the LAE version of Moodle is available through the CLAMP website is 

2012091300

you can extract it from the entire download.

I'll update my github.

In reply to Jaswant Tak

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Current version packaged with the LAE version of Moodle is available through the CLAMP website is 

2012091300

you can extract it from the entire download.

I'll update my github.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Barry Richards -

Hi Bob,

LAE Grader looks great from the demo video I've seen, but we're having problems with it. I copied the files (grade/report/laegrader) from a download of CLAMP into my test site. This appeared to have installed correctly when I logged in. Unfortunately, I get this message: "Please wait while loading the table", but the table never loads. I've attached a screenshot for you as well (I've highlighted the text to make it more readable)

Screenshot of LAE Grader loading message

Do you know why this is happening, or what I have done wrong?

For ref, we're running Moodle 2.2.1+ (Build: 20120213) and I copied the files from CLAMP version moodle-2.2.6-LAE2.2.4

Thanks

Barry

 

In reply to Barry Richards

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Saw this one other time and this was the resolution:

"Thanks Bob for your help.  My programmer went through again and discovered the problem.  The issue was not in the zip file.  The issue is that I was missing this file: /lib/jquery/jquery-1.7.2.min.js. Once I uploaded it, everything went great.  Thanks again."

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Barry Richards -

Nice one Bob, spot on advice. LAE Grader is up and running.

smile

Many thanks

Barry

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Bob,

Having this same issue with 2.5.  I have jquery-1.9.1.min.js but not 1.7.2.do I have to have that version and if so, where would I find it?

Emma

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Donna Smith -

We are reviewing this gradebook. In our installation of it, it does not freeze the student names or the test names when scrolling. Are we missing something? We do not have static checked in the original grade book.

Attachment Capture.PNG
In reply to Donna Smith

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Donna Smith -

I see we have the same problem as the post above me. We'll try the suggestion and see if it works for us as well.

In reply to Donna Smith

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Let me know, Donna -- forum post or private email whether you got it working or not.  Lots of folks using it on lots of versions so I'm sure we can get it working for you.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

The most up-to-date versions of LAE Grader are available for Moodle version 2.3 - 2.5+ at my github and the Moodle plugins page.  Users are encouraged to upgrade if possible.  CLAMP and its LAE version of Moodle should not be used as a source for LAE Grader as their versions are not being kept up-to-date.  

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Mark Whitington -

Thanks Bob for such a great tool.

Possibly the way my Moodle 2.5.1 is setup with the "clean" theme, but by the time the students name, email, department and institution are displayed there is little room for the actual assessments.

I am using your horizontal scroll-bar but can only change/see one activity at a time. That is only my last column relates to the activities.

Is there a way to minimize these columns so that more assessments are displayed?

Sorry if you have answered this elsewhere.

Mark

In reply to Mark Whitington

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

You may want to update from plugins or my github.  I've narrowed the columns.  LAE Grader is constantly being enhanced because so many schools are now using it so its best to constantly check for updates or subscribed to the forum at the plugins db.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Mark Whitington -

Hi Bob,

Thanks for your assistance...

I think I am using ver: 2013092900 (located number in site >> plugins >> plugins overview)

I have swapped over to the Essentials theme to see if that made any difference ... not that I can see.

Please see image below... is this what you would expect?

LAE Grader image

In reply to Mark Whitington

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

The extra custom fields are what's keeping you from seeing much.  I have completely reworked the css from the ground up which I expect to release in the next couple days so you might keep your eye out for that.

In reply to Mark Whitington

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brad Fisher -

I really want to use this mod; however, I ran into a nasty little 500 internal server error:

"

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@hughesacademysc.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

 

Got the error when I was trying to view the LAE Grader Report in an individual course under course administration settings. I am using Moodle 2.5+ version. Any recommendations or troubleshooting tips?

In reply to Brad Fisher

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
In reply to Tim Hunt

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Tim's right, there's no useful information in what you've provided.  I'll be glad to get you up and running as long as I can get some indication what problem you're encountering.  As I've said in many past posts, there are A LOT of schools using the LAE Grader report so I'm confident we'll make it work for you.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brad Fisher -

I do have debugger turned on; unfortunately, I will get the 500 internal server error message even with it on. What information would you like from me to help you try and troubleshoot this bug?

In reply to Brad Fisher

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

If you set the debug level to developer you'll get a stack trace which is what's needed.  You also need to display debug messages to the screen or get them from your system error log.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brad Fisher -

I had that option turned on along with all associated items checked on the debugging page but still have a visible 500 internal server error. Does Moodle store a log file of errors that I can access, and if so where would the location be? 

In reply to Brad Fisher

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Unless you've specified a different place for it in your config.php file the log file under Linux would be under /var/log/ and possibly further under apache2

In reply to Brad Fisher

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I would consider redownloading the source and reinstalling, making sure you delete all the old first.  Make sure you run notifications.  Also make sure you don't delete the grader report tree.

In reply to Mark Whitington

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

The new version is available at my github location (bobpuffer) and plugins and allows for multiple student information columns

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Did want to make a formal announcement that a new version of LAE Grader is in plugins and at my github with totally redesigned css from the ground up providing narrow columns and rows with compatibility with responsive themes and making proper allowances for multiple student information columns (thanks to Kevin Willarty from Smith). Being there were over 1,700 downloads of the LAE Grader from plugins in September I now understand why I'm hearing from so many schools all over the world.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Barbara Lawrence -

Hi Bob

I installed the latest version of your plugin today. It looks great, but when I select a group, I get an error message.

[10-Oct-2013 14:39:04 Europe/London] Default exception handler: Error reading from database Debug: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 7
SELECT gi.id FROM m_grade_items gi, m_modules m, m_course_modules cm
                    WHERE m.name = gi.itemmodule
                    AND cm.instance = gi.iteminstance
                    AND cm.module = m.id
                    AND gi.courseid = 1922
                    AND cm.groupingid <> 0
                    AND cm.groupingid NOT IN()
[array (
)]

Error code: dmlreadexception
* line 426 of \lib\dml\moodle_database.php: dml_read_exception thrown
* line 1023 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 101 of \grade\report\laegrader\locallib.php: call to mysqli_native_moodle_database->get_records_sql()
* line 12 of \grade\report\laegrader\locallib.php: call to grade_tree_local->grade_tree_local()
* line 134 of \grade\report\laegrader\lib.php: call to grade_tree_local_helper()
* line 138 of \grade\report\laegrader\index.php: call to grade_report_laegrader->__construct()

We are using Moodle 2.4.4, on Windows 2008, with  Apache 2.2.23, MySQL 5.1,PHP 5.3.22.

I hope you can help with this.

Barbara

In reply to Barbara Lawrence

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'll look at this tomorrow (Tuesday) -- I've been offline over the weekend.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Barbara Lawrence -

Hi Bob

I've discovered that if I turn off Enable group members only in Experimental Settings, then I don't get the error.  This is a useful workaround, but I would rather keep it switched on if possible.

The original grader report doesn't seem to mind Enable group members only to be switched on.

Barbara

In reply to Barbara Lawrence

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I have removed code that was contained in my report that no longer is contained in the grader report apparently an attempt to limit items displayed to only those for that grouping.  New version on github and plugins.

In reply to Barbara Lawrence

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Hi Barbara, I don't get this error when selecting a group in a course.  This is the case when course settings are visible groups or separate groups.  Is there anything odd about your group setup?

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'd like to invite people to submit translations -- the LAE Grader doesn't have very many strings.

In reply to Bob Puffer

Translations for LAE Grader

by Matthew Sauvage -

Hello Bob,

I was about to post a question about how to change the headers of the columns as I need to put it all in Spanish, and then I saw this post. I can provide the Spanish (Spain) translations if you send me an excel or something with the strings. In the meantime, is it possible for me to edit these directly at the moment so that I can put our LAE Grader on one of our sites into Spanish now?

Regards,

Matthew

In reply to Matthew Sauvage

Re: Translations for LAE Grader

by Bob Puffer -

Great news. If you want, you can create a subfolder under grade/report/laegrader/lang called es_es. Copy the file gradereport_laegrader.php from grade/report/laegrader/en into your new subfolder and change the values for the strings. That is all you need to provide me and I'll implement it right away. You can contact me directly at puffro01@luther.edu with any questions. I've also posted the file here.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Nancy K Hoke -

This plug-in looks excellent and would solve some of our problems. We are in Moodle 2.3 and we require the Moodle gradebook for all courses.  The final course grade is sent from Moodle to Banner.  Do you know of any issues with the LAE Grader Report that would interfere with the submission of the final grade to Banner?

Thank you - Nancy K.

In reply to Nancy K Hoke

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'm sorry for being so late in reply, have been away on business. The version that is in plugins should have no problem sending grades to Banner/ Datatel though that functionality is not in the report at this time. The accuracy of the calculations has been verified by the 500+ schools using it at this time.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Craig Mackey -

Hi Bob,

I've just installed the LAE Grader report (build 2014011600) onto my test Moodle server (Moodle 2.5.3+ (Build: 20131213)), (Ubuntu server 13.10, apache 2.4.6, php 5.5.3-1ubuntu2.1)

and when the report displays it shows this error above the report.

At a cursory inspection the report seems to function ok, there is just the numerous notices above it.

 

Any ideas?

 

Thanks in advance.

The notice seems to be independent of the current theme. The same error was coming up before the upgrade and I was hopeful the upgrade would provide the solution.

Attachment laegrader.PNG
In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'm not seeing those notices. You must have an interesting setup, perhaps all categories no items? I'll push a newer version that will take into account this unlikely situation.

What organization are you with? 

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Craig Mackey -

These errors are showing on my development server at home - so it wasn't going into production with those displaying.

Nothing special about the setup, a basic Ubuntu 13.10 server install with apache, php and postgres. The only difference from this to my production server at school is that I have built  a new server at home with Ubuntu 13.10 which installs the newer apache and php versions.

At my school I have an Ubuntu 12.04 lts server with a minimal desktop installed so that we can "cheat a little"- not being Linux guru's.

Your update, that I just installed, fixed the problem. Many thanks.

Next - how do I get more than 4 students (rows) to show at one time? That's all that comes up.

In the settings for the  LAE Grader report the variable  "grade_report_studentsperpage" is set to 100, so I'm not sure what is happening here.

 

Thanks in advance.

Craig.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

What you're dealing with is not a number of students per page because you don't have any page drop down in the upper-left. You need to expand the number of pixels high the scrolling window is, a setting for the LAE Grader.

What school are you with? I like to keep track of who's using the LAE Grader.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Craig Mackey -

I'm at Albion Park High School, NSW, Australia.

 

I set the number of pixels high to 900. No change with the end result, although as the page loads all students are shown (~30) then the last thing that happens is the number of students is reduced to 5 (was 4 before). When I set it to 300px high I get the same result.

I've tried standard, decaf & krystle themes with the same result.

 

Thanks,

Craig.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'll give it a look this morning. Thanks Craig for the info.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I can't get this to fail using the standard theme -- I can raise or lower the height on the viewable window as expected. What version of Moodle are you on? I am using Chrome and Firefox on Moodle version 2013111800.07.  Running on Ubuntu 12.04.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Craig Mackey -

I'm on 20140131 Moodle 2.5.4+

viewing the site on my android tablet using the android internet browser or chrome. The issue is independent of theme.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I'm sorry, Craig, it has never been a consideration to create a grade report with editing capabilities for a mobile platform as I never believed anyone would want to use it in that way. Somethings lend themselves to mobile but not everything. Try it on a laptop and see if the results prevail.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Craig Mackey -

Just upgraded the laegrader report to 2014021500 and the resizing bug on the scrollable section seems ok now. 

 

Many thanks,

Craig.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Great, there's been some contributions of additional styles and code that likely resolved the issue.

In reply to Craig Mackey

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I've pushed to my github and plugins.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Matthew Sauvage -

Hi Bob,

I have installed your LAE grader on a second site (v. 2.6.1+) and am having trouble with the height of the scrollable window - it stays the same small size despite the settings changes I make. I have changed the parameter in Grades - Report Settings - LAE Grader Report to 900 pixels and I have also changed that same setting in the course to 900 but the window does not show any bigger.

Enlarging the scrollable window works fine in another site where I have installed it (v. 2.5.4+). What am I missing?

Thanks,

Matthew

In reply to Matthew Sauvage

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Some information:

  • LAE Grader version?
  • OS of installation?
  • Debug turned on and showing messages to the screen do you get anything upon saving the settings?
  • What organization are you with?

thanks

In reply to Matthew Sauvage

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

Hello, everyone.

We use this plugin (release 2014020800) on Moodle 2.6.1+, and also have this bug. 

If you set height value in "My report preferences" in course, plugin will use value from 'mdl_user_preferences' table and everything will work fine.

But if you change the parameter in Grades - Report Settings - LAE Grader Report, plugin will use static value:

 

File: index.php (line 192)

$scrolling = $scrolling == null ? 380 : 300 + ($scrolling * 40);

We use value from global param $CFG->grade_report_laegrader_reportheight:

$scrolling = $scrolling == null ? 300 + ($CFG->grade_report_laegrader_reportheight * 40) : 300 + ($scrolling * 40);

  

Thank you.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

Hello, Bob!

Your plugin is good! We use this plugin (release 2014020800) on Moodle 2.6.1+ and find some small errors:

1). With turned on the debugging messages, we have this:

get_related_contexts_string() is deprecated, please use $context->get_parent_context_ids(true) instead.

  • line 4521 of \lib\deprecatedlib.php: call to debugging()
  • line 1111 of \grade\report\laegrader\lib.php: call to get_related_contexts_string()
  • line 506 of \grade\report\laegrader\lib.php: call to grade_report_laegrader->get_right_avg_row()
  • line 830 of \grade\report\laegrader\lib.php: call to grade_report_laegrader->get_right_rows()
  • line 185 of \grade\report\laegrader\index.php: call to grade_report_laegrader->get_grade_table()

get_related_contexts_string() is deprecated, please use $context->get_parent_context_ids(true) instead.

  • line 4521 of \lib\deprecatedlib.php: call to debugging()
  • line 1140 of \grade\report\laegrader\lib.php: call to get_related_contexts_string()
  • line 506 of \grade\report\laegrader\lib.php: call to grade_report_laegrader->get_right_avg_row()
  • line 830 of \grade\report\laegrader\lib.php: call to grade_report_laegrader->get_right_rows()
  • line 185 of \grade\report\laegrader\index.php: call to grade_report_laegrader->get_grade_table() 

We use the next solution: in lib.php (line 1111) and lib.php (line 1140) we replace deprecated functions from:

AND ra.contextid " . get_related_contexts_string($this->context)

 to new functions:

AND ra.contextid IN (". implode(",", $this->context->get_parent_context_ids(true)) .")

 

2). Also, in lib.php (line 121), plugin use constant for default width of columns and NOT using this parameter value which you set in Grades - Report Settings - LAE Grader Report.

Current version code:

$this->columnwidth = $this->columnwidth == null ? 25 : 25 + ($this->columnwidth * 5);

And our solution, which use value from global param $CFG->grade_report_laegrader_columnwidth:

 $this->columnwidth = $this->columnwidth == null ? 25 + ($CFG->grade_report_laegrader_columnwidth * 5) : 25 + ($this->columnwidth * 5);

 

3). Don't display title, when you hover on changedisplay button (in code no double quotes before title).

 Current version code (locallib.php (line 462)):

$actiontext = '<img alt="' . $type . ' title="' . $strchangedisplay . '" src="' . $CFG->wwwroot . '/grade/report/laegrader/images/changedisplay.png" />';

 And our solution:

$actiontext = '<img alt="' . $type . '" title="' . $strchangedisplay . '" src="' . $CFG->wwwroot . '/grade/report/laegrader/images/changedisplay.png" />';

 

 4). In "My report preferences" we also have notices:

get_context_instance() is deprecated, please use context_xxxx::instance() instead.

  • line 4020 of \lib\deprecatedlib.php: call to debugging()
  • line 36 of \grade\report\laegrader\preferences.php: call to get_context_instance()

get_context_instance() is deprecated, please use context_xxxx::instance() instead.

  • line 4020 of \lib\deprecatedlib.php: call to debugging()
  • line 37 of \grade\report\laegrader\preferences.php: call to get_context_instance()

get_context_instance() is deprecated, please use context_xxxx::instance() instead.

  • line 4020 of \lib\deprecatedlib.php: call to debugging()
  • line 46 of \grade\report\laegrader\preferences_form.php: call to get_context_instance()
  • line 191 of \lib\formslib.php: call to laegrader_report_preferences_form->definition()
  • line 41 of \grade\report\laegrader\preferences.php: call to moodleform->moodleform()

get_context_instance() is deprecated, please use context_xxxx::instance() instead.

  • line 4020 of \lib\deprecatedlib.php: call to debugging()
  • line 47 of \grade\report\laegrader\preferences_form.php: call to get_context_instance()
  • line 191 of \lib\formslib.php: call to laegrader_report_preferences_form->definition()
  • line 41 of \grade\report\laegrader\preferences.php: call to moodleform->moodleform()

We replace deprecated functions in preferences.php (line 36) and in preferences_form.php (line 46) from:

$context = get_context_instance(CONTEXT_COURSE, $course->id);
$systemcontext = get_context_instance(CONTEXT_SYSTEM); 

 to 

$context = context_course::instance($course->id);
$systemcontext = context_system::instance();

 

 5). And finally, trouble with styles. In Opera 12, Firefox 27, Chrome 31.0.1650.63, we can see vertical line in cells of rows with even style:

Vertical line in cell

We fix this problem by adding some css in styles.css (like code for odd rows at line 302):

.laegradestable tr.even td.cell,
.laegradestable tr.even th.cell {
background-color:#fafafa;
white-space:nowrap;
} 

 We test it on Standart and Aardvark 2.6 themes.

 

Thank you.

 

 

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Tremendously helpful, thank you. I've implemented your changes and pushed to my github as well as plugins.

What organization/ school are you with?

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

Volga State University of Technology, Yoshkar-Ola, the Mari El Republic, Russia.

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Thanks, have you done a translation you'd like to share?

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

Yes, of course.

And we have some questions. 

In locallib.php (line 158) in the current version you use non-translated params for course and categories totals:

switch ($element['type']) {
	case 'courseitem':
		$header .= 'COURSE TOTAL';
		break;
	case 'categoryitem':
		$header .= 'CATEGORY TOTAL';
	default:
 		$header .= $catname;
}

 May be, it will be better to use get_string function?

switch ($element['type']) {
	case 'courseitem':
		$header .= get_string('coursetotal', 'gradereport_laegrader');
		break;
	case 'categoryitem':
		$header .= get_string('categorytotal', 'gradereport_laegrader');
	default:
 		$header .= $catname;
}

Also, in lib.php (line 319) the same situation:

Current version code:

$output = '<div class="inlinebutton" title="Download contents of gradebook to csv suitable for Excel or Google">';

 With using get_string function:

$output = '<div class="inlinebutton" title="' . get_string('copytoexcel', 'gradereport_laegrader') . '">';

 

Then in lang/en/gradereport_laegrader.php file, we need to add 3 new rows:

$string['coursetotal'] = 'COURSE TOTAL';
$string['categorytotal'] = 'CATEGORY TOTAL';
$string['copytoexcel'] = 'Download contents of gradebook to csv suitable for Excel or Google';

In  lang/he/gradereport_laegrader.php some rows are missed (without translating, sorry):

$string['changedisplay'] = 'Toggle display of this item between Percent, Real, Letter';
$string['clearoverrides'] = 'Clear all overridden conditions in this column';
$string['laegrader_columnwidth'] = 'Number of characters wide before grade titles wrap'; $string['laegrader_extrafields'] = 'Show extra user fields'; $string['laegrader_extrafields_help'] = 'Show extra user fields (such as user email or user idnumber -- as set by a site administrator in user policies) in the grader report'; $string['laegrader_reportheight'] = 'Height (in pixels) of scrollable portion of LAE grader report'; $string['laegrader:view'] = 'View the LAE grader report';
$string['showclearoverrides'] = 'Show icon that allows clearing overridden conditions in a column';

$string['copytoexcel'] = 'Download contents of gradebook to csv suitable for Excel or Google';

 

Thank you.

 

P.S. The file with russian translation (first version) is attached.

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Thanks again, you're been very helpful. Changes have been pushed to github and plugins. Collaboration is so good, no one person should have to handle all this.

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I had to kill the background color of this as it overwrote the background for overridden cells.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

But now, we have vertical line in cells again...

We need to add more css! Insert new css after the code, in which you kill background-color:

.laegradestable tr.even td.overridden {background-color:#F3E4C0;}
.laegradestable tr.even td.ajaxoverridden {background-color:#FFE3A0;}

Return the row with background-color, and all will be work perfectly: no vertical line in cells and background of overriden cells not overwritten!

 

Thank you.

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Got this working and pushed. Thanks for the help.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

Hello, Bob.

We have one more question.

In file preferences_form.php (line 50), why do you use this value

$checkbox_default = 'checkbox';

and don't use value like in standart grader (/grade/report/grader/preferences_form.php)?

// $checkbox_default = array(GRADE_REPORT_PREFERENCE_DEFAULT => '*default*', 0 => get_string('no'), 1 => get_string('yes'));

 

Thank you.

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

I reverted though it shouldn't make any difference since there are no checkboxes on either the Grader or LAE Grader

In reply to Ilya Zhuykov

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Ilya Zhuykov -

We asked this question, because some settings don't saves (such as grade_report_showclearoverrides), when we use

$checkbox_default = 'checkbox';

 But now all work correctly (plugin release  2014021500).

 

Thank you again.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Kimber Warden -

We love the LAE grader report! We are using groups more and more, which leads to a problem when using the report. We have Instructional Assistants that are members of several groups in a single course and are responsible for tracking the progress of all students in those groups. But on the LAE Grader, they can only see one group at a time. Would it be possible to add an "All Groups" selector from the Groups drop-down list, which would allow an Instructional Assistant (or other role with the proper permissions to view the grader) to see the Grader Report for all of the groups of which they are a member?


Does anyone else have that need?


Kimber

In reply to Kimber Warden

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Bob Puffer -

Hi Kimber, I appreciate your appreciation. Happily (perhaps sadly, for you) I can say work on the LAE Grader report has ended because its functionality is largely represented in the 2.8 gradebook.

When I have groups set to 'Visible groups' I can choose 'All participants' from the LAE Grader groups dropdown. This may not be compatible with how your course roles are set however.

In reply to Bob Puffer

Re: CLAMP LAEgrader Report with Frozen Headers and Names

by Brian Pool -

First of all, thanks for this mod.  The gradebook report included with Moodle is really cumbersome and frankly unusable for a K-12 school system.  We have used LAEgrader for a LONG time and are just now looking to upgrade to Moodle Ver 3.0. 

Our issue.  We modified the 1.9 version to not show or calculate hidden items.  It makea the gradebook more manageable as we only show the current quarter (and some teachers have far more grades than others in the course of a single quarter.)  That being said, the coding in the existing module is far different than that of the 1.9 one.

Has anyone done a mod like this to hide all hidden items and not make them calculate into the grades?  I would rather have somewhere to start if possible.  If not, is there an easy section that will make it simply overlook the entire grade item and all associated grades.

From the onset of online grading we felt it was important to be transparent with students and parents.  The idea of having a hidden grade count is obviously contrary to that.  We still want to obviously be able to hide items until they are part of the course, and we only want the current quarter visible.

Any help would be appreciated!

Brian Pool