- Edited
[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] 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?
Justoverclock Both
[deleted] this is a nice feauture, i will work on this
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?
Great! I have to make a choice between fof/filter and this one.
@[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])
#Changes
composer update justoverclock/flarum-ext-purify:"*"
php flarum cache:clear
OneQUICKSuggestion : Is it possible to auto flag and hold post for approval when post contains that words.
1Dot not planned at moment
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.
Walys in admin panel you can use your own regexp to replace anything
Just a small note that enabling purify with empty fields will break the quote highlighting feature.
doublethinker i will fix this asap thanks
doublethinker can you try ### 0.1.6?
Justoverclock cool didn't expect such a fast turnaround time! Seems good!
Amazing! It's working now. Thank you for the quick update @Justoverclock
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.
DavecUK I will work on that
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.