Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: NV on October 03, 2003, 06:24:00 AM

Title: Report to Admin if certain words are used
Post by: NV on October 03, 2003, 06:24:00 AM
Just had this 'brainwave',  don't know if it exists yet.

Would it be possible to automatically send a notification to Admin if certain word(s) in a message were being used by members.

Like a censored list, an Admin could insert and modify words (or phrases) in a 'report list', like e.g. "dead, "kill" etc. and then if these words were used in a message the Admin would be notified.
Title: Re:Report to Admin if certain words are used
Post by: Ben_S on October 03, 2003, 06:40:54 AM
This would be an excelent feature.

At the moment we could really do with such a feature with regards to this http://football.guardian.co.uk/News_Story/0,1563,1053827,00.html (http://football.guardian.co.uk/News_Story/0,1563,1053827,00.html)

Would be one of the best feature in the board I think..
Title: Re:Report to Admin if certain words are used
Post by: Tony Reid on October 03, 2003, 07:21:01 AM
It would be a great feature!

Title: Re:Report to Admin if certain words are used
Post by: klumy on October 03, 2003, 07:23:07 AM
sounds nice to me ;)
Title: Re:Report to Admin if certain words are used
Post by: James Woodcock on October 03, 2003, 07:38:09 AM
Yeah I agree this deserves a place in standard install
Title: Re:Report to Admin if certain words are used
Post by: Metho on October 03, 2003, 07:50:41 PM
I dunno if standard...I most likely wouldn't use it. Would be a really easy mod, though. Just one more action added to the censored words check. ;)

Methonis
Title: Re:Report to Admin if certain words are used
Post by: dschwab9 on October 04, 2003, 12:19:26 AM
I dunno if standard...I most likely wouldn't use it. Would be a really easy mod, though. Just one more action added to the censored words check. ;)

Methonis

The sensored word check happens when the page is generated, the word is not changed in the database, so you would get an email everytime the post is viewed unless you had code to prevent that.
Title: Re:Report to Admin if certain words are used
Post by: Tyris on October 04, 2003, 10:01:09 AM
it'd be fine if it was checked when it posts... part of the posting function, if a rude word is detected the email is dispatched, then its irrelevant of the load function.