« Protesting the Da Vinci Code | Main| Notes 7 Error »

Comment Spam Solution

QuickImage Category Spam

It seems the comment spammers are hammering folks who (like me) use the Blogsphere Template.

I wrote a series of articles for Lotus Advisor magazine (haven't finished the final one yet) regarding Human User Verification (HUV). The comment spam problem currently vexing users of the Blogsphere template is exactly the kind of thing HUV is designed to combat. If you are interested, the articles are:

  1. Add Human User Verification to Your IBM Lotus Domino Web Pages
  2. Add Advanced Human User Verification to Your IBM Lotus Domino Web Pages
  3. Fine-Tune Web User Access to Your IBM Lotus Domino Web Pages

Implementing HUV in the Blogsphere (or any Domino blogging template) should be a piece of cake. I have been planning on signing on as a cook for the Blogsphere template and adding this capability; but I've been so busy with getting the house ready to sell I just haven't had the chance. I'll try to get to it in the next few days, and post the enhancements to OpenNTF (as well as here). (Perhaps this would make a good SNTT posting.) In the meantime, the quick fix (via Rocky from Duffbert & Chris Byrne) is to add a SaveOptions field to the Web - Edit Comments form with the formula of:

@If(HTTP_Referer="" | txtParentUNID="";"0";"1")

-Devin

Comments

Gravatar Image1 - Just finished a chat with Bruce. He referred me to this:
https://www.openntf.org/Projects/pmt.nsf/894fe3a057d40c2885256bae003d7dd6/c04e11c34ad6e0e98625713100629820!OpenDocument

To be honest, even though I'm a big fan of my HUV solution, I think Vince's solution is cleaner, easier to implement, and requires less overhead.

-Devin.

Gravatar Image2 -

Solution:

I upgraded to the latest template (v2.5.3), and unremmed the following code from the initialize event of the WQS.StoryResponse Agent:

If doc.SecurityCheck(0) = "pon" Then
    If debug Then Msgbox "BlogSphere : DEBUG - WQS.StoryResponse Security Check Successful"
Else
    If debug Then Msgbox "BlogSphere : DEBUG - WQS.StoryResponse Security Check Failed, SPAM detected"
    doc.IsSpam = "Yes"        
    doc.SaveOptions = "0"        
    Goto getOut
    Call doc.Remove(True)
End If

Guess what: No more spam.

-Devin

Search

Wowsers! A Tag Cloud!

Links

MiscLinks