Littlegolden direct message
FriendsOfFlarum Filter
- Edited
Using this extension on my new Anime/Manga forum, keeps the trolls at bay!
- Edited
Ralkage HCan I share the forum URL? I am glad that if I can join the forum, I am also some anime enthusiast.
So the issue @danielunited was having turns out to be an oversight on my part. The current way I have text being entered doesn't allow for languages that are read right to left (Hebrew, Arabic, etc). I'll be fixing this soon.
[deleted]
- Edited
<b>Warning</b>: preg_replace_callback(): Empty regular expression in <b>/www/wwwroot/bbs/vendor/fof/filter/src/Listener/FilterPosts.php</b> on line <b>136</b><br />
This problem caused me to pop up an error message when I published my reply. I thought it was unsuccessful to publish. After refreshing the page, I saw that it had been published
[deleted] thanks for the report. You can silence that warning by modifying the PHP configuration. It's recommend to hide notices/warnings/errors from the page output in production.
- Edited
【Q&A】
If the filter word contains special symbols(such as -=/*-+), will cause an error when posting, but the console and log will not print any errors and your post has been successfully sent.
e.g.
ha/te, lo-ve, fi*ter
Solution
Use escape characters before special symbols
ha\/te, lo\-ve, fi\*ter
- Edited
Feature suggestions
Maybe there can be a function, after posting, the filter words in the post will be replaced with the *, and then the post will be published, so that the post won't need to be approved.
Yes, there is a need for the function of approve. Maybe a switch can let users switch between these two modes.
And It would be nice if the filter term supports regular expressions:
f.{0, 2}k, di+
It is best to automatically highlight grammatically incorrect filters in the filter list. . . I pasted 3k+ sensitive words from the Internet. I have formatted them as "filterWord, filterWord, filterWord", but I still get errors when I post. . .
Kyrne The current way I have text being entered doesn't allow for languages that are read right to left (Hebrew, Arabic, etc). I'll be fixing this soon.
Hey, when do you think a fix will become available?
Not sure whether it is related to FreeFlarum. I tried the FoF Filter just now and the whole nomencleture changed across the ACP and front end. Please see
Admin Panel
I have uninstalled it for now from Free Flarum ACP. @Sanguine suspects this has to be something related to the plugin. Will it be possible to help find me a fix ? Thanks.
[deleted]
meetdilip Can you try to enable fof/filter
, then disable and re-enable the English language extension ? I've seen this a few times myself, and this normally fixes it.
[deleted]
meetdilip Hmm.... Odd...
Not sure here to be honest.
It is ok. thanks for trying.