Dashboard > blojsom 3.0 > ... > Plugins > Link Spam Moderation Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Link Spam Moderation Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 09, 2007  (view change)
Labels: 
(None)

Availability

Available as of blojsom 2.25.

Description

The link spam moderation plugin checks for hyperlinks within comments and trackbacks. If the number of hyperlinks found within the response exceeds a specified threshold, the comment or trackback can be moderated or deleted automatically.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="linkspam" class="org.blojsom.plugin.moderation.LinkSpamModerationPlugin" init-method="init" destroy-method="destroy">
        <property name="eventBroadcaster">
            <ref bean="eventBroadcaster"/>
        </property>
    </bean>

The following properties can be set from Weblog Settings | Properties | Set Property

Property Description Default value
linkspam-comment-threshold # of links as threshold for comments. 3
linkspam-trackback-threshold # of links as threshold for trackbacks. 3
delete-linkspam Determines if the comment or trackback should be deleted automatically if it exceeds the link threshold. false

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators