Bad words list
On this tab, you can see a list of defined bad words. For each bad word, you can see the expression and the action to be taken when a user inputs the expression. In case that the Replace action is configured for a word, the replacement word is listed in the Replacement column.
The top part of the page is a filter. Using it, you can display only those bad words that match the specified criteria. You can filter by the Expression and by the Action that has been set for it. After specifying the filtering criteria and clicking the Show button, only those items that match the specified criteria will be displayed in the list.
Bad word properties
General tab
Bad word |
Bad word that should not appear in the text. |
||||||||||
Bad word is a regular expression |
If checked, you can also enter regular expressions into the previous field. |
||||||||||
Action |
Action that will be taken in case that the bad word is detected; the possibilities are:
Inherit from global settings - if checked, global value will be used as set in Site Manager -> Settings -> Bad words -> Bad word action |
||||||||||
Replace with |
In case that the Replace action is selected, substitute for the bad word is defined here.
Inherit from global settings - if checked, global value will be used as set in Site Manager -> Settings -> Bad words -> Bad word replacement |
The following table shows which of the actions are available for each of the supported modules:
|
Blog comments |
Forums |
Messaging |
Message boards |
||||||||
Remove |
|
|
|
|
||||||||
Replace |
|
|
|
|
||||||||
Report abuse |
|
|
|
|
||||||||
Request moderation |
|
|
|
|
||||||||
Deny |
|
|
|
|
In case that there is more than one bad word detected in input text and the words have different actions set, the actions will be taken according to their hierarchy. Remove, Replace and Report abuse actions are independent, i.e. the actions can be taken simultaneously. Request moderation is stronger than Report abuse and Deny is the strongest of all.
The following list shows which actions will be taken in some specific cases in order for you to easily understand the actions hierarchy:
• | Remove and Replace - the first one will be removed and the second one will be replaced with the defined substitute |
• | Remove, Replace and Report abuse - the first one will be removed, the second one replaced and an abuse report will be logged |
• | Remove, Replace and Request moderation - the first one will be removed, the second one will be replaced and the post will have to be approved |
• | Report abuse and Request moderation - the post will have to be approved and no abuse report will be logged |
• | Deny and any other - the text is left as it is, but produces an error message |
Cultural versions of bad words
You can set for which cultures will a certain bad word be used. If you choose to Edit () a bad word in the list in Administration -> Bad words and switch to its Cultures tab, you will be offered the following two options:
• | The word is not allowed in all cultures - the bad word will be filtered in all website cultures |
• | The word is not allowed only in following cultures - the bad word will be filtered only in cultures added to the list below |
Using the Add cultures button, you can add cultures to the list. The Remove selected button removes all cultures selected by the check-boxes from the list.
More information on the Bad words module can be found in Developer's Guide -> Modules -> Bad words.
Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?general_badwords.htm