News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

notification of removed topics

Started by RFD, February 04, 2020, 10:07:43 AM

Previous topic - Next topic

RFD

when a topic is removed, all users who are watching that thread, who that expect email notification, are email notified of the thread's removal.  in many instances this is not a good thing, particularly for selective threads that are many many years old.

is it possible to stop user email notification of selectively removed threads?

Kindred

I don't think that is standard behavior
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

I believe only the topic starter is notified of moderation actions on the topic not all users watching the topic.

RFD

Quote from: Illori on February 04, 2020, 03:07:15 PM
I believe only the topic starter is notified of moderation actions on the topic not all users watching the topic.

i did testing on a live system (smf 2.0.15) and everyone gets an email if the thread is removed.  this can, and has, caused a number of issues with users, particularly if the thread is many years old.

Sir Osis of Liver

You could try setting up an archive board that's visible only to admins, move the topic there instead of deleting it.  Don't think that would trigger a notification email (haven't tried it).  Would also give you the option of restoring the topic if you ever wanted to.

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Kindred

Seriously... I have never seen this behavior
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

RFD

Quote from: Kindred on February 04, 2020, 04:05:10 PM
Seriously... I have never seen this behavior

trust me, it's happening big time ... and we're constantly getting emails from users subscribed to those threads.

RFD

Quote from: Sir Osis of Liver on February 04, 2020, 04:04:49 PM
You could try setting up an archive board that's visible only to admins, move the topic there instead of deleting it.  Don't think that would trigger a notification email (haven't tried it).  Would also give you the option of restoring the topic if you ever wanted to.

worth a try, i'll test it out now ....

Shambles

Quote from: RFD
i did testing on a live system (smf 2.0.15) and everyone gets an email if the thread is removed.

Does that installation employ a recycle board for deleted topics?  If not, try setting one up.

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

RFD


RFD

Quote from: Sir Osis of Liver on February 04, 2020, 04:04:49 PM
You could try setting up an archive board that's visible only to admins, move the topic there instead of deleting it.  Don't think that would trigger a notification email (haven't tried it).  Would also give you the option of restoring the topic if you ever wanted to.

nope, i created an Admin board on the LA forum and moved over a thread that had a post by a non-admin test user (me) without a board redirect notice, and i got an email (as the test user) that the thread was moved.

Illori

did your test user create the topic? if so that is why they got the email.

RFD

Quote from: Illori on February 04, 2020, 04:22:25 PM
did your test user create the topic? if so that is why they got the email.

no - i made sure of that, the test user was a poster on someone else's thread.  i created a test user login, so as admin i had control of the entire test ...

there was a old thread about 6 posts deep that the test user (me) added the 7th post.  i (admin) made the 8th post.  the test user (me) got an email that the thread was updated (due to the admin post).  then i had the test user make a 9th post and the admin created a dump board with admin permission only, moved the thread to the dump board (with no board redirect) and the test user got an email about the board move.

Sir Osis of Liver

Are you seeing this behavior on more than one forum?  Only problematic mod I see at TG is Tapatalk, but don't recall it's ever caused something like this.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

RFD

Quote from: Sir Osis of Liver on February 04, 2020, 04:58:22 PM
Are you seeing this behavior on more than one forum?  Only problematic mod I see at TG is Tapatalk, but don't recall it's ever caused something like this.

been happening on the TG forum for perhaps a year or so, and i just did my testing on the LA forum.  i'll test it out on the BP forum ...

Illori

'notification_remove' => array(
/*
@additional_params: notification_remove
@description:
*/
'subject' => 'Topic removed: {TOPICSUBJECT}',
'body' => 'A topic you are watching has been removed by {POSTERNAME}.

{REGARDS}',


Sources/RemoveTopic.php

// Notify people that this topic has been removed.
sendNotifications($topic, 'remove');


that is on line 73/74

just comment out the sendNotifications line with // in front of it and no one will get that email.

Sir Osis of Liver

Tapatalk isn't installed on BP, but 'List Of Users In Forum/Board/Topic' mod is on both.

Would be interesting to know what's causing this, no one's reported it previously afaik.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

RFD

Quote from: Illori on February 04, 2020, 05:05:38 PM
'notification_remove' => array(
/*
@additional_params: notification_remove
@description:
*/
'subject' => 'Topic removed: {TOPICSUBJECT}',
'body' => 'A topic you are watching has been removed by {POSTERNAME}.

{REGARDS}',


Sources/RemoveTopic.php

// Notify people that this topic has been removed.
sendNotifications($topic, 'remove');


that is on line 73/74

just comment out the sendNotifications line with // in front of it and no one will get that email.

excellent!  thank you very much!

Shambles

@Illori Didn't you already make this statement...?

Quote from: Illori
I believe only the topic starter is notified of moderation actions on the topic not all users watching the topic.

I believe this would resolve the issue:

Quote from: Shambles on February 04, 2020, 04:12:50 PM
Does that installation employ a recycle board for deleted topics?  If not, try setting one up.

Advertisement: