ZenphotoCMS Forum
Spam problems? - 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: Spam problems? (/thread-4188.html)



Spam problems? - aquila - 2008-12-06

I have the latest zenphoto release running and I am getting comment spam. Does this mean akismet does not do its job? A captcha is in place.




Spam problems? - sbillard - 2008-12-06

Assuming that you have infact selected Akismet as your spam filter, then yes, it would mean it is not filtering those posts you consider spam.




Spam problems? - aquila - 2008-12-08

Akismet is installed and a key is filled in, I get no error when I save current settings.
Is the API to report akismet mistakes implemented?




Spam problems? - sbillard - 2008-12-08

I don't see anything in the code. Maybe the authors will notice this thread and respond.




Spam problems? - aquila - 2008-12-10

Strange, the spam keeps coming back for that one photo. I have checked it again, the captcha and akismet are both enabled. I can privately send the link if someone wants to investigate this, I am not going to link more to that photo.




Spam problems? - aquila - 2008-12-17

And now other photos are affected as well. The captcha seems to be broken? Akismet is not working either, strange...




Spam problems? - sbillard - 2008-12-17

Are you sure the SPAM is comming from posting to zenphoto? Change your Admin password. Maybe someone has figured out that code--it is used in encrypting the CAPTCHA data.




Spam problems? - aquila - 2008-12-19

I'm quite sure it has to do with zenphoto, I can see it in the logs. Typical behavior is as follows:
random URI has get request from an IP
some other IPs get the URI as well
followed by hosts that each do about 2 requests with POST and then disappear
the strange thing is that akismet does not seem to catch any of those spam comments?




Spam problems? - sbillard - 2008-12-19

Can you tell what the exact POST parameters were? It would be unusual for the spammer to be able to circumvent the CAPTCHA.




Spam problems? - aquila - 2008-12-21

I did not get mod_security working to log the post parameters. I decided to try and give Mollom a shot, I now have that running. Plugin code is below, code is free to use under GPL license. It requires the PHP class from http://mollom.crsolutions.be/

And thanks for the great API, implementing this was very. I'll keep you updated with the results!

I am now wondering whether I will replace the regular captcha code with the mollom captcha. Might be interesting for other users too, but then the captcha code needs to be turned in a plugin as well.




Spam problems? - acrylian - 2008-12-21

Could you please attach your code to a ticket? Thanks!




Spam problems? - aquila - 2008-12-22

Sure, see ticket http://www.zenphoto.org/trac/ticket/919

I will be posting mollom based CAPTCHA code too, it keeps my site spamfree at this moment (but comments continue to work). Which is how I like it.




Spam problems? - aquila - 2008-12-22

Wow it's already included in the next version, thanks!




Spam problems? - sbillard - 2008-12-22

If you need any assistance on the captcha, let me know.




Spam problems? - aquila - 2008-12-22

I have also posted a ticket with the CAPTCHA generator code, the combination of both stops all spam here! Ticket is http://www.zenphoto.org/trac/ticket/920
Still needs works though, because an option to choose the CAPTCHA generator needs to be in place if you want to keep the current generator working.