PDA

View Full Version : Addon: No spam in comments


GeoS
04-05-2006, 08:21 PM
Name:
No spam in comments

DESC:
This addon gives you possibility to fight with comment spam.

Installation:
In your image_template.html template file find something more or less like <form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'> tag and replace it with <NSC_FORM_TAG> (which is used for this addon).
Next step is to put <NSC_FORM_KEY_INPUT_TAG> after previous <NSC_FORM_TAG> and before </form> tags.

Available tags:
<NSC_FORM_KEY_INPUT_TAG> - input tag with security key to put in form
<NSC_FORM_KEY> - just security key
<NSC_FORM_TAG> - complete <form> tag which is used for this addon

Addon page:
http://pixelpost.org/v1/index.php?x=downloads&details=165

Addon details:
Version: 1
Added: 2006-04-05 15:11:14
Updated: 2006-04-05 15:13:48
Category: addon
Requires Pixelpost version - 1.5 BETA1

Download:
http://pixelpost.org/v1/devfiles/?id=165

PS This is first version and very simply. I need some free time to add CAPTCHA functionality, prevention against to often comments and many more. Maybe at weekend Ill find it :P

mvilares
04-05-2006, 11:07 PM
GeoS, I tried to post a comment on one of your images and it took me to a page that says "Different Security Keys!" I'm not sure what this means, but I'm assuming that it's not letting me post a comment. By the way, I'm not a spammer :)

Marcelo

se.nsuo.us
04-06-2006, 04:49 AM
Good begining - however for this to really work the original Pixelpost routine to save comments must be disabled.

Most of the SPAM these days is posted using bots who do not bother to really come to your site but just send the proper $_GET and $_POST fields to your blog url.

BTW I also got different security keys error

GeoS
04-06-2006, 08:13 AM
hmmm
1) True, old comments code must be disabled. It would need hack for 1.5.
2) The most important part (I mean the most dynamic) of security keys are generated from Session ID. So if you have disabled cookies or SID is changing between image page and comments script then you can watch this error. When I was testing it yesterday it was working OK. Today I get new comment so it looks like a little random problem. Ill check it at evening.

As you see this is small step in work against SPAM in comments. Ill try to fix current issues and develop this addon to be more powerful but still I need your help to get info what works OK and what doesnt. As I had only 5 SPAM comments till today I cant test it in proper enviroment.

One more time thx for all comments. At weekend there should be next update.

Joe[y]
04-06-2006, 08:43 AM
i would test this but i never get spam as it is...

GeoS
04-10-2006, 05:35 PM
Please all test this instead of mine solution:
http://forum.pixelpost.org/showthread.php?t=3810

PS I dont plan next release of mine addon as this should be the best solution for SPAM problems.