AJAX Marking Block
Maintained by
Matt Gibson
Shows a teacher all of the unmarked work which has been submitted by their students across all of the courses they teach in. It's most useful when placed on the front page, and it allows the work to be viewed and graded through a pop-up interface, which then updates the block once the work is marked.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I am slowly fixing these bugs and working through new testing procedures, but the fact is that the code that runs the whole thing has grown in complexity to the point where it is quite time consuming. Because the block draws together lots of modules and parts of core Moodle, it breaks easily when any of these parts are updated in core.
Beyond 2.5, there is a proposal afoot to rebuild the Moodle logging system in such a way that it will be possible to use that as a basis for finding unmarked work. This would be far better than the current hugely complex SQL query that breaks any time a module is updated. Some of the issues outlined above are caused by this SQL, and others by changes in the marking forms.
I have still only a little time to devote to this, so if anyone wants to have a stab at fixing anything and making a pull request on GitHub, then that would always be appreciated
Also when using it in 2.4 forum marking came up but didn't disappear after the comment was marked. Thanks for your work on this!
Moodle version
2012120304
2.4.4 (Build: 20130513)
Thanks for your contribution. It's much appreciated
I've installed the latest version from github on WampServer 2.2 with Moodle 2.5. I haven't yet created an instance of the block and I got this error in developer mode:
The block ajax_marking does not define the standard capability block/ajax_marking:addinstance
line 606 of \blocks\moodleblock.class.php: call to debugging()
line 584 of \blocks\moodleblock.class.php: call to block_base->has_add_block_capability()
line 236 of \lib\blocklib.php: call to block_base->user_can_addto()
line 1866 of \lib\blocklib.php: call to block_manager->get_addable_blocks()
line 1005 of \lib\blocklib.php: call to block_add_block_ui()
line 353 of \lib\blocklib.php: call to block_manager->ensure_content_created()
line 6 of \theme\arialist\layout\general.php: call to block_manager->region_has_content()
line 847 of \lib\outputrenderers.php: call to include()
line 777 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
line 240 of \course\view.php: call to core_renderer->header()
I hope this helps!
This is a great block for teachers. However I have a problem:
Make a Moodle clean install (2.3.7+ (Build: 20130524)
Install the Ajax Marking block (block_ajax_marking_moodle23_2012110903.zip)
Work in local with Xampp 1.7.7 (php 5.3.8)
Create a course with:
-Group mode -> Separate groups
-Force group mode -> No
Restrict permissions for non.editing-teachers in moodle/site:accessallgroups to prohibited.
Make an assigment (send 1 file, separate groups)
Enroll 3 groups (A,B, and C) with 2 students and 1 non editing teacher.
3 students (one from each group) send 1 file to the assignment.
A non editing teacher (group A) see in the Marking block all students, she can grade the A student, ok.
But if she try to assign a grade to a group B student, this grade is assigned to the second student from group A not to the group B student.
Can you help me in this? Thank you
Mario Dorantes
It seems that "The block ajax_marking does not define the standard capability block/ajax_marking:add instance" has not been fixed in the most recent release??
When I click on an assignment or something to grade I get the following error at the top,
Warning: Missing argument 6 for assign_user_summary::__construct(), called in /Volumes/Moodle_Data/Webserver/Documents/moodle/blocks/ajax_marking/modules/assign/block_ajax_marking_assign.class.php on line 214 and defined in /Volumes/Moodle_Data/Webserver/Documents/moodle/mod/assign/renderable.php on line 140 Notice: Undefined variable: extrauserfields in /Volumes/Moodle_Data/Webserver/Documents/moodle/mod/assign/renderable.php on line 146 Warning: Invalid argument supplied for foreach() in /Volumes/Moodle_Data/Webserver/Documents/moodle/mod/assign/renderer.php on line 143
Any help with these?
Fatal error: Class block_ajax_marking_journal contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (block_ajax_marking_module_base::process_data, block_ajax_marking_module_base::grading_popup) in /var/www/moodle2/html/blocks/ajax_marking/modules/journal/block_ajax_marking_journal.class.php on line 160
I then have to disable to block to be able to get back into the course.
I see others have this working in 2.4, though. Suggestions?
Thanks for all of your efforts. How is the Resubmission project tracker coming along (CONTRIB-4175)? We would love if the resubmitted assignments were displayed in the marking block.
Thanks,
Serge
I have tested the ajax marking block on a moodle 2.5 bèta version and the block works so far. Does this mean the block continue working on 2.5? And is founding your company succeeded?
Thanks in advance,
Mitchell
I have having difficulties getting this plugin to work in conjunction with groups. Namely, the logged in tutor/teacher is seeing submitted work for students in groups other than the ones they (the tutor) are in.
I'm guessing this is some sort of config issue. Can anyone help me out?
blocks/ajax_marking/modules/quiz/block_ajax_marking_quiz.class.php
lines 310 - 340
I changed the default database table prefix from mdl_ to the custom one in our install
And it seems to be working fine now -- for moodle quizzes -- hope this helps for anyone who has set the database tables to anything other than
mdl_ and wonder why the grading popup gives a database error.