

























1
| Summary | Send all new posts in one daily or weekly update | |
| Repository Link | https://github.com/thoka/discourse-mail-daily-summary | |
| Install Guide | How to install plugins in Discourse |
Fork of discourse-mlm-summary, working on added/changed behavior:
If mail_daily_summary_at is not set, summaries will be sent every hour to people, which logged in at the same time of day the first time.
If mail_daily_summary_at is set, all messages will be queued once a day, when the configured time is reached.
Posts from mail_daily_summary_last_run_at on will be included in the summary up to 14 days ago (to prevent accidents).
This plugin is used by Communitec.
@RGJ takes care of keeping it compatible with newer discourse versions.
8 Likes
nathank (Nathan Kershaw) 2
Lovely work!!!
Would you be willing to make the frequency configurable?
For example, I’d love to push this out on Sunday evenings for the previous week.
1 Like
thoka (Thomas Kalka) 3
Seems quite doable as a global setting.
What options would be needed (daily, weekly, monthly) ?
Further day of week / month, if negative, counted from the end ?
1 Like
nathank (Nathan Kershaw) 4
It could be tackled many ways, eh?
A simple start would be another setting that asks which days of the week it should apply to.
Maybe weeks of the month too, but that gets a little tricky due to a variability.
1 Like
Tomas_Hnyk (Tomas Hnyk) 5
Is each e-mail created per user or is one email sent to all users? If e-mails are individualised, the setting of when and how often the e-mail is sent would be ideally set per user (you talk about global setting - that would then be a default).
thoka (Thomas Kalka) 6
Every user gets an individual mail.
But to do the bookkeeping for individual schedules would be much more work compared to global settings.
2 Likes
Very interesting plugin! One question about…
In the way this plugin has been designed, would it be possible to have top new posts instead of all? As an alternative to this feature request for Discourse core: Option to always receive Activity Summaries even when you've been on the forum
1 Like
I really recently installed the plugin and it looked like it was going to work as it sent a digest around the correct time that I set it for the first afternoon. But, it only sent it to 22 out of 56 people and then the next was only sent to 2 people in the next was only sent to 2 people as well.
we have just over 50 people in the forums and I just can not figure out the issue on why is not sending them to everybody. The ones that I did send to our people that have last been on the forum between one day and 50 days, and there were a mix of level zero and level one trust levels.
thoka (Thomas Kalka) 10
Sorry, I’m not using this plugin anymore and will not find time to help debug it in the near future.
Your screenshot seems to show digest emails, not daily summaries.
RGJ (Richard - Communiteq) 11
This core commit changed the way preference attribute saving works.
The plugin throws an error on preferences - email because of that change.
We have fixed the issue and opened a PR. Could you please merge it?
2 Likes
thoka (Thomas Kalka) 12
Thanks. It’s merged.
Can one assume that people who update the plugin also update Discourse? If not, will it break then?
As you seem to use the plugin: Should we update the “unmaintained” status, until further notification, when you stop using it?
1 Like
RGJ (Richard - Communiteq) 13
I think that is a pretty safe assumption.
We have a few clients using it, so - until further notice - we’re prepared to maintain it, yes ![]()
I’ve removed that tag.
2 Likes
RGJ (Richard - Communiteq) 14
Added some extra options, modernized the settings, and made a PR
mail_daily_summary_min_excerpt_length, works like regular digest_min_excerpt_length )mail_daily_summary_max_posts_per_topic)/admin/email/preview-digest functionality for the daily summary (mail_daily_summary_preview_uses_daily_summary)thoka (Thomas Kalka) 15
Thank you for maintaining and adding more functionality.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。