We had a user who was basically stalking another user a while back so we blocked him. Today I get an email from him complaining that he keeps getting email notifications from us. Rough justice I would say but nevertheless watcher should be excluding blocked users from the list of people who receive updates.
This is a problem on both 5.x and 6.x versions.
Related to this is that even though I am the site administrator I cannot view or edit another user's list of watched posts to turn them all off so I have to do it manually via the database.
As for why I don't just delete the user completely - I don't want him re-registering.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | watcher-848914-6.patch | 3.14 KB | mr.j |
| #4 | watcher.db_.inc_.patch | 2.82 KB | mr.j |
Comments
Comment #1
scalp commentedYou could delete his account and just add an access rule that blocks that user's email address so he couldn't join again.
Comment #2
solipsist commentedmr.j: Any chance you can write a patch? This should be possible to fix by adding an INNER JOIN to the SQL query that fetches the email addresses of the users watching.
Comment #3
mr.j commentedI'll look into it. Our D6 upgraded site is only in development at the moment so it shouldn't be too difficult.
Comment #4
mr.j commentedDone. It only notifies when a registered user has a status of 1 now. It doesn't affect anonymous notifications.
I patched 3 functions. The last one
_watcher_db_get_users_notify_about_node()is never called so I can't test whether it is correct or not.Comment #5
mr.j commentedSame patch needed for 6.x-1.4
Comment #6
mr.j commentedPatch against latest 6.x-1.x-dev release.