Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am wanting to user Drupal chat on my site but need a moderations list. I've found the stop word list and user stop word list is enabled in the variables but it doesn't do anything. How do I get this moderation list working. Also what is the behavior if someone uses one of the words on the list?
Comments
Comment #1
darklrd CreditAttribution: darklrd commentedHi danielson317,
Which polling method are you using?
Thanks
Comment #2
danielphenry CreditAttribution: danielphenry commentedHowdy,
I am using the ajax method at the moment. I would eventually like to move to the node.js but that's probably a little ways down the road.
Comment #3
darklrd CreditAttribution: darklrd commenteddanielson317, stop word list is only available for "iFlyChat" polling method at the moment. Thanks.
Comment #4
danielphenry CreditAttribution: danielphenry commentedIn that case may I recommend this code snippet to future users who need chat moderation in the ajax system. It's pretty simple but did the job I needed.
paste into .module file around line 720. after:
foreach ($messages as $message) {