Jeffrey
The default email digest setting is controlled by the maildigest field in the mdl_user table and by two values in admin/uploaduser_form.php and user/editlib.php. Three values are possible:
0 = No digest
1 = Complete digest
2 = Digest with just subjects
To change the default to complete digests try this:
1. Change the default value in the mdl_user table with this MySQL command to set the default for all newly created users:
ALTER TABLE `mdl_user` CHANGE `maildigest` `maildigest` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1'
2. Edit the file moodle/admin/uploaduser_form.php and look for line 170.
$choices = array(0 => get_string('emaildigestoff'), 1 => get_string('emaildigestcomplete'), 2 => get_string('emaildigestsubjects'));
$mform->addElement('select', 'maildigest', get_string('emaildigest'), $choices);
$mform->setDefault('maildigest', 1); //Changed from 0 to 1
$mform->setAdvanced('maildigest');
3. Edit the file moodle/user/editlib.php and look for line 124.
$choices = array();
$choices['0'] = get_string('emaildigestoff');
$choices['1'] = get_string('emaildigestcomplete');
$choices['2'] = get_string('emaildigestsubjects');
$mform->addElement('select', 'maildigest', get_string('emaildigest'), $choices);
$mform->setDefault('maildigest', 1); //Changed from 0 to 1
$mform->setAdvanced('maildigest');
As always, backup your files before editing them and keep a record of the changes made in a central document somewhere so that you can refer to it when doing upgrades.
Hope this helps!
Ken