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.

CommentFileSizeAuthor
#6 watcher-848914-6.patch3.14 KBmr.j
#4 watcher.db_.inc_.patch2.82 KBmr.j

Comments

scalp’s picture

You could delete his account and just add an access rule that blocks that user's email address so he couldn't join again.

solipsist’s picture

mr.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.

mr.j’s picture

I'll look into it. Our D6 upgraded site is only in development at the moment so it shouldn't be too difficult.

mr.j’s picture

Status: Active » Needs review
StatusFileSize
new2.82 KB

Done. 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.

mr.j’s picture

Version: 6.x-1.3 » 6.x-1.4

Same patch needed for 6.x-1.4

mr.j’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new3.14 KB

Patch against latest 6.x-1.x-dev release.