Comment Spam Solution
Category SpamIt 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:
- Add Human User Verification to Your IBM Lotus Domino Web Pages
- Add Advanced Human User Verification to Your IBM Lotus Domino Web Pages
- 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
The Pridelands
Chris Byrne
Show n' Tell Thursdays



Comments
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.
Posted by Devin Olson At 08:19:41 PM On 05/30/2006 | - Website - |
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 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.
-DevinPosted by Devin Olson At 06:11:14 PM On 06/06/2006 | - Website - |