Typecho intelligent comment filtering plug-in: SmartSpam - Yovi's Blog

Typecho intelligent comment filtering plug-in: SmartSpam

Update log

  • SmartSpam_v2.7.0 @ 2021-03-08
    Support setting of tourist comments
    Fix compatibility issues when using with interface plug-ins.
    Thanks to netizen Zeze for providing

  • SmartSpam_v2.6.0 @ 2014-10-18
    Add detection of publisher's website!

  • SmartSpam_v2.5.0 @ 2014-08-30
    Add the function to check whether the comment content contains the article title, which is very useful for robots!

  • SmartSpam_v2.4.0 @ 2014-08-27
    Add the detection of nickname keywords. If the nickname contains a keyword, the comment fails; Add detection for email address.

  • SmartSpam_v2.3.0 @ 2013-12-18
    After a recent period of observation of spam comments, we have specially increased the detection of nicknames, including the limit on the length of nicknames and the filtering of web addresses for nicknames.

  • SmartSpam_v2.2.0 @ 2013-12-01
    Add the detection of comment nicknames in Japanese, which can prohibit nicknames from containing Japanese characters.

  • SmartSpam_v2.1.0 @ 2013-11-06
    Add the detection of prohibiting Japanese comments, which can allow and prohibit Japanese comments. The main reason for this improvement is that on the basis of the previous version, there are often a lot of junk comments in Japanese, and many of them are about 1-2 comments per day.

  • SmartSpam_v2.0.0 @ 2013-06-02
    Add detection of comment character length. This function is mainly used to find that most garbage comments will input a lot of text, which is one of the characteristics of robots.

Plug in download

SmartSpam_v2.7.0
SmartSpam_v2.6.0
SmartSpam_v2.5.0
SmartSpam_v2.4.0
SmartSpam_v2.3.0
SmartSpam_v2.2.0
SmartSpam_v2.1.0
SmartSpam_v2.0.0

Plug in origin

Comment is one of the essence of blog, the most direct way of communication with others, and one of the important ways of interactive learning. However, the network is complex, and more corpses are rampant here. Bloggers have to often fight against these corpses and clean up their traces.

A responsible blogger will often pay attention to the comments in the blog, make targeted replies, and clean up some junk comments, which are often not very few. They are mainly left by some robots, but also man-made, mainly for advertising. The process of cleaning up spam comments is very offensive, because no one wants their blog to be disturbed by others.

There are two ways to block spam comments: 1) Turn off the comment function of the blog, which is not expected by ordinary people. 2) Limit comments, mainly using plug-ins. At present, on the Typecho platform, plug-ins are mainly used in the form of verification code, drag unlocking, etc. Either way, they all have one thing in common, that is, they increase the burden of effective reviewers while effectively shielding junk comments, because they have to do something unrelated to comments, and the user experience is poor.

In view of this, I wrote the SmartSpam intelligent comment filtering plug-in. With this plug-in, you only need to make some simple settings to automatically prevent the submission of garbage comments according to rules. Commenters do not need to do any additional operations. All comment filtering is intelligently handled by the plug-in. Currently, it supports: IP shielding, Chinese detection, Japanese detection, comment length detection, disabled words, sensitive words, etc.

According to my experience, it is recommended to disable Japanese comments and limit the number of comment characters. If the number of comment characters does not exceed 200, these two things are the favorite things for robots. In the past, this blog had hundreds of spam comments every day. After using my SmartSpam plug-in, there were almost no spam comments.

Interception statistics

According to the interception of SmartSpam plug-in from December 3 to 4, 2013, the statistical data are as follows:

Number of interceptions: 799 (0.56 spam comments per minute on average)
Number of false interceptions: 0 (normal comments will not be intercepted because the system has a prompt, and if it is artificial, comments will be modified according to the prompt)
Not intercepted: 4 (this is rare)
The interception success rate is 99.5% (the number is amazing)

The name of this plug-in is: SmartSpam As the name implies, it is an intelligent filtering plug-in. This plug-in was originally improved based on the CommentFilter optimization of ihan. If I have time in the future, I will maintain and update it for a long time. This page will update and release the latest version of the plug-in in real time. If you have any ideas and suggestions, please leave a message here.

/usr/themes/NexTSun/static/images/yovisun-weixin-share.jpg
Like( eighty-eight ) share
Statement: Original article, welcome to reprint, please Hyperlink Note in the form of author title and Original provenance View License Agreement
title Typecho intelligent comment filtering plug-in: SmartSpam | author :YoviSun
address https://www.yovisun.com/archive/typecho-plugin-smartspam.html
Related articles:
46 comments
  1.  Uncle Qin Uncle Qin

    Is this plug-in not updated

    1.  YoviSun YoviSun

      Not updated... There's no time... fifty-five thousand five hundred and fifty-five

      1.  Dirty dream Dirty dream

        Nothing Nothing, just use it

  2.  Ye Xiaoming's Blog Ye Xiaoming's Blog

    Thank you, boss. It's very practical [Hugging fist]

  3.  lattice lattice

    Downloaded and used, thanks for sharing~ [Sun]

  4.  Watching the Moon Watching the Moon

     [Showing teeth] It has just been downloaded and is said to be very useful.

  5.  Zeze Zeze

    Download version 2.7.0: https://qqdie.lanzous.com/i3vAcmohsne Password: cikr
    Support setting of tourist comments
    Fix compatibility issues when using with interface plug-ins.
    I updated it for you. The author's links are still yours. If it's convenient, you can update them into your articles [Showing teeth]

    1.  kanoer kanoer

      Lanzou Cloud changed its domain name, resulting in link failure. Change the lanzous in the link to lanzoux, and you can access it normally

      1.  Disorder and heart Disorder and heart

        Thanks for sharing!

  6.  Mid Autumn Mid Autumn

    It is really necessary to download from other blogs! There are always some letter comments, which are robots. Although my blog is unpopular, garbage comments are not welcome

  7.  Absurd Absurd

    My blog uses this plug-in, but it seems unable to filter effectively. It has been filtered from the IP segment, content, and mailbox levels, but the mailbox in the mailbox keyword can still be commented normally. What is the way to see the filtering log, or the debug mode to determine where the plug-in fails to take effect, and whether it may be caused by the template... [Coffee]

  8.  Weiyang Weiyang

    Thank you very much. Just keep updating slowly. Thank you for sharing with this circle.

  9.  vian vian

    Thank you, boss [Applause]

  10.  yu22c yu22c

    Thank the author. He has cooperated with BlockIP to kill the guy who brushes the screen

  11.  one one

    111 Yes

  12.  Xinghai Fish Traces Xinghai Fish Traces

    Thank you, boss [Smile]

  13.  Still silent Still silent

    Hello, I opened my own warehouse and updated 2.8.0 (in the PHP 8.0 and Typecho1.2 environments, it was found that if the text of an intercepted project was not specified, it would lead to a bug that the project could not be approved). You can take it if you need it.
    Neither the original author nor the link has been moved. The domain name 2.7.0 zezeshe is no longer used. It has been changed to a Chinese name

    https://github.com/ShangJixin/SmartSpam

  14.  Fleeting years Fleeting years

    Can I use this plug-in, boss

Add a new comment
 Select emoticon
Mobile phone scanning QR code access