*Moodle 2.5 on LAMP - Assignment activity, not Assignment2.2*
** lots of related info on forums but no one clear thread, thus my question here **
Background: Previously (eg Moodle 1.9 and 2.1 I think), in Assignment Feedback Comments, any text entered by teacher would be sent to the student after ticking that 'famous' tick-box. This was perfect, as it notified students of a change in their score (which might be 60 first, they improve and resubmit and then get 80 then get 90 etc.)
1) Generic Email: The actual text in the Feedback Comments is NOT being sent by email (just a generic '[Teacher 99] has posted some feedback on your assignment submission for ['AssignmentName']'.
Question: Can I have the actual Feedback Comments sent by email instead of the generic notification?
2) First Email ONLY: Students ONLY receive notification of the FIRST marking of the assignment. Any subsequent marking/scoring/comment is recorded on the site but notification is NOT sent.
Question: The ability for students to automatically receive a notification when their Assignment is updated (the 2nd 3rd 4th etc, time) is CRUCIAL to me and all my teachers. How can I get this back?
If anyone can help, it would be greatly appreciated.
I can confirm that the 2nd problem is an existing real problem at moodle version 2.5.1
When using moodle version 2.2.1, a couple of years ago, there is no such problem and notifications were sent at any number of marking or comment a teacher made on a student submission.
thanks for confirming Andreas!
Here's hoping someone has found a workaround or can suggest a fix,
In relation to the second problem it seems the only problem is that mailed is not set to 0 when an assignment is regraded. Can someone point me in the direction of this code ?
OK Brad, I see what you're thinking.
If that code was never set to 0, then all regrading would be like the first time - and am email would be sent. Cool.
+1 for some info on where in the code this can be implemented.
You could try looking in mod/assign/locallib.php, function notify_grade_modified.
That currently sets mailed to 0 (ready to send mail) ONLY if the flag isn't already 1 (mail already sent).
You could remove the if ($flags->mailed != 1) condition and see what happens, but I assume it is there for a reason, so I'd make sure it was carefully tested before deploying to a live site.
excellent - I'll try that over the next few days - thanks Davo!!