Blog comment spam fighting

| | Comments (0)

這兩個 MT plugin 不錯
bayesian 用 bayesian 的方式訓練, 使 MT 能識別 comment spam
scode 在 post comment 時, 會出現一張被干擾的數字圖片, 必須輸入輸入裡面的數字才能 post

剛裝了 bayesian plugin, 步驟如下面的 script
最後再用 http://your.host/path_to_mt/bayesian-init-db.cgi 設定一下即可, 設完後刪除 bayesian-init-db.cgi
使用 http://your.blog.com/path_to_mt/mt-bayesian.cgi 來 train MT

#!/bin/sh
MTDIR=/home/pank/public_html/mt
cp mt-bayesian.cgi bayesian-init-db.cgi cleandb* $MTDIR
cp mt-bayesian.pl $MTDIR/plugins
cp Bayesian.pm BayesianBlog.pm BayesianToken.pm $MTDIR/lib/MT
cp BayesianTrain.pm $MTDIR/lib/MT/App
cp bayesian_menu.tmpl bayesian_list_blog.tmpl bayesian_list_comments.tmpl bayesian_list_pings.tmpl $MTDIR/tmpl/cms

ref.
http://mt-plugins.org/

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on November 29, 2004 11:44 PM.

sed edit files in place was the previous entry in this blog.

awstats is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.