[nodebb-plugin-beep] NodeBB Censor Curse Words Plugin
-
@faizanzahid open issues on the plugin page on github
-
Hi guys,
We urgently need this plugin. Is this plugin compatible with node bb current version?
I remember it used to redirect in infinite loops if a * comes in URL. Has this fixed?
-
Should be ACP->Plugins Menu after you install, activate, restart, and rebuild
-
I am using the latest version of the beep plugin 0.4.2 on the latest version of NodeBB 1.12.2. I have one issue with the beep plugin regarding old topics which were created before I migrated my site to NodeBB which have words which should be censored.
Newly created topics are censored with the beep plugin just fine. In the MongoDB the beep plugin actually saves topics with the censored words, so e.g. "title" : "Ps test censor" or "slug" : "123/ps-test-censor" is persisted in the database. Posts are obviously not modified by the beep plugin in the database but on the fly. Queries on the DB show the full non censored words in all posts be it old or new posts. Old and new posts are correctly censored by the beep plugin on the fly during browsing of NodeBB forum.
To fix this, post processing must be run on all topics in mongodb to modify "title" and "slug" applying the current beep censor rules.
Fortunately, I did not have that many topics to fix, so a quick manual fix is to just open each offending topic once, editing the topic as admin and saving it.As a future improvement of this plugin, it would be very nice to have a simple button in the admin panel which runs a post-processing script for the above issue. This would be especially helpful on any change of the censor words down the line.
-
-
-
@baris Can we adjust this plugin so the regex isn't so greedy? By this, I mean a three letter word (considered profane) I want blocked is still detected as being part of "Institute" for example. Another would be "Scunthorpe" but obviously I'm not going to highlight the word I'm looking to block in that one
-
@phenomlab said in [nodebb-plugin-beep] NodeBB Censor Curse Words Plugin:
@baris Can we adjust this plugin so the regex isn't so greedy?
Maybe more interesting to have a dictionary filter filter instead of regex?
https://www.npmjs.com/package/bad-words-next
Amazing plugin though
-
Hello @baris
thanks for the update.
Would it be possible to delete the entire URL rather than just the domain ? Or maybe have the possibility to add a /* to an URL to ACP
Example here a user posts a complete link but only the URL with the domain is deleted.
ACP:
On a post :