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.

    16 days later
    • [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.

      【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

      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?

      a month later

      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

      filter word

      Admin Panel

      filter

      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] Thanks for the response.

          I tried enable / disable at least 3 times after enabling FoF Filter. It still looks the same.

          When I disabled the FoF Filter plugin the forum front end and back-end became fine.

            • [deleted]

            meetdilip Hmm.... Odd...
            Not sure here to be honest.

            meetdilip Perhaps try enabling flarum/lang-english after fof/filter ? Not sure why it'd matter in this case (it can in others) but just in case.

              datitisev enabling flarum/lang-english

              Where can I find that ? Among extensions, I see only " English ", which I toggled according to the previous instruction.

              Thanks.

                meetdilip That is the English extension. My apologies, I hadn't seen phenomlab's previous post, which suggested the exact same thing.

                  datitisev My apologies, I hadn't seen phenomlab's previous post,

                  You tried to help. That is awesome to me 🙂

                  @Kyrne forgive me if tagging was wrong. But some help here would be really great. Thanks.