Notify user when certain words appear in posts

Use Case: simply saying thank you to someone who has posted on a topic that was missing or lacking within a forum. As in, “hey, thanks for your insightful post on Mars. We’ve been hoping someone would shed some light on this subject here at the Planets Forum”

2 Likes

As to the Actions that could be initiated upon a word/phrase match, what are the reasonable possibilities?

  • send an email notification to Admin(s)?
  • record the match in a CSV file (timestamp, match phrase, URL of the post)
  • Other?

Also, is the ability to establish “watch words” for Admins only, or possibly other TL’s?

1 Like

The actions being considered right now are:

  • Block the post
  • Flag as inappropriate
  • Require approval for the post

I think what @ked wants to know is would it be hard to also just give a notification when such posts occurred? Or do you think that having the messages flagged is just as effective? My concern is that we don’t want messages with “good” watched words in them to be hidden or otherwise marked as “bad,” but instead be able to take action with that person (“thanks for asking about the thing I care about, I can help”).

1 Like

So you want a global site setting (vs a per-user setting) to send a notification to someone (moderators? admins?) when certain “good” words appear in posts?

1 Like

I thought that these were all global settings, so I thought that the idea was that this was for admins only.

But yes, the “keyword alerts” feature that you describe is what @ked is looking for. As far as he’s concerned, having it available only to admins (read: him) would be sufficient.

I think the question is that if what he wants is “keyword alerts” would it be possible to coerce the block/flag/require approval scheme that you’re suggesting to provide admin-only keyword alerts?

As covered in the other topic, I think this approach is quite flawed.

A better approach is saved searches, as in

  1. Do this search (ordered by date)
  2. When there are new matches in the search…
  3. PM me a summary (if many matches)

This gives you complete flexibility as you have the entire power of the search engine, and you can determine how often it runs, etc.

Also all we need to do is store date the last search was run, and the highest (most recent) date of search match. So it’s pretty simple from a data storage perspective.

6 Likes

Seems like a great approach to me!

A couple of possibilities/thoughts:

  • a way to delete searches no longer of interest would be handy
  • what would be the best way to regulate the timing of the searches?
  • could there be an optional tie to the Data Explorer plugin (assuming it’s being used of course) that could be leveraged in conjunction with this feature?
  • as for the UI, I very much like the use of a column-sortable Table
2 Likes

This looks like exactly what @ked is looking for. Is this feature on the timeline?

@neil is working on it now, as a plugin.

3 Likes

If there were a way for users to have a topic list tab for saved searches, that may also be a way to address this feature request.

hi @neil, was this ever completed? I have a use case now where a member of my CISO team is responsible for answering questions on GDPR. It would be much easier for him to get a notification / PM when someone mentions it instead of me doing it for him.

1 Like

Yes, @awlogan it was implemented in the Saved Searches plugin. It’s installed here on meta, so have a look in your user preferences and look in the “Saved Searches” section.

6 Likes