The discussion revolves around disabling email notifications for staged users in Discourse, particularly in the context of importing content from a Google Group into a static archive forum. pfaffman explains that despite disabling enabled staged users, staged users still receive emails for replies and private messages. They attempted to mitigate this by modifying user options to disable email notifications, but seek a better solution. codinghorror notes that a bug causing staged users to receive emails was recently fixed, suggesting pfaffman should check for updates. Ethsim2 asks if a plugin exists for this, and pfaffman clarifies that the original method is no longer viable and a plugin may be needed, depending on how staged users are created.
I’ve got a forum that includes a Google Groups import. For Reasons, the intention is that this will be a static archive of the Google Group. The Google Group will continue to function standalone and the forum will simply include its posts as static archived data. Right now, I’m doing that by periodically running the Google Import script, but think that I’ll soon instead configure incoming mail and subscribe the category to the Google Group list.
I have turned off enabled staged users. The users all show as active=false and staged=true.
If someone replies to a post, they get an email.
If someone PMs them, they get an email.
If I change the user’s staged status to false, they no longer get PMs, but they do still get notifications about replies to their messages. This seems like a fine behavior, and exactly what someone else was asking about just today, but this entity believes that they do not have permission to email these Google Groups users who have not created an account on the forum.
Maybe I can modify the import script and/or make a plugin that will do something like make all active=false users automatically set to staged=false? Maybe I set the archive category so that it cannot be watched (in a plugin, I guess)?
For the record, here’s how staged users are supposed to be treated:
This is a very old topic and the thing that I was doing when I wrote this is no longer possible.
It looks like I added that function to the script that was importing the users. If that’s something that you want to happen for some reason, then you likely need a plugin to do it. Describe what’s happening that’s creating the staged users that you don’t want to receive email; you’ll likely need to update whatever it is that’s doing that to run a script like the one I included. If you need a custom plugin to do that, you can post in Marketplace or contact me directly.