Core: [Subscriptions] System setting to receive email notifications for every new discussion

Created on 30 Jan 2016  路  24Comments  路  Source: flarum/core

Hello,

I've been trying out Flarum for my development team discussion boards, and so far it looks awesome.

However it would be great if we could be notified of every post made in the forums through email, as we are not constantly checking the forums.

Is it possible or planned at any future release? If not, I would love to get my hands dirty and create an extension for it.

Thanks

Good first issue needs-discussion

All 24 comments

Not sure whether this should be part of core instead of an extension, @flarum/core ?

Part of the Subscriptions extension

@tobscure ha, yes that suits subscriptions perfectly!

@ivopereira

Is it possible or planned at any future release? If not, I would love to get my hands dirty and create an extension for it.

I would create a PR the core subscriptions extensions, if you accept that challenge :smiley:

:+1:

I really need this feature. Is planed to add a "Automatically follow all new discussions" to the Suscriptions extension?

This can be mitigated somewhat by

  • Automatically follow discussions that I reply to - True
  • Someone posts in a discussion I'm following - True (for email)

I don't know about a Automatically follow all new discussions though. That would flood the discussions with Following badges which doesn't seem like good design..

Perhaps in the notifications a option for "Someone makes a post"
-- Which would include new discussions and their initial post

In my use case, I'd like to use the forum as a replacement for google groups, so I think this feature is important because users are lazy to enter in the forum to search new discussions.

I've created a pull request with this feature. https://github.com/flarum/flarum-ext-subscriptions/pull/9
Any suggestion is welcome.

@kulga I don't know about a Automatically follow all new discussions though. That would flood the discussions with Following badges which doesn't seem like good design..

I'm thinking this too... @oscarotero your PR looks great from a technical point of view but I'm not sure if that's what we want to do from a design POV. Keen to hear others' thoughts and will think more deeply about it myself when I have a chance, but I suspect Kulga's suggestion for a notifications option for "Someone makes a post" would be a better approach?

I suspect Kulga's suggestion for a notifications option for "Someone makes a post" would be a better approach?

Sounds better, yes. But that's going to cause a lot of load - maybe it should be an extension instead?

The problem with "Someone makes a post" is that users cannot unfollow a discussion, I other words: stop receiving emails with new posts of a discussi贸n. Am I wrong?

And from my point of view, as a designer, I think it's unneccesary to be so explicit about which discussions are followed and which not. This is a preference of the user (like, for example, the notifications in github issues). The star icon should be used to highlight things, not to follow.

Is there any status of this availability in Flarum?

To be honest, I am really unsure about adding this, unless we add support for queue workers / background jobs first.

Hi

Filters such as "new posts from new users" could make it more popular as well as organising who receives what, like "mods a, b and c receive posts from forum 1 and 2" etc.

This is essential; board management especially with multiple boards can be really frustrating! I've used one of the extension modules for now. Some 3rd party app monitoring service.

If I can be of any help at all, Youds Media Ltd is fully signed up to developing Flarum - are there any quick start guides for people wanting to fork the project?

@youds You can find a brief guide on contributing to Flarum at https://flarum.org/docs/contributing.html#development-setup

Thanks, I will enjoy this project :)

Filters such as "new posts from new users" could make it more popular as well as organising who receives what, like "mods a, b and c receive posts from forum 1 and 2" etc.

That's not the topic of this issue, and well suited for extension space. :grinning:

Looking forward to your contributions!

Some thoughts I had about this:

  • We shouldn't want cron/queue functionality in core by default (please note flagrow/console for scheduled tasks exists and bokt/flarum-queue for queue functionality).
  • Sending large quantities of mail should really be pushed to a queue (not scheduled tasks please).

With both of the above in mind I'd say this should really be a third party extension. Whoever builds that can use said packages for faster prototyping and development.

In addition if you want to be notified of new posts as a team and use something like discord or slack, I can recommend the reflar/webhooks extension.

We shouldn't want cron/queue functionality in core by default

Why not? It's absolutely an infrastructure concern and potentially useful for many extensions; and there are still default adapters that work well even on shared hosts.

Sending large quantities of mail should really be pushed to a queue (not scheduled tasks please).

Absolutely - and we already do so in some of our official extensions.

@franzliedke most likely this discussion about cron/queues should be separated into its own issue ;) I'd gladly pull the necessary changes into core if we want it though.

most likely this discussion about cron/queues should be separated into its own issue

https://github.com/flarum/core/issues/978

Why not? It's absolutely an infrastructure concern and potentially useful for many extensions; and there are still default adapters that work well even on shared hosts.

Agreed

I'd gladly pull the necessary changes into core if we want it though.

Yes please!

After discussion in today's team meeting, I will close this issue and the corresponding pull requests. The feature itself (allowing users to receive emails about every new discussion) is probably not feasible for large forums, and - where it's feasible - probably a nice concern, so not suitable for most forums. Therefore, we decided this belongs into third-party extensions concern.

Don't worry, though - there are several good news for you:

  • With the imminent beta.11 release, Flarum's core itself will use its new queueing functionality to offload expensive tasks like sending lots of emails to background processes. This is the groundwork for this and similar features.
  • The fof/follow-tags extension implements this feature, limited to particular tags. Probably a good middle ground for most forums - you should really only use this with a proper queue backend, though!
  • The fof/subscribed extension implements - among other things - the ability to subscribe to all new discussions.
  • There's also Post Notifications per E-Mail - which allows sending these notifications to a whitelist of email addresses. Useful when a bunch of admins want to be aware of new activity without having to visit the forum all the time.

Beyond all of that, I would be happy to see another extension that lets you use Flarum as / via a mailing list - that would require some more work around email headers (and maybe even email inbox parsing) for proper threading support in mailboxes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jordanjay29 picture jordanjay29  路  3Comments

tjrgg picture tjrgg  路  3Comments

tobyzerner picture tobyzerner  路  4Comments

datitisev picture datitisev  路  4Comments

jordanjay29 picture jordanjay29  路  3Comments