prevent notfication when Grades are posted

prevent notfication when Grades are posted

Dee Kramer -
回帖数:7
How can I prevent students from receiving a notification when their grades are posted? 
回复Dee Kramer

Re: prevent notfication when Grades are posted

Bob Puffer -
We, too are looking at options to turn off automatic emailing of grades, etc.  Have seen some postings in various forums but none seem to successfully address the need.  The automatic notifications are not contained in digests, if that's what the profile specificies -- you still get them each time the instructor posts grades.  If they do it once a week, you get a whole lot of them.
回复Bob Puffer

Re: prevent notfication when Grades are posted

A. T. Wyatt -

Digest would be a possible solution.  I like having the students notified, but I give a lot of grades!  It generates quite a bit of email.

If anyone figures out a solution, we would be appreciative.smile

atw

回复A. T. Wyatt

Re: prevent notfication when Grades are posted

Bob Puffer -
I tested this and, as mentioned in my previous posting, digest doesn't affect the behavior -- the student still receives notification in their email "each time" a change is made.  
回复Dee Kramer

Re: prevent notfication when Grades are posted

Bob Puffer -
Needed to correct this quickly so I went in and commented out mod/assignment/lib.php assignment_cron function the lines:
            if (! email_to_user($user, $teacher, $postsubject, $posttext, $posthtml)) {
                echo "Error: assignment cron: Could not send out mail for id $submission->id to user $user->id ($user->email)\n";
            }

Later on I may make a permanent mod that allows for the database change required to enable instructor-selection by course.

回复Bob Puffer

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复删除的用户

Re: prevent notfication when Grades are posted

Bob Puffer -
Nothing done in the DB -- the code you see completely disables notification emails from being processed by the cron.  In order to accomplish your objective you'd need to get a list of the teachers for the course and determine, by authority which one should originate the email and place that in the teacher field of the message function.
回复Bob Puffer

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。