*bump*
Still looking for an answer to this.
Still looking for an answer to this.
If you open your "users" table in the database and change the default value of "maildigest" from "0" to "1", then when new users create an account the daily digests selection will be selected by default. This will not change anything for current users...only users who create accounts after you make this change.
Thanks to Przemyslaw for pointing these settings out to me. I have also changed the default value of "Forum auto-subscribe" so that students don't get subscribed to a forum when they post unless they choose to be subscribed first.
Steve
I looked in the database, but I couldn't find a users table.
I did find
I did find
|
mdl_user | |||||||||||
mdl_user_admins | ||||||||||||
mdl_user_coursecreators | ||||||||||||
mdl_user_preferences | ||||||||||||
mdl_user_students | ||||||||||||
mdl_user_teachers |
You need to select mdl-user then follow Steve's advice (as I've just done - thanks Steve! )
That's correct, it's mdl_user. You're welcome...sorry for the confusion.
Steve
Yes, and once you've changed the mdl_user table, you can edit the user/edit.html file. Find the following lines:
<tr valign=top>
<td align=right><p><?php ("emailformat") ?>:</td>
<td><?php
unset($choices);
$choices["0"] = get_string("textformat");
$choices["1"] = get_string("htmlformat");
choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?>
</td>
</tr>
and comment them out. This will make it impossible for your users to change the setting later.
<tr valign=top>
<td align=right><p><?php ("emailformat") ?>:</td>
<td><?php
unset($choices);
$choices["0"] = get_string("textformat");
$choices["1"] = get_string("htmlformat");
choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?>
</td>
</tr>
and comment them out. This will make it impossible for your users to change the setting later.
Thanks I got it taken care of now. Thanks a bunch.
Just used this again on a fresh installation and was thinking that this would be a really great feature to have a GUI...
Does anyone else agree? if so then I'll submit a request.
Does anyone else agree? if so then I'll submit a request.
Hmmm... yet again I had to search the forums to find this. I really think this would be a great feature to add to the variables page.
Yet again, I can't believe this hasn't made it to the GUI.