Auto removal of notifications when removed from group

Permalink
Hi there,

When I remove people from a group (where they are subscribed to a discussion), they are still getting notifications of new messages/discussions – is there an option to auto-remove these notifications once they are removed from the group?

Any pointers would be much appreciated!
gnyma
View Replies:
GregJoyce replied on at Permalink Reply
GregJoyce
I think what you are describing is that you need to be in a particular group in order to view a forum, but when users leave the group with rights to a forum, they are still sent notification emails on discussions they were monitoring?

It doesn't look like there is any check in the notification code to see if the user has rights to that area of the forum right now. I will mark this is a bug and we will try and get a solution in the next version. It looks like the change will only be in the discussion_track model so I can probably give you a patch. Please open this as a support request and I can attach the file to use as an override there when it is created.
gnyma replied on at Permalink Reply
gnyma
Yes Greg! How do we auto unsubscribe them whenever they're taken out of the group?


Amy
GregJoyce replied on at Permalink Reply
GregJoyce
Hi Amy,
This is actually kind of a tricky problem due to how page permissions and determining what a user who is not actually logged in and actively trying to access that page works in the core functionality of concrete5. So this is something we are working on and we should have a solution to the problem reasonably soon (about a week or so).
GregJoyce replied on at Permalink Reply
GregJoyce
Hi Amy,
The add-on has just been updated to 1.7.2 so you should be able to update and now people who are monitoring discussions they are not allowed to view will no longer be sent the email.
gnyma replied on at Permalink Reply
gnyma
Thanks Greg!

I'm using Concrete5 5.4.1.1 and the Discussion block is 1.6.1-- will the update break my site? (I haven't been updating the plugins as well as I have!)
GregJoyce replied on at Permalink Reply
GregJoyce
Hi Amy,
No it should not break your site. I suggest you also update concrete core. You want to stay up to date. Where people run into problems is actually not updating sites and then they have a big hurdle to get to the most recent version.

If you are concerned about data corruption, your webhost should have some option for creating a database backup for you. Generally you can do this yourself through whatever site management suite they are using, like plesk or cPanel.