Rules can be used to automate the moderation of comments. Go to Console → Settings → Rules to manage rules of your website.
This of rules as a if
condition.
Hyvor Talk has the following rule types:
string
string
string
number
number
number
number
A value is given by you to match with the data of that type. If the match is successful, the given action will be executed.
All the numerical values should be equal to or greater than 0.
String values allow you to define multiple comma-separated values. Each value can contain any
valid PCRE regex. However,
if you use regex, limit it to basic regex, such as *
, .
, and
[0-9]
, to avoid conflicts. String matching is case-insensitive. Examples:
hello
- matches if the value is hello
hel.*
- matches if the comment contains a word that starts with
hel
hello,hi
- matches if the comment contains the word hello
or
hi
There are 4 actions for each type.
See moderation docs to learn more about comment statuses.
Rules are executed on each comment based on the priority. High priority rules will be executed first. If a rule is matched and the action is called, the other rules are ignored.
Here are some common use cases of moderation rules.
When a comment matches a rule, we keep a record of it. You can see these in Console Comments section along with each comment.