Make default setting "no" re notifying graders

Make default setting "no" re notifying graders

by Adam Morris -
Number of replies: 5

The most commonly requested feature from my teachers is to have notifications to graders turned off by default whenever they make a new assignment.

Using 2.3.2

How to do this? I'm happy to do this through the backend or by changing moodle code itself, but could use a few pointers.

Average of ratings: -
In reply to Adam Morris

Re: Make default setting "no" re notifying graders

by Damyon Wiese -

Change this line:

$mform->setDefault('sendnotifications', 1);
to this

$mform->setDefault('sendnotifications', 0);

in /mod/assign/mod_form.php

(around line 105)


Regards, Damyon

Average of ratings: Useful (2)
In reply to Damyon Wiese

Re: Make default setting "no" re notifying graders

by Adam Morris -

Thanks, that is what I was looking for.

In reply to Damyon Wiese

Re: Make default setting "no" re notifying graders

by Mark Dransfield -

Hi Damyon, I presume that version 2.5 still needs the patch you've developed installing, to enable these settings via the interface. I can't find them in core 2.5.

Am I right in thinking this? We're using

2.5.1+ (Build: 20130712) 

Here's the tracker issue for reference.

https://tracker.moodle.org/browse/MDL-35353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel#issue-tabs

In reply to Adam Morris

Re: Make default setting "no" re notifying graders

by Leo Gregorc -

I know that this is not the same as changing the code, but i was wondering if this also will do the same thing.  I dont know how to or where to change the code (if somebody could share this, it would be greatly appreciated), but this is what i changed

Site administration>>plugins>>message outputs>>default message outputs>>assignment notifications, email, disallowed

Hope this helps for those that dont know how to code, particularly if it works (it has done so for me)

cheers

Average of ratings: Useful (1)
In reply to Leo Gregorc

Re: Make default setting "no" re notifying graders

by Chris Munari -

We've already tried that, but found it didn't work.

Chris M