Warning: main(/home/fhlinux206/v/virtuallearner.co.uk/user/htdocs/darlandvle/blocks/marking/lib.php): failed to open stream: No such file or directory in /home/fhlinux206/v/virtuallearner.co.uk/user/htdocs/darlandvle/blocks/marking/block_marking.php on line 3
Has anybody got this block to work with 1.6? If so I would be very grateful for a copy of the working version as I use this all the time.
The latest is always here: http://download.moodle.org/download.php/modules/block_marking_1.5.zip
Am I doing something wrong?
I have verified what Mike Churchward says: on the surface, it does appear that block marking 1.5 works in moodle 1.6.1 and I saw the items that I need to be marked show up correctly
However as Barry Lindler reports, once I try to click on the links to what needs marking, I get the "parameter missing" error.
I am now going to work on this bug (unless someone else reports that they too are working on it). I will report back once I have some results
the zip file http://download.moodle.org/download.php/modules/block_marking_1.5.zip
provides two lang folders: one where it should be if following standard instructions of unzipping at the wwwroot folder (that one is old and incomplete) ... you can delete that one
and one inside the blocks/marking folder (this one is complete) but needs to be moved manually to your lang folder
here it is attached.
please feel free to email me (see the README) if you find more errors or would like to suggest some improvements
I have tested the 1.6.1 version of the block that you provided. It gives me the same two warnings in lib.php as the previous version from Mike:
- around line 18: foreach ($allinfo['uncategorised'] as $gname => $ginfo). It seems in our settings that no $allinfo['uncategorised'] exists. I have added if (is_array($allinfo['uncategorised'])) before it.
- the second one is more peculiar, around line 118 (return sprintf("%.2f", ($sgrades / $scount));). I do not know why, but $count is zero. In that case we return '0.00'.
But otherwise, no errors, thanks for improvement.
I have incorporated your fix for line 18, and made line 118 return a dash instead of a 0.00
I am working on a few other bugs and then will upload the new version to http://moodle.org/mod/data/view.php?d=13&rid=445
which is where I will put all new versions from now on
thanks for your feedback!
Thanks for the updates. Just installed the latest version and all seems to be OK at the moment. Will give it a more thorough testing over the next few days. Thanks again for getting this block back up and running it really is a little gem!
Would it be possible to add to the Student's View, My Progess, a link to their grades? My students often look at the full report, but want to see their actual individual grades.
Thanks again for the hardwork.
Barry: thanks for field testing this block ... my teachers have not started to use it yet so I won't otherwise know until mid-fall if there are any bugs
as for Student's View, My Progress... I'm losing you: i thought there was no "student view" in marking block... please clarify and can you provide the exact (typical) URL you want inserted into which part of the marking block?
When I turn on the Marking block on my page, the students get a block on theirs that says My Progress.
It shows their current average, their position in the course, and a link to Full Report.
Also on the students page is a link to Grades. I'd like to have that link also available in the My Progress block (moodle_root/grade/index.php?id=10) is the current link.
I hope that helps to clear it up. If you'd like, I can give you access so you can see what its doing. I was just assuming this was part of Marking_Block.
Here is what I think the My Progress Block should look like-
Where the My Grades link should take
them to Grades(moodle_root/grade/index.php?id=10) or whatever the id number happens to be.
Second: thanks Barry for suggesting improvements
quick way to add "My Grades" to block_marking.php:
after line 128, add this:
$this->content->text .= "<a href='$CFG->wwwroot/grade/index.php?id=".$this->course->id."'>".get_string('grade')."</a>";
or download attached file and put in blocks/marking
Third: this style of showing Progress is not suited for self-paced courses, so I intend to add an option to allow choosing a different student progress report view that does not show ranking or average marks, but rather how much of the course has been completed and how close the student is to their target (thanks Barry for stimulating my brain)
Do you know how to set an Agreed Target? I saw the heading from the My Progress student block view, and when I clicked on Full Report, it has a heading that says Agreed Target. I have an idea what it is for, but do you know how to set it?
The data associated to "Agreed Target" attempts to come from an assignment submission ... I don't see how that relates to what a teacher thinks of as an agreed target for a course full of various activities
this is not going to be a trivial patch. First I will need to create a new field in user_students (the table which keeps track of who is enrolled in which course) called "goal" or "target" and create a form to populate it with a percentage goal. Then I need to compare that goal with the "projected grade" which is the sum of all points divided by the number of attempted activities.
Thanks for the work. I'll check your changes/fixes and add them to the repository version.
Is there any way to add a check for this and simply not count these items as overdue?
to: $var = optional_param('var','default');
I changed 8 variables. clicking on the links now works and the marking is done correctly (not thoroughly tested) ... there remains some warning notices that I'd like to work on but here is the file "marking.php' that the impatient can start using right now
Thank you so much! Your marking.php has helped out a great deal - clicking on the links now works. You're right about the other messages - after trying to send out reminders, it quickly said unable to instantiate send mail - ugh. It appears that marked submission emails went out, but I'm creating a user now to test that.
Also, on the marking page, the "First submission that are unmarked:" , and "Marked submissions" titles appear fine, but the "unmarked resubmission" appears as "unmarkedresubmissions:" I wish I could help you debug - I'm reading as much as I can, but man this is getting deep! I look forward to more posts from you on the subject if you have the time.
thanks again for helping a guy out!
unmarkedsubmissions is in the lang file ... so I wonder if your lang file is up to date. please check by editing or viewing lang/en_utf8/block_marking.php and searching for the string "unmarkedresubmissions" and if it not there, add:
$string['unmarkedresubmissions'] = 'Unmarked Resubmissions';
as for the send mail warning, I don't know what to say... perhaps you did test it and found that it works anyways? ...
Just did a fresh install of 1.6.1+ and got the marking block from CVS. All seems well (although I've not tested it fully yet) but when I turn error reporting on, this turned up on the front page of the site:
Notice: Undefined property: object::$id in C:\MoodleWindowsInstaller-latest-16\moodle\moodle\blocks\marking\block_marking.php on line 20
Notice: Undefined property: object::$id in C:\MoodleWindowsInstaller-latest-16\moodle\moodle\blocks\marking\block_marking.php on line 134
thanks for all your work on this. I've got a fresh copy as you directed and it does indeed remove the error. Trouble is, I'm getting some assignments showing up twice. Any idea why? I'm not sure where to look for more info on the nature of the error.
Actually, the error is still there on the front page, but only when I am not logged in. When I log in it goes and the block displys properly apart from the duplicates.
Students, however, see this:
Notice: Undefined property: object::$footer in C:\MoodleWindowsInstaller-latest-16\moodle\Moodle CVS\moodle\blocks\moodleblock.class.php on line 222
but not on the front page, only in a course they are part of which has the block installed. when I look at the same page as teacher, there's no error. Also no error when I turn student view on.
For now, I've just turned error reporting off.
I cannot replicate your errors, so if you are using the latest version 2006091200, please send me a course backup that replicates these errors
turning error reporting is a good solution. Note: block marking sort of works but is still in beta (and likely so for a while)
Is this the right one?
note: i am unlikely to be able to improve it likely until this winter
(but I will act on patches submitted to me
Ah, good to hear.
I have still got the dupicate entries thing and now, in a different course, I get no entries at all even though 13 essays are sitting there unmarked. Thanks for the offer to check out the courses for me, I'm going to send zipped up copies to you by email.
If you can solve these issues I'll be eternally grateful. The marking block is one of the most useful bits of moodle I've found
1. are you dealing here only with assignment activities (not journal activities) ?
2. how many of these activities are there in the first course (with the duplicates)
3. how many of these activities are there in the second course (with none showing up in block marking) ?
I am sorry if you have seen my postings elsewhere but as I trawl through the areas I find what I think is the best place to post then come across another one!
I have installed this plugin and now my grades for assignments are disappearing. It first set all No Grades to 0/100. Then it removed marked submissions, removed the comments, the grades and the submission itself. Initally this was by one class but now it is the whole cohort (over 200 pieces of work).
I am getting a little panicked here!
Do not use it on a production system unless you are prepared to take the risks involved with testing unstable software.
Now about your bug report: are you reporting what the marking block is saying or what your gradebook is now saying after you installed marking block?
I have now had to fully remove the marking block at present.
The gradebook shows all zeros (0).
If I go to the assignment it states that I could view 95 submissions (so something knows that people have submitted work).
If I follow this link then the Assignment grading sheet shows all 0/100, no comments and no evidence of submitted work. I then click on Last Modified (By Teacher) and then Surname and hey presto all submissions, grades and comments are back (but never in the root Grades list). Leave and the next time I log in and go to the Assignment grading sheet; nothing!
Therefore the data is still present but something has stepped inbetween, causing this issue. In removing the block it seems to have stopped; though someone has stated that it has happened to another course elsewhere and we cannot pinpoint when (before or after deleting the block).
I take your point about not using on a Production run and did believe our backup system offered protection but am now very aware that this was a poor assumption. Also, I did review all the comments and perceived this to be a low risk block to run. I am now aware that I am not alone in this issue and would love to see it solved; it's a fantastic idea!
Good luck. I'd offer to help but at present my PHP is P.A.N.T.S. and I don't have time right now to improve that fact!
We used this block under 1.5 and it was excellent, probably the most useful block as far as teachers were concerned. I hope you do move this onto the 1.6 platform successfully.
Cheers for your efforts.
Are there any version of this module for moodle 1.9.1 y 1.9.2??