![]() |
|
Comment Spam - Solved! - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Comment Spam - Solved! (/thread-1521.html) |
Comment Spam - Solved! - matthendrix - 2007-07-03 Here's what I did to stop the evil bots from spamming me via the comments form. [b]Step #1[/b] `` [b]Step #2[/b] `` [b]Done![/b] Cheers, Comment Spam - Solved! - TheBLIONCorp - 2007-07-08 I would have modified addComment function to reject the comment using "normal" way. Comment Spam - Solved! - trisweb - 2007-07-16 This is only a temporary fix - spambots may check for such things as hidden fields, it adds only a minor roadblock. But a roadblock nonetheless! If you can figure out an algorithm and pass-between and somehow detect that the comment originator is in fact a human (test typing speed maybe?) perhaps that would work. Ooh, I like some of these ideas... perhaps I'll try implementing them myself... Comment Spam - Solved! - TheBLIONCorp - 2007-07-16 Speed is not a good idea. I can be very fast to write something (300 char/min + 10% of defects lol) With a special number of characters, we could use autoit to spam a database... Too easy to perform... Nevertheless, you can generate random fields... Random fields can be used only one time by one client... But that would not block a bot which submits correctly the form... (just use autoit to discover how easy it is to do it) Comment Spam - Solved! - titou - 2007-07-17 There are aanother interresting solution against Spam. When you register the comment, if this field is not empty then it's a spam bot... You can find an article on this page : Sorry for my bad english, i need to improve it ! Comment Spam - Solved! - TheBLIONCorp - 2007-07-17 It would need two parts:
Comment Spam - Solved! - trisweb - 2007-07-17 It is still a decent idea though, and could be used in combination with a randomized field and Akismet content filtering (the only real solution, in my opinion). Comment Spam - Solved! - TheBLIONCorp - 2007-07-21 The "hidden" field can be the first thing to check, yes, of course. I'd rather use my spamassassin method to check comments :p Ackismet never worked as expected on my gallerry... with spamassassin, 2 things:
Comment Spam - Solved! - xiaozj - 2007-08-02 How about designing a system so that no two installation (or almost none) will behave the same way, and to go further even the same installation would behave differently at different time of the day (or each time you access it). So to be able to get the spam through one installation would do nothing against the rest of the installations, and to go further would not even work the next time the spammer tries to submit. Though as things stands now, several scripts already works well: Akismet, Spam Karma, Spam Assassin... etc, the only problem is to port and integrate them into Zenphoto - I'm thinking of the long proposed plug-in system. Comment Spam - Solved! - thinkdreams - 2007-08-16 The Akismet hack from GamedudeX is working fine for me. I just tested it by adding code in the class-image.php to mail me each time a spam is caught. I was getting a few comments come through with spam, and about 1/2 day later, it was catching them (which means akismet was catching up with them from their service.) This proves the hack works well for me. May not catch everything, but I have yet to find a solution that does. Akismet is the best I've found though so far. It will eventually have moderation capabilities, but this assumes edits to core zenphoto code, and database modifications. Comment Spam - Solved! - penzoto - 2007-08-16 a good start to stopping the spam is to change the 'name' and 'id' attributes of the email input field to something less obvious than 'email'. I wonder if a flash form would stop spam 100%? Comment Spam - Solved! - thinkdreams - 2007-08-16 A flash form would assume that everyone has flash, which some do not (or cannot due to policy restrictions at work), so it may not be in the best interest to put reliance on flash for spam control, as that may make it difficult for some people to fill out forms. Comment Spam - Solved! - TheBLIONCorp - 2007-08-16 You can generate random fields name... Random z-index (it will confuse users !) |