Skip Navigation

[Résolu] Profanity Filter

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Profanity Filter
Solution:
There is no such feature available to perform a check or integrate with something with Akismet - its needs pure custom programming that is eventually beyond the scope of our support policy.

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/profanity-filter/#post-630807

Relevant Documentation:

This support ticket is created Il y a 6 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 6 années et 8 mois.

Assisté par: Minesh.

Auteur
Publications
#630628

Hi I am looking to add a profanity filter to CRED forms.
We have a website that allows users to add multiple custom posts.
We want to make sure they can't add explicit content, spam or malware.

Is there a way to perform a check or integrate with something like Akismet in order to get this achieved?

Thank you

#630807

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no such feature available to perform a check or integrate with something it with Akismet - its needs pure custom programming that is eventually beyond the scope of our support policy.

However - CRED offers hooks to validate your form - where you should add your custom validations or do whatever process you need:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate

Further - CRED also offers hook "cred_before_save_data" if you want to process your data before you save it.
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_before_save_data

At last CRED also offers to filter your content where you can setup allowed tags by users:
=> https://toolset.com/documentation/user-guides/content-filter-settings/

These are the available possible option that may help you.