New Block: Grade Me

New Block: Grade Me

by Dakota Duff -
Number of replies: 139

Here's a block I created that shows a teacher all of the assignments and manual quiz questions (essays and file responses) that have been submitted, but not graded.

The block is configured to work with groups — that is, teachers will only see the assignments submitted by students if they are both members of the same group. You'll have to let me know if it works with courses that don't use groups at all.

You can install the block on the Front Page and it will show ungraded assignments for ALL courses, and if you put the block on a course page it will only show the ungraded assignments for that course.

The download page (with screenshot): http://moodle.org/mod/data/view.php?d=13&rid=2116

In reply to Dakota Duff

Re: New Block: Grade Me

by Ken Gibson -

The link to the "download page" appears to be broken.  How does this block compare to the "notgraded" block.

Ken   

In reply to Ken Gibson

Re: New Block: Grade Me

by Dakota Duff -

Yeah. Good ol' auto-linking.

Two big differences are that this block respects group divisions and that another big difference is that this block can be used on the Front Page and it will show all courses — so if you have a large number of courses you don't have to go into each course to see what still needs graded.

If groups and front page overview aren't important to you, you might find the interface a little easier to deal with. Feel free to try them both and decide which you like best.

In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Fischer -
I really like this block. Great addition for large classes with multiple graders divided by groups.

My moodle install is not in the root directory (it runs from https://secure.spacegrant.org/vasts/). The links to the ungraded assignments leave the "vasts" out (i.e. https://secure.spacegrant.org/mod/assignment/view.php?id=839 instead of https://secure.spacegrant.org/vasts/mod/assignment/view.php?id=839). How can I fix this?
In reply to Mark Fischer

Re: New Block: Grade Me

by Dakota Duff -

Thanks for the feedback, Mark. I got lazy and didn't provide the wwwroot to all links. Just replace block_grade_me.php with this file. Let me know if that works for you.

In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Fischer -
Thanks for the quick response. This worked like a charm. One thing that you might consider is to have the link point to the assignment in the gradebook separated by groups. That way a by clicking on the link in the grade me block it takes the teacher directly to the items that the block points out need to be graded.
In reply to Mark Fischer

Re: New Block: Grade Me

by Dakota Duff -

I may not be understanding you, but I believe this functionality is half-baked in already.

They way it is currently set up if you click the text you are taken to the course or assignment. If you click the icon you are taken to the course gradebook or assignment gradebook.

Similarly, if you click the student's name you are taken to their profile (to be consistent with the rest of Moodle) and if you click the checkmark next to their name you are taken to the grade screen for their assignment (functions a little differently with Quiz essays).

The reason I did this was because we had some teachers who wanted to see what they assignment was before they went it to grade it. This goes both ways. If you want the assignment you click the name, if you just want to grade it you click the icon.

Does this answer your concerns? Is there a better way to offer both options? I'm open to suggestions.

In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Fischer -
Sorry, I missed the icon stuff before.

When I click on the icon it takes me to the grade book for that assignment for all participants. It would be nice if it took you to the grade book for that assignment for just the teacher's group. This would eliminate one step for the teachers. But, if the teacher was in multiple groups what would it do?
In reply to Mark Fischer

Re: New Block: Grade Me

by Dakota Duff -

You didn't miss anything about the icons — I hadn't mentioned it!

When our teachers click the icon the are taken to the course gradebook or assignment grade area with groups accounted for. If a teacher is a member of multiple groups, they have a dropdown box where they can toggle among their various groups. I believe the one it defaults to is the first alphabetical.

We use Separate Groups for each course, Grader Report: Show Groups on, and Role: Access All Groups prevented (hope that all made sense).

Please let me know if this answers your concern.

In reply to Dakota Duff

Re: New Block: Grade Me

by Martin Griffiths -

forgive me for being stupid.

But how do i actually install this.

I thought i had downloaded the 1.1 version of the zip file.

Extracted it into the blocks folder.

Ran the http://host/moodle/admin script

But apparently i have no work to mark, when i know for a fact i have.

Any ideas..

Running Moodle on IIS, with MSSQL

In reply to Martin Griffiths

Re: New Block: Grade Me

by Dakota Duff -

Well, one thing you'll need to do is turn editing on and add the block to the page.

If you've already added the block you should either get a list of ungraded work or a "smile Nothing to grade!" message.

If you've installed the block and you're not getting your ungraded work then please post here and I will see if I can figure out how to get this working with IIS and MSSQL. I built it on Apache and MySQL, so this could be interesting.

In reply to Dakota Duff

Re: New Block: Grade Me

by Martin Griffiths -
oh yeah, editing was turned on, block was added to page.
But it just says "nothing to mark."


In reply to Martin Griffiths

Re: New Block: Grade Me

by Dakota Duff -

Sorry, Martin. I hadn't adjusted for situations not involving groups.

I'm attaching this version which should now work for you. Thanks for bringing the problem to my attention.

In reply to Martin Griffiths

Re: New Block: Grade Me

by Dakota Duff -

For anyone who's interested, the "fix" I posted didn't fully solve Martin's problem. The root of his problem was that the query I use to get the submission date uses a query that is incompatible with MSSQL — only with MySQL. Eventually I'll get around to fixing this and have PHP handle the date conversion, but if you need a quick-fix just let me know.

In reply to Dakota Duff

Re: New Block: Grade Me

by Sue O. -
this block in very nice ... we don't use groups in our classes.

Is the student supposed to see the block as well? If so is there a way to hide from students view??

Thank you
In reply to Sue O.

Re: New Block: Grade Me

by Dakota Duff -

Is the student supposed to see the block as well?

No, they're not. I noticed that the other day. Originally, students didn't see it, but somewhere in my code shuffling I had changed something.

Here's v1.3. The only users who will see the Grade Me block in this one are users who have grading rights somewhere at a course-wide level (it shouldn't work if you only have grader rights for an individual module).

I also fixed the date formatting problem that was causing issues in MSSQL.

In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Haskins -

Excellent work - I am just getting my head around the whole Moodle set up and can't thank people who are writing these modules enough!

Grade Me has installed and is working (displaying grades etc.) however, since installing I am getting hundreds of "Expected ";"" errors from IE7. I am on Moodle 1.9.2. I am using Custom Corners theme (not sure if this is relevant or not...)!

I have looked through the code as best I can and cannot find any obvious ommissions.

Has anyone else experienced this?

Thank you,

Mark

In reply to Mark Haskins

Re: New Block: Grade Me

by Dakota Duff -
You might try reinstalling. Is it possible that you accidentally deleted a semicolon on installation?
In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Haskins -
Sorry for delay... Been on holiday. Might try reinstalling it now. Unless there are any other ideas..?
In reply to Dakota Duff

Re: New Block: Grade Me

by Mark Haskins -

Hello again. Reinstalling did not work... There was no avenue for me to delete a semi colon. It is a great Module, but we havent properly instigated Groups yet and I think that this module would display all teachers ungraded assignments upon log on...

I may put it on ICE for now, but thanks for all the help.

Mark

In reply to Mark Haskins

Re: New Block: Grade Me

by Dakota Duff -

Ugh — sorry I can't be of further assistance. The coding is pretty rough and could certainly use some cleaning. I wonder now if it's a PHP version issue? I wrote/tested in PHP5. Any chance you're still on v4?

In reply to Mark Haskins

Re: New Block: Grade Me

by Deleted user -

Now that I'm looking at this again, I'm wondering if the problem is line endings. I use unix line endings which should work just fine, but depending on your setup I suppose it might cause problems. You might try converting your line endings to whatever your server's operating system is to see if the problem goes away.

In reply to Dakota Duff

Re: New Block: Grade Me

by Scott Hardwick -

Hi Dakota,

Thank you for your work on the GradeMe block! I have been testing it this last week and really think it will fit a need that my teachers have.

One question though. Can it (should it?) disregard classes that have been set as "not available" to students? At the end of every semester we hide the old classes and sometimes there may be ungraded work left there since some of our teachers use Moodle to collect assignments but don't utilize the Moodle gradebook.

Thanks

Scott

In reply to Dakota Duff

Grade Me block SQL error

by Paul Vaughan -
Hi Dakota. We have just yesterday downloaded and installed your block (1.3) however after uploading a csv of outcomes we get blank screens when accessing the Outcomes page via the admin menu. turning on dev-level warning produces the following error (included in full!):

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 ') AND qu_st.timestamp IN () AND c.id IN ' at line 39

SELECT c.id course_id , c.shortname course_name , qu_st.id state_id , q.id q_id , q.name q_name , c_m.id module_id , qu.id question_id , qu.name question_name , qu.qtype question_icon , u.id user_id , u.lastname last_name , u.firstname first_name , q_a.timefinish time_submitted , l.ip ip_address FROM mdl_question qu INNER JOIN mdl_question_states qu_st ON (qu.id = qu_st.question AND grade = 0 AND raw_grade = 0) INNER JOIN mdl_quiz_attempts q_a ON (qu_st.attempt = q_a.id) INNER JOIN mdl_quiz q ON (q.id = q_a.quiz) INNER JOIN mdl_user u ON (q_a.userid = u.id) INNER JOIN mdl_course c ON (c.id = q.course) LEFT JOIN mdl_groups g ON (c.id = g.courseid AND g.id IN (null)) LEFT JOIN mdl_log l ON (l.userid = u.id AND l.course = c.id AND l.time = q_a.timefinish AND module = 'quiz' AND action = 'close attempt') LEFT JOIN mdl_course_modules c_m ON (c_m.instance = q.id AND c_m.module IN (SELECT id FROM mdl_modules WHERE name='quiz')) INNER JOIN mdl_role_assignments ra ON (ra.userid = u.id) INNER JOIN mdl_context cx ON (ra.contextid = cx.id AND cx.instanceid = c.id) WHERE qu.qtype IN ('essay','fileresponse') AND q_a.timefinish > 0 AND qu_st.timestamp = q_a.timefinish AND qu_st.id IN () AND qu_st.timestamp IN () AND c.id IN (1,2,3,4,6,7,8,9,10,11,12) AND cx.contextlevel = 50 AND ra.roleid IN (5) AND (g.id IN (SELECT mdl_groups.id FROM mdl_groups , mdl_groups_members WHERE mdl_groups.id = mdl_groups_members.groupid AND mdl_groups_members.userid = u.id AND mdl_groups.id IN (null) ) OR g.id IS NULL) ORDER BY course_name , q_name , question_id , last_name , first_name , q_a.timefinish ;

* line 686 of lib/dmllib.php: call to debugging()
* line 200 of blocks/grade_me/block_grade_me.php: call to get_recordset_sql()
* line 317 of blocks/moodleblock.class.php: call to block_grade_me->get_content()
* line 341 of blocks/moodleblock.class.php: call to block_base->is_empty()
* line 339 of lib/blocklib.php: call to block_base->_print_block()
* line 270 of index.php: call to blocks_print_group()

Incorrect $rs used!

* line 822 of lib/dmllib.php: call to debugging()
* line 201 of blocks/grade_me/block_grade_me.php: call to rs_fetch_next_record()
* line 317 of blocks/moodleblock.class.php: call to block_grade_me->get_content()
* line 341 of blocks/moodleblock.class.php: call to block_base->is_empty()
* line 339 of lib/blocklib.php: call to block_base->_print_block()
* line 270 of index.php: call to blocks_print_group()

We're using 1.9.5+ (20090703) on a fairly standard LAMP setup (Ubuntu 8.04LTS, PHP5, MySQL 5).

I do understand it may be the upload which caused this error but that part was out of my control - I will do what I can to investigate that angle (check the file for validity) but I have my head stuck into some other Moodle code at the moment and can't look deeper into this just yet.

Regards,

Paul. smile
In reply to Paul Vaughan

Re: Grade Me block SQL error

by Deleted user -

It looks like you haven't had any quiz attempts and that's what's causing the error. I really need to recode this block from the ground up — it was kind of sloppily done and didn't take into account situations like this.

A quick and dirty solution would be for you to create a dummy quiz, go in and select an answer. That would write a record to your question_state table, which seems to be what's causing the error.

In reply to Deleted user

Re: Grade Me block SQL error

by Paul Vaughan -
Hi Dakota, thanks for the reply.

I've added a one-question quiz and completed it with a regular, non-admin user, but the problem persists, with identical SQL error (I checked it instead of posting it all again).

On a different course, the SQL error shows above the block, but which appears to be functioning well (see attached image).

If you have any further suggestions they would be most welcome, I'm troubleshooting 3 blocks with issues before a 1.9.5 rollout tomorrow!!

Paul. smile
Attachment grademe_block_error.png
In reply to Paul Vaughan

Re: Grade Me block SQL error

by Paul Vaughan -
Sorry, ignore that last post, your answer was spot-on.

Additionally, when I'm not logged in I get two instances of that SQL error message, which appears to relate to the two courses on our dev server which have gradeable assignments in them. Possibly a permissions issue?
In reply to Paul Vaughan

Re: Grade Me block SQL error

by Jean FRUITET -
(grade_me version 2.1)
To get rid of that SQL error I have added a line to test if any question exists in course in script "block_grade_me.php"

LINE 209 :
if (!empty($st_ids) && !empty($st_timestamps)){ // A test

LINE 265
} // close test

In reply to Dakota Duff

Re: New Block: Grade Me

by Mike Parker -
Hi Dakota,

love your block.

How hard is it to make hidden tasks not appear in the grading list.

thanks

mike
In reply to Dakota Duff

Re: New Block: Grade Me

by Paul Vaughan -
Hi all. One problem (more an annoyance really) with this block is that for our admins who can see every course, if we add the block to the front page it shows every ungraded item for every course. This led to a block which was about 10 screens tall! smile

To get around this I modified the block in the following way. After the lines:

// create the content class
$this->content = new stdClass;
$this->content->text = '';
$this->content->footer = '';

...I added the following:

if (isadmin($USER->id) && $COURSE->id == 1) {
$this->content->footer = '<div class="empty"><img src="'.$CFG->pixpath.'/s/smiley.gif" alt="smiley" />Grading has been disabled for admins on the front page.</div>'."\n";
} else {

... and added a corresponding } at about the third line up from the bottom of the code.

I hope someone finds this useful.

-Paul smile
In reply to Paul Vaughan

Re: New Block: Grade Me

by Dan Jeffries -
Brilliant! Thanks for this extra bit of code!

Just to be awkward - would it be possible for any Admins who teach to see the assignments?

Or am I just being difficult ;)

dan
In reply to Dakota Duff

Re: New Block: Grade Me

by Deb Burdick-Hinton -
Totally Awesome! Thanks for contributing this. Do you have to have AJAX enabled for this to work. I heard through the grapevine that was the case. We use Activity Locking Format so can not enable AJAX without disabling Activity locking, unfortunately.
In reply to Dakota Duff

Re: New Block: Grade Me

by Marisa Sudano -
Great block, but it doesn't include graded forums as things that need to be graded. Does it include all graded activities or only assignments?
In reply to Dakota Duff

Re: New Block: Grade Me

by Deleted user -

I'm swamped with work right now, but hope to take a look at rebuilding this block in about two weeks. Please let me know if there are any more problems/issues/suggestions and I'll see what I can do.

In reply to Deleted user

Re: New Block: Grade Me

by Deleted user -
In reply to Deleted user

Re: New Block: Grade Me

by Deb Burdick-Hinton -
Thanks Dakota - I will see if we have this most current version installed. This is SUCH A COOL block and hope our testing goes well because our instructors are going to love it. What a huge time saver!

We just started testing this and it is dynamite. My only challenge is that it displays assignments in courses that are "not available to students" is there a way to adjust this setting so it only displays assignments for courses that are open and active?
In reply to Deleted user

Re: New Block: Grade Me

by Shawn Drake -
Hi Dakota,

First of all, our instructors LOVE this block, so thank you for all the hard work you've put into making and updating it, as well as the support you provide here on the forums.

With that being said, our externally hosted server has been experiencing database errors when connecting to Moodle, which our host has attributed to the "excessive" queries generated by the Grade Me block. We are an online college, so downtime is unacceptable for us, especially on a recurring basis.

I was wondering if anyone else has had these kinds of errors when using the Grade Me block? I've seen nothing on these forums that would support this claim, and was hoping that you and the Moodle community could support or contest this theory in any way. Our host has an advantage here, as they can monitor our activity, but I'd like to get some information to back this up. I assume it could also be a hardware issue, but would like to get your input before introducing this theory to our host.

We would love to continue using this block, as it has been accepted by our faculty with open arms, but if our host is correct, I'm afraid we won't be able to in the future.

Thanks for your input,

Drake
In reply to Shawn Drake

Re: New Block: Grade Me

by Deleted user -
There are a few queries that are executed each time a page with the block is accessed. It's hard for me to imagine that this alone would cause too many queries, but it might be possible that the size of the query results were causing issues as early versions of the block didn't have constraints on the number of rows returned.

I have implemented constraints in the most recent version and there were a number of other changes that would help ease the load on the database.
In reply to Deleted user

Re: New Block: Grade Me

by Mike Shurance -

GREAT BLOCK!

Do you know of any way to hide those assignments that are set to No Grade or Extra Credit from showing up in the block?

In reply to Mike Shurance

Re: New Block: Grade Me

by Mike Shurance -

It is possible to NOT display the items in the gradebook that are classified as a No Grade? Currently, all assignments in the gradebook show up even those that are not supposed to be graded.

In reply to Mike Shurance

Re: New Block: Grade Me

by Deleted user -
Sorry for the delay. I unsubscribed from the forum because there were too many messages for me to keep up with.

The query looks for instances where the submission's modified time is greater than the marked time. If you submit a mark — even a "No Grade" mark — I believe the item should disappear from the Grade Me block.
In reply to Dakota Duff

Re: New Block: Grade Me

by Dakota Duff -
Version 2.0 of the Grade Me block.

  • IP address listings are gone to speed up queries and reduce DB load
  • Slight query and code optimizations to improve performance and reduce resource intensiveness
  • Query limits put in place to speed results and prevent unmanageable results
  • Improved support for course "Visible" group settings and ungrouped graders
In reply to Dakota Duff

Re: New Block: Grade Me

by Brian Powell -
I am not sure what I would do without this block. As a notorious late grader this block is a constant guilt trip reminding me to get to work.

I do have one question. I assign journals and discussion forums for a grade on my Moodle site and they do not show up as ungraded in the Grade Me block. Is there a way to add them to this block?

Thanks again.
In reply to Brian Powell

Re: New Block: Grade Me

by Dakota Duff -

Unfortunately, I don't believe there's a way to include discussions forums in the block because of their nature. The problem is that an assignment or quiz has a definite submission whereas the forums can have multiple submissions and the grade can be a composite of the scores over all the submissions.

If anyone can think of a good way to include the forums (basically an SQL query to pull out ungradeds), maybe something could be done, but it's hard for me to figure out how to get this to work in a variety of situations without having every single "I agree with the above" reply being flagged as something in need of a grade.

I will tell you that one way around this that I know of is to create an assignment the student actually submits without entering any data. I actually created a new "Offline" assignment for this very purpose. All that it was was a button that said "I'm finished" and the description would let the students know to only click the button when they had completed all of the requirements of the forum — their grade was actually entered for this offline assignment in the gradebook, rather that the forum.

The benefits were three-fold: (1) it was compatible with the Grade Me block, (2) it bypassed the forum grade system (which I always found to be over-complicated), and (3) it could be used for virtually any type of assignment and could often replace Moodle's stock "Offline" assignment.

I'd be interested to learn what other methods people have used and what the thoughts are on trying to bypass the forum's grading system altogether.

In reply to Dakota Duff

Re: New Block: Grade Me

by Marc Hermon -

Some of my English teachers use the journal and want it to show in the Grade Me block (which is my favorite block of all time) Of course the journal is outdated and didn't even show in the grade book. However, from the discussion at:

http://moodle.org/mod/forum/discuss.php?d=102154#p716494

You can upload a modified Journal module and then move all previous journal instances into the gradebook. My problem is they still don't go into the Grade Me block. I know my teachers are supposed to be using Online Text instead of Journal but they like what they have. Any help on how to get these journal submissions into the Grade Me block?

In reply to Marc Hermon

Re: New Block: Grade Me

by Dakota Duff -

I may be able to eventually add support for the Journal module, but figuring out a way to get other core Moodle modules (particularly forums) to work will happen first.

In reply to Dakota Duff

Re: New Block: Grade Me

by Dakota Duff -

Version 2.1

  • Query modification to speed up queries on large question tables without adding a non-standard index.
In reply to Dakota Duff

Re: New Block: Grade Me

by Edward Higgs -
Hi,

I have tried adding this block to a course without groups and it then made the
add blocks dropdown list completely disappear from the course.

Any ideas now to prevent this from happening.


Thanks in advance

Eddie

In reply to Edward Higgs

Re: New Block: Grade Me

by Jürg Hoerner -
I had the same effect with 1.9.7+ the "add blocks" was not visible after installing.

For performance I would like to have a button to search, If I want grade the grade_me block must not search.
In reply to Dakota Duff

Re: New Block: Grade Me

by Claire Browne -
I have a fatal error when I add the block to the course page

see below
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16 bytes) in C:\moodle\lib\dmllib.php on line 886
In reply to Dakota Duff

Re: New Block: Grade Me

by Joe De Stefano -
Hi Dakota,

Does this latest version work with moodle version 1.97+?

Thanks

Joe
In reply to Joe De Stefano

Re: New Block: Grade Me

by Jean FRUITET -
It does smile

This is a version with few modifications (for localization) and french translation...
In reply to Jean FRUITET

Re: New Block: Grade Me

by Mike Shurance -

Again...THANKS for the great work.

Is there a way to hide ungraded items from hidden courses (i.e., last semester)?

In reply to Mike Shurance

Re: New Block: Grade Me

by Mike Shurance -

I added the following to line 123 and it now shows only assignments for courses that are visible.

      AND c.visible = '1'

In reply to Mike Shurance

Re: New Block: Grade Me

by Dakota Duff -

Great fix, Mike. I'd eventually like to add some configuration options to the block and I will keep hidden courses in mind if I eventually get that far.

In reply to Jean FRUITET

Re: New Block: Grade Me

by Joe De Stefano -
I love this new version and how it works with 1.97+. However the school that I work for uses the database activity and we tested it on the Grade Me block and it does not work. Is there anyway to go around this or maybe put in a new version to include database activity? Help is greatly appreciated.

Joe


In reply to Joe De Stefano

Re: New Block: Grade Me

by Dakota Duff -

Joe, I haven't thought of a way to really "signal" that a database is ready for grading. Same for forums. At the same time, though, I don't have much experience with gradable databases.

If you have any ideas or suggestions, I am open to them.

In reply to Dakota Duff

Re: New Block: Grade Me

by Joe De Stefano -
What we would like is to add an entry to the database to say that it has been completed.

Joe
In reply to Joe De Stefano

Re: New Block: Grade Me

by Dakota Duff -
We used to add an assignment right below the database/forum or whatever item needs to be graded. Students were instructed to just click submit (in this case we created a new assignment type) when their database/forum was ready for grading.
In reply to Dakota Duff

Re: New Block: Grade Me

by Dakota Duff -

Version 2.2

  • Fixed errors throw by sites where essay questions do not exist that would cause the page to not fully render.

Sorry it's taken me so long to address some of these problems.

There was a pretty major issue where the block would throw errors on sites if there had never been an essay type question used on the site.

It should be corrected in this release.

In reply to Dakota Duff

Re: New Block: Grade Me

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
Hi Dakota,

I notice there is no download link for the Grade me block in the modules and plugins database. Rather than attaching the code to forum posts, I'd encourage you to add it to Moodle CVS, as described in Development:Guidelines for contributed code. One advantage of doing so is that a zip file of your code is automatically created and stored on Moodle's download server.
In reply to Dakota Duff

Re: New Block: Grade Me

by Paul Tosney -

Hi,

I am using Grade Me v2.2 on moodle 1.9.2+.

I am using Visible Groups at the course level, but each asignment is set to seperate groups. There are 2 copies of each assignment, one for each group. This way the groups share forums and other resources, but have their own assignments. The teachers then only get notification emails for their students - the ones in their group. This is the reason for the duplicate assignments using seperate groups. The thinking behind this is that it will be a richer experience for all if we have everyone in the same course, English 10 for example, rather than having 2 English 10 courses.

When I add the Grade Me block, it displays all the outstanding assignments, not just the ones in my group.

Is this because I have Visible Groups at course level?

In reply to Paul Tosney

Re: New Block: Grade Me

by Martin Lewis -
Hi Paul,
The assignments become visible if you are a member of the same group. By removing group membership the assignments disappear.
I came across this from the other angle, ie why can't I see assignments? If you are a member of the course but not of the group, you won't see it. Similarly with global teacher permissions.
Bottom line - look at group membership.

Enjoy!

Martin
In reply to Martin Lewis

Re: New Block: Grade Me

by Nichole Bryant -
Hello.
First off, I LOVE this add in. I have a question about utilizing it for the main page of the site. It lists all the courses, which is wonderful, but is there a way to list the courses by category?

Thank you,
Nichole
In reply to Nichole Bryant

Re: New Block: Grade Me

by Paul Tosney -
A simple way to do this is to utilise the fact that the asignments are listed in alphabetical order. Name the assignments so they appear in the right order, "category1-assign1, category1-assign2" for example.
Paul
In reply to Dakota Duff

Re: New Block: Grade Me

by Rob Gordon -
First of all, thanks for this block. I have been using it since it first came out, and it is one of the best and most useful blocks I have ever installed.

However, I think their is a glitch in the latest one. I put it up as a sticky block on both the course pages and the myMoodle, and it blocks all other blocks when logged in as a student (or I guess anyone who does not have access to the Grade Me block).

This block is essential, IMO, for any moodle site, and I don't know why it hasn't been added as a key block, but I will have to dissable it because my students need to have access to some of the other blocks.

I hope you can solve this issue soon big grin

BTW, I'm using moodle 1.9.9
In reply to Rob Gordon

Re: New Block: Grade Me

by Rob Monk -
Totally agree Rob, this is an awesome block and is essential. It should be in the core.
In reply to Dakota Duff

Grade Me block v2.3

by Dakota Duff -
Updates to language strings, French localization (partial), and a bug fix for student users (see Rob Gordon's comment).
In reply to Dakota Duff

Re: New Block: Grade Me

by Ole Thomassen -

We tried to install the Grade Me block to our Moodle system. We are running IIS7 with FastCGI and WinCache along with MySQL. Our install has about 4000 users and 350 courses. We noticed that the Grade Me block significantly slows down system performance (course page takes several seconds to load). Has anyone noticed the same? If so, is there a workaround to improve performance when using this block?

At first we could not load the block. We increased the max_allowed_packet setting and the block load, but the system is very slow. Any advice is appreciated.

Thank you!

In reply to Ole Thomassen

Re: New Block: Grade Me

by Dakota Duff -

The Grade Me block does have to process a lot of data, but it shouldn't significantly slow down the system. Make certain you have all of your tables properly indexed (Site Admin block > Misc > XMLDB editor > Check Indexes).

In reply to Dakota Duff

Re: New Block: Grade Me

by Rob Gordon -

How long does it usually take to upgrade Grade Me when there is a new version? 1.9.10 just came out!

In reply to Rob Gordon

Re: New Block: Grade Me

by Dakota Duff -

I don't believe any upgrades are necessary for compatibility with 1.9.10. Are you experiencing problems? If so please PM me (I only occasionally check in on the forum).

In reply to Dakota Duff

Groups not working on Grade Me

by Nikki Macfarlane -

I have installed the block to Moodle 1.9.9. The block appears fine on the pages I want it on but it is showing all outstanding assignments for every teacher, not just the ones that are in the same group.

I have the courses set up as Separate Groups. When I go to either the front page or the course page, all outstanding assignments appear regardless of the group the teacher is in. I am missing something but I have no idea what!! Anyone able to help?

Thanks, Nikki

In reply to Nikki Macfarlane

Re: Groups not working on Grade Me

by Dakota Duff -

If you're going in as an admin, then you're seeing things as designed. Admins can see all ungraded work. If you're instead going in as a teacher and seeing all ungraded work, please PM me and I'll investigate to see if the block needs updated.

In reply to Dakota Duff

Re: Groups not working on Grade Me

by Dan Jeffries -

Hi

Having used the Ajax Marking Block for some time, we have found recently that it is not working properly with groups. So, after some investigation, have decided to try out the Grade Me block again.

Everything looks fine - apart from some group aspects! It seems a little inconsistent. We are using Separate Groups for our assignments and also have 'Send for Marking' switched on (something we are considering removing). Here's an example:

Tutor is told he has 37 submissions to grade.

Tutor clicks on Course and sees:

When using the Grade Me block, they can also see submissions from other students who are enrolled into different groups.

I'm wondering if the issue here is that this was a Course that didn't use Send for Marking but, now that it's been switched on, it hasn't 'caught up' as such.

However, this doesn't explain why the tutor can see submissions from other Group members.

I'm also confused by the text 'There are too many submissions to display them all in the block.' Does that mean there are too many Courses or that there are too many submissions for the courses shown?

Hope you can help! smile

dan

In reply to Dan Jeffries

Re: Groups not working on Grade Me

by Paul Tosney -

Do you all the assignments set to 'seperate groups'?

The 'too many submissions...' part means that there's simply too many items in the list to display them all. It's not the total number of submissions, it's the number of different assignments in the list.

In reply to Dan Jeffries

Re: Groups not working on Grade Me

by Dakota Duff -

I probably need to do a better job of documenting this, but the Grade Me block only looks for course-level groupings, not activity-level. If you set your course to "Separate Groups" with groups forced then your teachers should only see the students they share a group with.

The "too many submissions" message is to prevent really long queries and really long listings making the block extend way down the page. I think it's set to cap at 250 ungraded. If you're getting that message and it's causing problems then have your teachers grade some work wink or use it at the course level, instead (Sticky block).

In reply to Dakota Duff

Re: Groups not working on Grade Me

by Paul Tosney -

So it seems the Grade Me block only displays a single teachers assignments to them when grades are set to 'seperate' at course level and Force is set to 'yes'.

We have several groups in courses for assignments, but have shared forums so all the groups can read each others postings and respond. Is there anyways to have Grade Me working and shared forums in the same course?

Paul

In reply to Paul Tosney

Re: Groups not working on Grade Me

by Achilles Poloynis -

Hi there, I agree with so many others. This block is a great addition. I do seem to be having a situation though where I am just seeing all assignments instead of just the ones in my group using 1.9.11, can you give me any insight or let me know what info I need to provide for troubleshooting please? Any help would be appreciated, thank you!

 

Achilles

In reply to Achilles Poloynis

Re: Groups not working on Grade Me

by Achilles Poloynis -

I'm posting this here in the hope that it can help others. I had to change the teachers role to prevent "Access all groups" and the groups worked as expected.

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Tony Jiron -

GREAT BLOCK! I can’t live without it. Is this part of the Core of Moodle 2.0? If not, are you planning a version for Moodle 2.0.

Thanks, Tony

In reply to Tony Jiron

Re: New Block: Grade Me (Moodle 2.0)

by Dakota Duff -

Thanks! It's part of CONTRIB, but not part of CORE. And yes, the block will eventually be Moodle 2.0 compatible, though it may be a month or so before I can get to that.

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Scott Luker -

Hello Dakota,

Are you still planning to make your Grade Me block 2.0 compatible? We really love it! Thank you.

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Ashly Mellor -

Is this something that is still in the works? We are switching over to Moodle 2.0 within a month and can't live without this!

Thanks for all your hard work!

In reply to Ashly Mellor

Re: New Block: Grade Me (Moodle 2.0)

by Rob Monk -
Greetings Dakota. The best block eva for moodle was written by you. Yes the grade me block was awesome. We have upgraded to 2.0 and we are missing the grademe block terribly. Any timeline on an upgrade?
In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Mark Dover -

We are new to Moodle and started off using version 2.0.

This block sounds exactly like something we've been looking for, any update on the ETA for this?

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Michael Mino -

I also started with Moodle 2.0 and have encountered a few obstacles to smooth operation.  I do not use groups and pose many questions in forums for students which require grading.  It is a tedious process to review each discussion group in search of ungraded entries.

May I offer assistance with the conversion process and adding this functionality?

In reply to Tony Jiron

Re: New Block: Grade Me (Moodle 2.0)

by Jürg Hoerner -

I like to have this block for moodle 2.0

This is a realy great block.

Thanks Juerg

In reply to Tony Jiron

Re: New Block: Grade Me (Moodle 2.0)

by Kimber Warden -

I can't live without it either! Thank you so much for creating it! Are you still planning to make it 2.0 compatible? This block is so essential to our school that we probably won't upgrade to Moodle 2.0 until this block is available.

In reply to Tony Jiron

Re: New Block: Grade Me (Moodle 2.0)

by Dakota Duff -

Sorry for the wait, but thanks for the patience.

Grade Me v3 (for Moodle 2) is nearing completion. I have all basic functionality converted and will soon be adding some configuration options.

I've already made some modifications that may improve performance in Moodle 1.9 and I hope to have both the updated Moodle 1.9 and Moodle 2 versions available by the end of the month.

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Ashly Mellor -

Hi Dakota,

I want to first thank you for all your hard work on this module, it truly is a life saver for us. Secondly is the 2.0 version up for testing yet? I would really love to play with it as my teachers are on me about it.

Thanks So Much!!

Ashly

In reply to Dakota Duff

Re: New Block: Grade Me (Moodle 2.0)

by Mark Dover -

Hi Dakota, I'm sure you're very busy and sorry to bug you but any news on your progress towards 2.0 compatibility?

In reply to Dakota Duff

Re: New Block: Grade Me

by Alasdair Shaw -

This block is almost the answer all my problems. Unfortunately we have quite a few quizzes that have no manual marking element. I would not want these to appear on the list of things to mark but they do. Would this be possible to fix?

In reply to Alasdair Shaw

Re: New Block: Grade Me

by Dakota Duff -

Quizzes should not appear unless there are ungraded essay or fileresponse question.

In reply to Dakota Duff

Re: New Block: Grade Me: Nice to have

by Jürg Hoerner -

Thank you very muach for this realy usefull block.

I would like the following settings i the block settings that I can choose what i want to see:

1. if a coure is in the course settings : "This course is not available to students

-> YES   it is not shown at the my grade me listing.

2. if an assaignment is set to "no grade"

-> YES they are not shown at the my grade listing.

 

In reply to Jürg Hoerner

Re: New Block: Grade Me: Nice to have

by Dakota Duff -

Thank you for the suggestions! I intend to add configuration options shortly.

In reply to Dakota Duff

Re: New Block: Grade Me

by Rob Gordon -

Hi,

I think I found another glitch. I'm running: Moodle 1.9.11+ (Build: 20110223)

And the block no longer has those little triangles that lets you collapse all the assignments, so now my assignments are about 3 screen-lengths long when I am logged in as admin because it shows every assignment submitted one above the other!

 

I'm using Grade_me2.3

In reply to Rob Gordon

Re: New Block: Grade Me

by Dakota Duff -

Did you determine the cause of this, yet? I believe I've seen the block operating normally in Moodle 1.9.11.

In reply to Dakota Duff

Re: New Block: Grade Me

by Achilles Poloynis -

I have the same issue running 1.9.11. When I hard code the path to the images it works fine but using the existing

<?=$CFG->wwwroot?>/blocks/grade_me/pix/open.png

on line 45 and 49 n the style.php sheet doesn't work. Neither does trying to use a relative path from the page (pix/open.png)

In reply to Achilles Poloynis

Re: New Block: Grade Me

by Marc Hermon -

How and where did you hard code the path to the images? My pointer arrows do not show up either.

In reply to Dakota Duff

Re: New Block: Grade Me

by armando Guzman -
HI

I using this exeptional block in moodle 1.9.11, but is not work whit grups, always showmw lal the pending assamntes. I need show me just the assamet the non_editing teacher needs to grade.

Please help me

i install  grade_me_blok2.3.zip
In reply to Dakota Duff

Re: Grade Me - Moodle 2

by Dixie Harrison -

Joining the chorus here - I have some instructors that will... take me to task (to put it nicely cool ) if they can't have their GradeMe block.  They simply love it.  We're running some courses on Moodle 2 for Summer and hope to move to Moodle 2 fully for the Spring 2012 semester.

I can't program, but I'll do anything else that I can to help this along.  I'd be very pleased to be able to test a Moodle 2 version.  Just tell me what you need.

 

In reply to Dakota Duff

Re: New Block: Grade Me

by Benjamin Young -

I've installed the block and its working great except it does not show the students name that requires grading anymore. It just shows that there are XX number of submissions that are ready for grading.

Does anyone know why it does not show the students name's anymore?

Example:

Course name

Course assignment (3)

Course name 2

Course 2 assignment (3)

In reply to Dakota Duff

Re: New Block: Grade Me

by Chris Megahan -
Picture of Core developers

Thanks for you work on this block. I was in need of a quick solution so I did some updating today to make the block 2.1 compatible. I have two issues remaining.. a javascript issue and the timestamp not displaying properly. I'd be happy to share the changes.

In reply to Chris Megahan

Re: New Block: Grade Me

by Tony Jiron -

Sure, I'd like to use or test this block even if it is not perfect.

Tony 

In reply to Dakota Duff

Re: New Block: Grade Me

by Daryle Niedermayer -

OK, I guess I'm missing something here. I'm running Moodle 2.0.2+ (Build: 20110427) and have downloaded and unzipped the grade_me_2.3.zip archive into my ~/www/moodle/blocks directory. All contents in the zip archive now are in the blocks/grade_me directory. I've run the Site "Notifications" script (admin/index.php) which generated only the standardized version page and no request to built or install any new modules. I then went to the Front Page, tried to "Add a block..." but the "Grade Me" block does not appear in the listing. Trying to edit a Course to add this block has the same result; the module does not show up in the listing.

Is there a missing step here? Or is this module not compatible with 2.0.2?

In reply to Daryle Niedermayer

Re: New Block: Grade Me

by Mark Dover -

Hi Daryle, the Grade Me block isn't compatible with Moodle 2.0+ yet, it's still only available for 1.9

We've been waiting for the upgrade but the author Dakota Duff hasn't logged into moodle.org for near 100 days so I'm not sure when the upgrade will be available.

In reply to Mark Dover

Re: New Block: Grade Me

by Janine Hempy -

One of my teachers requested this module. We're on Moodle 2.2. Is there any news about an update? Or suggestions for an alternative?

Thanks!

In reply to Janine Hempy

Re: New Block: Grade Me

by Dakota Duff -
In reply to Dakota Duff

Re: New Block: Grade Me

by Philip Judkins -

I have downloaded the zip file and extracted it in my Moodle 2.3.1 blocks folder. The problem I have ran into is that when I go to my moodle site and try to add the block it is not listed as an option. Is there something I am doing wrong or is there still a bug? Thank you very much for your time with this

In reply to Philip Judkins

Re: New Block: Grade Me

by Ann Denny -

We had to have our site administrator add the block to our installation/site.  Then I could choose it from the drop down menu.  Hope this helps, Ann

In reply to Ann Denny

Re: New Block: Grade Me

by Janine Hempy -

Yes, there's an admin step that needs to happen after copying a module to the right place in the file structure. You need to go to Site Administration - Notifications, then click through the upgrade steps. Did you do that part yet?

In reply to Dakota Duff

Re: New Block: Grade Me

by Ann Denny -

I am a distance learning Latin teacher who is new to Moodle.  I am using Moodle 2.2.  I have installed the Grade Me "plug-in," as I understood that it would alert me as to which assignments need to be graded--essays and short answer particularly.  After several attempts at taking essay quizzes/tests, logged in as a student, I cannot get anything to show up under the Grade Me block.  I simply get the smiley face that says, "nothing to be graded."  Help, and thanks, Ann

In reply to Ann Denny

Re: New Block: Grade Me

by Dakota Duff -

If you're using the latest version of the plugin please make sure your Moodle cron is running. If you're not using the latest version of the block, please use the latest version of the block. wink

https://github.com/dakotaduff/moodle-block_grade_me

In reply to Dakota Duff

Re: New Block: Grade Me

by Philip Judkins -

I am using the latest version of Moodle 2.3 and the latest version of Grade_Me and I'm running Moodkle Cron. I'm still showing nothing to grade when I have assignments submitted. Is there anything else I might check????

I used to use Grade_me on 1.9 and I loved it. Thanks for all your work.

In reply to Philip Judkins

Re: New Block: Grade Me

by David Richards -

I am having the same problem. Moodle 2.3.1. Cron is running. Grade me is pulling data from forums and quizzes, but not from assignments.

In reply to Dakota Duff

Re: New Block: Grade Me

by Nancy Kekos -

Love the Grade Me Block for Moodle 1.9, but the scales do not work in 2.0! If you have a Pass/Fail scale set up for an assignment it is not showing up in the Grade Me Block. Any suggestions?

Thanks!

In reply to Dakota Duff

Re: New Block: Grade Me

by Marc Hermon -

We are upgrading to 2.4 from 2.2 from 1.9. My teachers are going to freak but "Go big or go home" I always say. My problem is the Grade Me block in the opinion of my teachers has always been the greatest block ever made and I can't seem to get it to display notices. It also throwing up the following errors:

Notice: Undefined property: stdClass::$block_grade_me_enableassignment in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/lib.php on line 61 Notice: Undefined property: stdClass::$block_grade_me_enabledata in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/lib.php on line 61 Notice: Undefined property: stdClass::$block_grade_me_enableforum in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/lib.php on line 61 Notice: Undefined property: stdClass::$block_grade_me_enableglossary in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/lib.php on line 61 Notice: Undefined property: stdClass::$block_grade_me_enablequiz in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/lib.php on line 61 Notice: Undefined variable: showempty in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/grade_me/block_grade_me.php on line 106

If I can get any help with any of this it might actually save my life.  smile

 

In reply to Marc Hermon

Re: New Block: Grade Me

by Rob Monk -

Got some bad news for you. Grade me adores not work with 2.4. Very annoying for teachers. 

Also my home that used to display tasks to be graded, no longer does.  2.4 is a big step back for tracking student submissions. 

In reply to Rob Monk

Re: New Block: Grade Me

by Marc Hermon -

Yikes! My teachers are NOT going to be happy. I guess for the time being we go back to the e-mail notification when a student submits an assignment? Yuck! I'm sure it's hard to cover everything in new Moodle versions but from a teacher perspective I thought tracking student submissions would have been more of an obvious inclusion. Any ideas or blocks out there for a workaround? 

In reply to Marc Hermon

Re: New Block: Grade Me

by Marc Hermon -

I have just stumbled across what I think might be a pretty amazing block to use instead of the old Grade Me block. 

https://moodle.org/plugins/pluginversions.php?plugin=block_ajax_marking

In reply to Marc Hermon

Re: New Block: Grade Me

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers

Have you begun using the Ajax?
Grade Me block has been a complete disaster on our 2.6 -- to the point that when teachers use the block to enter grades, the grades and comments don't save to the correct student in the grade book. Grade Me worked perfectly fine in the past, but not with our 2.6 so I'm looking around for any other grading blocks. I'm curious about Ajax.

In reply to Dakota Duff

Re: New Block: Grade Me

by Matt Ladwig -

Hey everyone!
We are having an issue with the Grade Me block. As an administrator it works fine for me (whether it is in one of my courses or in another teachers course). However, it does not work for the teachers. Teachers only see the block with editing on and it does not show anything to grade (just shows that they can edit/delete block). With their editing off they don't see the block at all.

I am guessing that this is a teacher role/permissions issue, but I tried changing teacher role permissions and that did not seem to help.

Any suggestions?
Thanks,
-Matt

In reply to Dakota Duff

Re: New Block: Grade Me

by David Wylie -

Hi Dakota,

Many thanks for your ongoing work with this!

I have installed the Grade Me block in 2.6 but after much testing I cannot get anything to show up - I get the smiley face and the text 'Nothing to Grade!'

I can confirm that cron is running:

Processing cron function for grade_me....... started 13:18:49. Current memory use 54.7MB.

Updated block_grade_me cache in 2.39863 seconds
done.
Many thanks,

David

In reply to David Wylie

Re: New Block: Grade Me

by Matthew Lowe -

David, I have experienced the same thing in 2.6.

For me there were two issues: 

1. The first was that as I am the Administrator and not a teacher in any courses, all I saw was the smiley face and the text 'Nothing to Grade!

To fix this I went to: 

Administration > Site Administration > Plugins > Blocks > Grade Me and Checked the option for 'Admins View All'. 

This allowed me to see all ungraded assignments across the site.

2. The second issue that I encountered was when a teacher was not seeing any ungraded assignments for her to grade when we knew that there were many ungraded assignments in her course. 

This was being caused by the assignments using a custom scale for grading. 

Grades for assignments are stored as numbers in the database as 1-100, 0 for 'No Grade' and negative numbers for grade scale items (i.e. -1 or -7).

The assignment plugin in the 'Grade me' block will only return items where the grade field in the assign database table is greater than 0. 

The code can be found in:  blocks/grade_me/plugins/assign/assign_plugin.php on line 56:

WHERE asgn_sub.userid $insql AND a.grade > 0

The AND a.grade > 0 means if any of your assignments have 'No grade' or a scale set for for the grade then the assignment will not show up in the 'Grade me' block.

To fix this I simply commented out the 'AND a.grade > 0' so the line in the code now looks like this:

WHERE asgn_sub.userid $insql /* AND a.grade > 0*/

Alternatively, if you want to exclude any assignments that you are not grading (No grade), then you could use this:

WHERE asgn_sub.userid $insql AND (a.grade > 0 OR a.grade < 0)

Hope this helps.

In reply to Dakota Duff

Re: New Block: Grade Me

by Nick Hartel -

My program recently upgraded to Moodle 2.7 and a number of issues have popped up around grading.

Long story short, AJAX seems to work great for initial grading and all quizzes, but resubmissions never show up.  GradeMe picks up all the resubmission, but when I click the link to directly grade a submission, neither the grade nor comments end up making it to the grade book.  Any suggestions?

The only other oddity is sometime already graded quizzes, especially those that are auto scored in the system continue to show up in GradeMe, even though they were graded long before and are properly entered into the grade book.

In reply to Dakota Duff

New Block: Grade Me

by Андрій Чорний -

Hi! how i can export results from grade me to exel or csv file?
or maybe some sql sqery...
thanks
PS. i need ALL unmarked assignments from ALL courses and date when assignment was downloaded