Comments closed for now
from the thanks-a-lot-assholes dept
I've decided to shut down commenting here until I can find a
decent solution for the comment spam. There are a few Python bindings
for the Akismet
web service, ought to be simple enough to plug into Plone.
If you're running a COREBlog2 site and need to lock things down to keep the spammers at bay, here's a TTW script you can run to quickly toggle the comment and trackback modes on all of your entries:
1 # Values for comments/trackbacks:
2 # 1 - None (cannot add / hidden)
3 # 2 - Open (can add / shown)
4 # 3 - Closed (cannot add / shown)
5
6 cmode = 3 # comments
7 tbmode = 3 # trackbacks
8
9 entries = context.portal_catalog.searchResults(portal_type="COREBlogEntry")
10 for e in entries:
11 o = e.getObject()
12 o.setAllow_comment(cmode)
13 o.setReceive_trackback(tbmode)
14 print "set feedback modes on %s " % (o.Title(),)
15 return printed
Add that as a Python script to a folder in your skin path, and make sure that only Manager has view permission.
This is the part where I'd love to ask you how you deal with spam on your own Plone site, but you wouldn't be able to answer me :/



