I'll take a look at this.
I've been slowly working on the comments extension and I've seen the
changes in the davec repo.
I'll give you more feedback when I have time...
On Jun 17, 2009, at 2:03 PM, Rafael Souza wrote:
Excuse me if its already exists. My suggestion to comments extension
is to
have a spam-filter option, for people that don't want to have a spam-
filter
(maybe it appears only if a same ip is throwing more than one or two
comments).
On Wed, Jun 17, 2009 at 2:55 PM, David Cato <[email protected]>
wrote:
I've done some hacking on the comments extension to include the
inverse
(or negative) captcha filtering method as described by Sven Fuchs for
Mephisto at http://rubyurl.com/qEhI and, although it seems to be
working
OK I'm not convinced that the code is as clean as it should be. The
code
is at http://github.com/davec/radiant-comments/tree/inverse-captcha
with
the changes being contained in a single commit (3598110).
In particular, the code to generate the email fields for the form as
implemented by the inverse_captcha_tags tag (in lib/
comments_tags.rb) is
a mess, but I couldn't find any way to reuse the existing
comments:error
and comments:text_field_tag tags. Maybe I overlooked something
(most of
this was done late last night) and there's a way to DRY up the code.
If anyone has ideas to clean this code up, I'd appreciate hearing
them.
--
David Cato
[email protected]
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant