Mecha CMS

Add extra functionality to the core engine.

Comment Guard

Basic security for the comment extension.

Download Version 1.0.0 Download Development Version

Something looks broken? We accept bounties to fix them faster.

This extension prevents users from publishing a comment based on certain criteria. For example, preventing users from writing more than five links in comments, blocking users coming from certain IP or email addresses, preventing users from writing certain words or sentences in comments, etc.

  • Write email addresses of the users you want to block in the .\lot\x\comment.guard\email.txt file, each separated by a line break.
  • Write IP addresses of the users you want to block in the .\lot\x\comment.guard\ip.txt file, each separated by a line break.
  • Write a few words that you want to block in the .\lot\x\comment.guard\words.txt file, each separated by a line break. This file is not case-sensitive.