Email Digests forcing?

Email Digests forcing?

por Sean S -
Número de respostas: 10
Is there some way that I can have new users automatically recieve digests rather than individual emails? If it isn't built into moodle, is there a hack available for this?
Média das avaliações:  -
Em resposta à Sean S

Re: Email Digests forcing?

por Sean S -
*bump*

Still looking for an answer to this.
Em resposta à Sean S

Re: Email Digests forcing?

por Steve Hyndman -

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

Em resposta à Steve Hyndman

Re: Email Digests forcing?

por Sean S -
I looked in the database, but I couldn't find a users table.

I did find

mdl_user










mdl_user_admins










mdl_user_coursecreators










mdl_user_preferences










mdl_user_students










mdl_user_teachers

Em resposta à Sean S

Re: Email Digests forcing?

por Helen Foster -
Imagem de Core developers Imagem de Documentation writers Imagem de Moodle HQ Imagem de Particularly helpful Moodlers Imagem de Plugin developers Imagem de Testers Imagem de Translators
You need to select mdl-user then follow Steve's advice (as I've just done - thanks Steve! smile)
Em resposta à Helen Foster

Re: Email Digests forcing?

por Przemyslaw Stencel -
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.
Em resposta à Helen Foster

Re: Email Digests forcing?

por Sean S -
Thanks I got it taken care of now. Thanks a bunch.
Em resposta à Sean S

Re: Email Digests forcing?

por Sean S -
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.
Em resposta à Sean S

Re: Email Digests forcing?

por Sean S -
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.