Moderation Rules

Moderation rules can be used to automate the moderation process. These rules are created, edited, and deleted in the Moderate -> Moderation Rules section in the console.

How does it work?

Think of these rules as if conditions.

If something (Type) matches a given value (Value), an action (Action) will take place.

Type
The type of the rule. Basically, defined what is matched to the condition. Hyvor Talk has 8 types, at the moment. Each type has one piece of data associated with it (Ex: User's name, comment, number of flags, etc.)

Value
A value given by moderators to match with the data of that type. If match is successful, the given action will be executed.

All the number values should be equal or greater than 0.

String values allow you to define multiple comma-seperated 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.

Action
There are 4 actions for each type.

  1. Keep pending for moderation
  2. Mark as spam
  3. Delete
  4. Approve

See comment moderation to learn more about pending, spam, deleted, and approved comments.

Priority
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.

Good to know:

  • Most of the rules are executed when publishing or editing a comment. Some are executed on other events such as upvoting, flagging, etc.
  • Moderation rules are executed only on unmoderated comments. For example, they are not executed on approved or deleted comments.

Rule Types

  1. Words in the comment matches: Checks if words in the comment matches given comma seperated words. Executed when user publishers or edits a comment. Action is called if one or more words matches. This rule can be used to restrict some words.

  2. Link domain matches: If any domain name of the links in the comment matches given values, the given action will be executed. This rule can be used to restrict several domains such as link shorteners to prevent social marketing through comments.

  3. User's name matches: Matches the value with the user's full name (not username).

  4. Number of links in the comment (more than): If the number of links in the comment is greater than the given number, the action will be executed. This rule can be used to prevent sharing many links in a comment.

  5. Number of comment flags (more than): Logged in users can flag comments. If the number of flags per comment is greater than the given number, the given action will be executed. Setting this rule is recommended.

  6. Number of downvotes (More than): Logged in users can downvote comments. If the number of downvotes of a comment is greater than the given number, the given action will be executed.

  7. Number of upvotes (More than): Logged in users can upvote comments. If the number of upvotes ofa comment is greater than the given number, the given action will be executed. This rule can be used to automatically approve comments that gets many upvotes.

  8. User's reputation (Less Than): All Hyvor users has a reputation in Hyvor Talk which is based on their contribution, upvotes, and downvotes. If the reputation is less than a given number, you can do something such as keeping comments pending for moderation. The reputation for new accounts is 0. Therefore, you can use this rule to manage comments by new users. Reputation of a guest commenter is also considered as 0.

If you set any of these rules, it is better to let your users (commenters) about that to avoid fustrations. We suggest you to add it "Comments Note" in the Comments Note.