Assignment

Make default setting "no" re notifying graders

 
 
Picture of Adam Morris
Make default setting "no" re notifying graders
 

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: -
Me!
Re: Make default setting "no" re notifying graders
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

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)
Picture of Adam Morris
Re: Make default setting "no" re notifying graders
 

Thanks, that is what I was looking for.

 
Average of ratings: -
Picture of Mark Dransfield
Re: Make default setting "no" re notifying graders
 

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

 
Average of ratings: -
Picture of Leo Gregorc
Re: Make default setting "no" re notifying graders
 

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)
Picture of Chris Munari
Re: Make default setting "no" re notifying graders
 

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

Chris M

 
Average of ratings: -