Continuing the discussion from Members not receiving emails from Watched category:
Context: Favor activity summary posts from certain category
Hello.
I come back with the issue described in my previous topic. I thought it was solved, but I noticed since that after applying what seemed like a solution, the issue became worse.
Goal: Our community decided to have a dedicated category to share announcements. That category has a limited number of topics in which new posts correspond to an announcement. The idea is that every new post lands directly in the members inbox. For the remaining part of the forum, the digest is enough. Or people can activate mailing list mode etc.
Now, the idea is to somehow bulk changing user preferences to propagate the new settings to all users. The change is to set the announcement category as “watched” for all users and be sure that the users have email notifications enabled.
Summary of attempts :
First attempt: Add watched category in the site settings and overwrite previous settings. It does not work as the email settings of the users are not modified and so.
Second attempt: I changed the watched preference via the rails console: User.all.each do |user| CategoryUser.batch_set(user, :watching, [<id>]) end
. But the problem is that somehow not all users get an email when there’s a new post. So these users have some combination of preferences which blocks the email to be sent.
Third attempt: I made a new category and moved all the topics there. Users should not have any email settings for that new category. Then I set that new category as watched. Now, almost no user (3 of 73) gets an email when somebody posts in a topic of that new category.
After all, is there not a way to reset all users settings as if they were new users ? It’s a strange idea, but we’re a small and specialized community, so it’s not like starting to spam users…
Thanks for any help (: