Forum breadcrumbs – You are here:Asgaros Support ForumSupportProfanity filter?
Please or Register to create posts and topics.

Profanity filter?

PreviousPage 2 of 2

@olli

It replaces strings, so if those words appears in links as well, the link is modified and not working anymore.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I know this is an older post, but anyway you can mod the code to parse the post Subject also?

It only filters the content of the post.

Hello @tehnicus

You can try to filter the data before its getting saved into the database by using the following filters instead of asgarosforum_filter_post_content:

  • asgarosforum_filter_subject_before_insert
  • asgarosforum_filter_content_before_insert
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi @asgaros I’m having trouble censoring the subject even after trying the names you used above.

Would you be able to show the text code on how to implement those? Trying to make sure the Subject and Post are censored.

Thank you

Quote from Grover on December 15, 2021, 11:21 pm

Hi @asgaros I’m having trouble censoring the subject even after trying the names you used above.

Would you be able to show the text code on how to implement those? Trying to make sure the Subject and Post are censored.

Thank you

I have corrected the issue. Thank you

Asgaros has reacted to this post.
Asgaros
PreviousPage 2 of 2