« Bonfire Update | Main | Bonfire of the Vanities - Week 15 »

Neat Tricks With MT-Blacklist

Jay Allen's MT Blacklist is a Swiss Army knife for comment and trackback content management as well as a spam killer. Here is another way you can use it at your site:

Comment and Trackback Filtering

Look at the instructions on the comment form at ScrappleFace:

Please Note: ScrappleFace readers are intelligent enough to express themselves without obscenities. ScrappleFace endeavors to be suitable for all ages. If an obscene interloper posts here, please report the incident to the blogmaster who will delete the comment.
With MT-Blacklist you are not limited to banning spam URL's from comments. Entering words in the Blacklist will render those words as blocked on your comments and trackbacks. With MT-Blacklist you can automatically enforce your obscenity policy!

If you just want the content filtering and don't need the default blacklist entries use the http://MT_CGI_PATH/mt-blacklist.cgi?__mode=remove_all URL (documented in the README) to empty the blacklist prior to adding your banned word list.

Build your list of banned words using the Add function of the MT-Blacklist configuration screen.

To ban the word viagra in all trackbacks/comments enter:

viagra

In the Add list.

You can ban all forms of the word viagra with the following syntax ( The ".+" indicates any characters):

.+viagra.+

Replace viagra with the obscenity of your choice.


TrackBack

Listed below are links to weblogs that reference Neat Tricks With MT-Blacklist:

» OUTSIDE THE BELTWAY linked with BLOG SPAM TERMINATOR

» Rocket Jones linked with Rocketing Around the Blogosphere

Comments (2)

Kevin,You rock. I f... (Below threshold)

Kevin,
You rock. I followed your instructions, added "+.vaigra+." (sic) and, what do you know, presto-wamo, my comment spammer friends have a new little greeting!

For those of you who are feeling intimidated by the install. Don't. It is fairly straightforward (although the edit permissions and directory creation steps took longer than it should have).

(Note: All GRR's should be ... (Below threshold)

(Note: All GRR's should be ignored in this post. They were inserted to avoid being caught by MT-Blacklist. Kevin, check out your Activity log to see how many times I had to try to post this...)

Actually, Kevin, viaGRRgra and .+viaGRRgra.* are redundant. They both catch and submission with the string viaGRRgra in it...

Speaking, of which, your blacklist it doing just that which probably isn't what you want. Instead, try this one:

(phentGRRermine|viaGRRgra|viGRRg-?rx)[\w\-_.]*\.[a-z]+

This one blocks submissions including only DOMAIN NAMES with phentGRRermine, viaGRRgra, viGRRgrx or viGRRg-rx in them.




Advertisements









rightads.gif

beltwaybloggers.gif

insiderslogo.jpg

mba_blue.gif

Follow Wizbang

Follow Wizbang on FacebookFollow Wizbang on TwitterSubscribe to Wizbang feedWizbang Mobile

Contact

Send e-mail tips to us:

[email protected]

Fresh Links

Credits

Section Editor: Maggie Whitton

Editors: Jay Tea, Lorie Byrd, Kim Priestap, DJ Drummond, Michael Laprarie, Baron Von Ottomatic, Shawn Mallow, Rick, Dan Karipides, Michael Avitablile, Charlie Quidnunc, Steve Schippert

Emeritus: Paul, Mary Katherine Ham, Jim Addison, Alexander K. McClure, Cassy Fiano, Bill Jempty, John Stansbury, Rob Port

In Memorium: HughS

All original content copyright © 2003-2010 by Wizbang®, LLC. All rights reserved. Wizbang® is a registered service mark.

Powered by Movable Type Pro 4.361

Hosting by ServInt

Ratings on this site are powered by the Ajax Ratings Pro plugin for Movable Type.

Search on this site is powered by the FastSearch plugin for Movable Type.

Blogrolls on this site are powered by the MT-Blogroll.

Temporary site design is based on Cutline and Cutline for MT. Graphics by Apothegm Designs.

Author Login



Terms Of Service

DCMA Compliance Notice

Privacy Policy