ContentBan

Ban posts or trackbacks based on whether or not they match one or more of a list of PCREs (Perl-Compatible Regular Expressions).

This plugin is similar to the IPBan plugin, in that it uses two ban lists, one per-blog list and one global list.  Each lists is a plain text file that is formatted as one PCRE per line.  Each line must be a full PCRE match expression, including delimiters and options.  So, for example, you might ban posts containing references to Viagra with an expression like this

/viagra/i

New expressions are added by editing the the ban files using the sidebar links.  Note that there is no syntax checking done on the files when they are edited, so you will get no warning if you enter a bad regex.  The only indication will be an error message displayed when someone attempts to post a comment or trackback.

Summary
ContentBanBan posts or trackbacks based on whether or not they match one or more of a list of PCREs (Perl-Compatible Regular Expressions).
Options
Ban list fileThis is the name of the file used to store the list of banned expressions.
Do not ban logged-inWHen this is enabled, users who have an account and are logged in will not be subject to having comments with banned content blocked.

Options

Ban list file

This is the name of the file used to store the list of banned expressions.  The format is Perl-compatible regular epxressions, one per line.

Do not ban logged-in

WHen this is enabled, users who have an account and are logged in will not be subject to having comments with banned content blocked.

Close