Spam protection

Property

Type

useBadWordsList

boolean

useBadWordsListOnUsername

boolean

useBadWordsListOnMailAddress

boolean

badWordsList

string

hiddenFieldSpamProtection

boolean

hiddenFieldName

string

hiddenFieldClass

string

useBadWordsList

Property

useBadWordsList

Data type

boolean

Default

1

Description

Enables or disables the usage of bad word list. This option just checks the entered comment message.

useBadWordsListOnUsername

Property

useBadWordsListOnUsername

Data type

boolean

Default

1

Description

If enabled performs bad words check on entered username. This option may be activated seperately from useBadWordsList option.

useBadWordsListOnMailAddress

Property

useBadWordsListOnMailAddress

Data type

boolean

Default

0

Description

Same like option useBadWordsListOnUsername, just for the entered email address.

badWordsList

Property

badWordsList

Data type

string

Default

EXT:pw_comments/[...]/badwords.txt

Description

Defines the path a bad word list containing regular expressions (one in each line).

hiddenFieldSpamProtection

Property

hiddenFieldSpamProtection

Data type

boolean

Default

hiddenFieldSpamProtection

Description

If enabled an additional hidden field will be added to the comment form. If this field is filled (for example by a bot) the comment will not be saved.

hiddenFieldName

Property

hiddenFieldName

Data type

string

Default

authorWebsite

Description

Field name of the hidden field (type="input")

hiddenFieldClass

Property

hiddenFieldClass

Data type

string

Default

hide_initally

Description

CSS class for hiding the field