bad words

3 years 6 months ago #320810 by ericmuc
bad words was created by ericmuc
Hi,
I am using a huge bad word word list and realize, that the field group with some groups and all fields with the bad word filter need a time to open in front end edit modus. Moreover the bad words are seen in the html code and a bad user can search for possible words which are not in the list.

Do you have an idea, how I can implement a bad word list with using a mysql table and code field validation in CB? Or do you have another idea, how to mask the list and makes it quicker?

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 6 months ago #320812 by krileon
Replied by krileon on topic bad words
How are you adding a bad words list filter as is? Just using the Forbidden Words validation parameters? Those aren't particularly meant for a full bad words filter list since they're per-field and not global list it would result in a lot of duplicate forbidden words output in the HTML.

Since you're wanting to use a database table for the bad words filter list you could use CB Query Field. Like CB Code Field it too provides validation parameters. Specifically Query Validation, which can be used to check a fields value against a database using a custom database query. That'd probably be the easiest approach otherwise it gets a lot more complicated with CB Auto Actions acting on field storage to filter things out.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.172 seconds