[deleted] so u mean something that obscure email? sure i can implement this also in this extension

or u want a field to put your custom regex from backend?

    [deleted]

    0.1.4

    • Fixed 0.1.3 version that was not compatible with flarum keywords extension (now works fine).
    • Admin can now choose to automatically mask all email address posted into flarum discussion.


    Updating

    composer update justoverclock/flarum-ext-purify:"*"
    php flarum cache:clear

    not sure how can i implement a custom regex field, because i need to decide the function that regexp must have, so i need to replace what/with what?

    stimw Friends of Flarum do better extension so my advice is that if fof filter fits your need, go directly to this! 👍🏻

    I’m working on a custom regex that replace “custom-regex” simply with ********* or [obscured]…as u like [deleted]

    @[deleted] currently i've done a custom regexp field

    as u can see in the example anyone can write your own regexp without including the initial / and flags (that actually match every words in both upper and lowercase

    in the example above the output is:

    /(marco|flarum|extension)/gi (that match these 3 words).
    so u can replace that part with your own regexp (marco|flarum|extension)

    Do you think this can be an acceptable solution?

    regexp is replaced with [Purified] that is completely customizable with translations (like ******, [hidden])

    0.1.5

    #Changes

    • Admin can now setup a custom regular expression

    Updating

    composer update justoverclock/flarum-ext-purify:"*"
    php flarum cache:clear
    5 days later

    OneQUICKSuggestion : Is it possible to auto flag and hold post for approval when post contains that words.

      4 days later

      A crazy idea to extend
      Replace words.

      Example:
      When the user types: You are a idiot person
      This extension replace to: You are a good person.
      😃

        2 months later

        Just a small note that enabling purify with empty fields will break the quote highlighting feature.

          2 months later
          3 months later

          Purify is a great extension and would be even better if it filtered any bad words in the discussion preview, when the Synopsis extension is used.

            Today I disabled the extensions one by one in my forum and with the logic of elimination, I realized that the following problem was this add-on. Please see the gif image below.

            We click on the login or register button on the talk page and no link is working on the pop-up. Password reset and sign up links are broken.

            If you are wondering about the link to my site, contact me via telegram. A long time ago, I decided not to share my link on the forums.