I noticed that other communities such as http://meta.telesc.pe/
Are offering an option where a user can subscribe to email updates (newsletter) by entering his email.
This way the user can just enter his email (without the need to sign up for a regular account) and get updates of interesting topics by email.
Try it out for yourself! Go to âPreferencesâ when you click on your avatar in the upper right corner, next to the hamburger menu.
A visitor needs to sign up âfullyâ like any other member to use the mailing list features. Even if they sign up and donât come back, but are instead active by posting via email. That is fine and expected for some mailing list users.
Right. The question in the OP was âdo they need to make a full account to get a digest?â
It sounds like the requested feature is allowing visitors to sign up for a digest without making a full user account. Like an auto-generated newsletter that grabs the most-liked/most-viewed/most-replied topics for anyone to sign up to, regardless if they have a user account or not.
Great example will be http://inbound.org/
You can sign up, but you can also just enter your email to get updates about new posts(using the banner at the top).
In the meantime @Alex_Flom I suggest making a non-automated newsletter (via MailChimp for example) from querying the database to catch all the links to relevant most-liked/most-viewed/most-replied topics. Then throw it onto a newsletter and send it at the interval you wish.
There might even be a way to automate this from some kind of script that queries the database when triggered by a cron job.
When someone subscribes to the newsletter and then become registered user, he will get both the newsletter and the email digest (basically same content).
When such user unsubscribes from the newsletter or the digest he will still be subscribed to the second since those are separate systems.
Have the proposed script check the Discouse database before sending anything. Compare the current visitor email list vs new Discourse users or the entire user database. If thereâs an email match, remove the email from the visitor list. Then it can query the database for the relevant posts as usual then tip off MailChimp via their API.
If the script does the above then the second problem wonât happen. A user wouldnât have their email in two separate systems. They simply remove themselves from the digest via user prefs on Discourse.
Done and done.
EDIT: The âmirror checkâ can include the last successful newsletter mailing to the current time. It takes the âlast successfulâ time and uses that to query the Discourse user database for emails by checking the registered date. That way thereâs no need for the script to read the entire database for emails, but instead pick up relevant new accounts and then search those for duplicate emails (especially if you have enough users to equal a quaint Smalltown, USA).
Sounds good!
Taking into consideration that we are new to this and our team is not experienced with developing with discourse , what do you think will be the best way to execute such project? Would be hiring a freelancer faster and better than education one of our developers? If yes where will be a good play to find discourse expert?
This can be in any language, even PHP if the programmer is comfortable with it. Someone doesnât need to be a Discourse expert or even a Ruby/Rails expert. This is just an automated task, not a full-fledged web app. They would only need to know Discourseâs API, its endpoints and how to work the PostgreSQL database. Also curl.
We have a marketplace category here on Meta. Thereâs other places where you can post a bounty too such as Bountify.
EDIT: Maybe not even Discourseâs API. Just the ability to query the PostgreSQL database.
Agreed, and the current answer, afaik, is âyes users need a full accountâ.
My point in posting isnât directly in line with the OP request for a new feature, rather, Iâm pointing out two related issues which @Alex_Flom needs to know about, given how discourse currently works.
If new users fail to validate their account via an authenticator (ie google, if the admin set that up) or by clicking the confirmation link they were emailed, their account will be silently deleted in 7 days (by default)
According to @codinghorror 's post here, new users will not get digests unless they have logged in once.
Those are both veiled forms of the same observation; the assumption is that the user created the account themselves and thus âlogged inâ in the process of creating their account.
If the accounts are somehow created through an API, then yes.
Why not stop the digest emails altogether and just use MailChimp to send the digest emails to everyone, active or not? What issues do you see with that?
I think even the active people should get the digest - they might have checked out/replies to only one post and that makes them active but since they are interested in whatâs discussed on the community, why shouldnât they get a digest with the other discussions happening in the community?
The first problem is how the new users will be automatically added to mailchimp?
Second problem will be how to create and send this email automatically using discourse without the need to write it every time from scratch.
Well, you can export the complete member list at any time via Admin, Users with the export button. So as long as Mailchimp can handle a CSV of email addresses and names, sending it is not too much work. But it would never be automatic.