请等待数据载入中...
Please wait until this screen is completely loaded.

风のBlog - 我的大杂烩

« 让Movable Type的日历链接到一天的文章 | 首页 | 图片的相对自适应(JS版) »

2006年07月22日

为减少垃圾评论添加了SCode

虽然Movable Type现在的防垃圾评论系统不错,但是发垃圾的人办法也多,我的blog每天都有百多条垃圾信息,虽然被过滤了大部分,但还是有部分漏掉了,影响我公开正常的评论。

原来就试过SCode,但是没装成功,应该是那时买的空间所在服务器没装SCode要求的组件吧。今天重新装过,开始有点问题,原来我没在mt-config.cgi设置tmp目录,只要把mt-config.cgi中

# TempDir /tmp/
去掉前面的#就行了。

最后修改单篇归档的模板,在适当的位置加入下面的代码:

<label for="scode">Security Code:</label><br />
<input type="hidden" id="code" name="code" value="<$MTSecurityCode$>" />
<img border="0" src="<$MTCGIPath$><$MTSecurityImage$>?code=<$MTSecurityCode$>"><br />
<input id="scode" name="scode" />

下载:
http://plugins.movalog.com/scode/manual

收藏此页到:365Key网摘   新浪VIVI   天极网摘   博采中心   YouNote网摘

Posted by luckywind at 2006年07月22日 下午03时47分 | English Version | Blog Home

Trackback Pings

TrackBack URL for this entry:
http://www.luckywind.net/cgi-bin/mt/mt-tb.cgi/545

Comments

Post a comment




Remember Me?



Copyright © O.CN, all rights reserved. 湘ICP备06007926号 
XHTML, CSS, 508, RDS, RSS 1.0, RSS 2.0, ATOM. Powered by Movable Type 3.33

我的邮箱:luckywind 网站地图 闲言碎语 游戏专区 新闻文章 推荐工具 技术新知 休闲娱乐 我的收藏 返回首页
风のBlog - 我的大杂烩 Articles catalogue

luckywind.net v 4_2