Hello everybody, today i found over 200 spam comments (with links etc...) Bot-Generated...
I see that in Gallery 3 there is no capthca plugin for posting comments and there is not an option to "all comments needs Admin approval"...
This makes Spambots the life simple...
For now i will disable the comments module waiting for a solution...
Any idea ? Thanks...
Posts: 27300
Yes there is... it is called reCAPTCHA
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 20
I searched it in modules here but didn't find it
Posts: 27300
It comes with the default distribution. Care to contribute back by creating the docs?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 18
reCAPTCHA fails, I can register myself even I enter the wrong code. If code is 36325455 and I enter 36325458 it read it as correct.
Posts: 43
I have some difficulties with the recaptcha module as well unfortunately, resulting in lots of spam.
Things I have noticed:
*) URL to the recaptcha has changed. This is not updated in admin_recaptcha.html.php (see <https://github.com/gallery/gallery3/blob/master/modules/recaptcha/views/admin_recaptcha.html.php>). Therefore the recaptcha test is not displayed in the admin panel.
*) Since I have a setup with a domain alias, a hint to get it to work is to set a keypair as global key when keys are created on the recaptcha website!
*) If I block google.com (e.g. with "NoScript" Addon in Firefox) the captcha is never displayed and I can send messages / post comments without going through the captcha process.
Any ideas how to prevent this circumvention?
Kind regards,
h_s
Posts: 42
@h_s
It seem you are right, the address for the verification Server have changed. The recaptcha module actually dont work.
I have also checked the latest snapshot of gallery and there this issue is the same.
I tried to figure out the changes myself but I didnt get it to work
www.xeta.at
Posts: 27300
I think I have fixes some of these issues.
I got the admin page get the recapcha test.
I got a workaround for the "NoScript" addon in firefox. Please test here: http://www.langleycom.com/gallery3/index.php/Andrew and let me know your results.
Will post code once I get some feedback.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 43
Dear Dave,
Thank you very much for your effort.
I just tested the link you provided and now it works great for me!
Captcha is requested as it should be.
With javascript disabled you can't post; i.e. the noscript workaround is no longer possible
Another general thing: Captchas are to me really annoying. I am just curious how other G3 users handle the spam problem?!
E.g. in wordpress there is a plugin called http://antispambee.com/ which analyses the comment and decides if it is spam or not (i.e. a spam filter). My experience so far is 100% good. No false positiv/negativ at all! And the user experience is not disturbed.
In another website I use a very simple "captcha", where the user has to add two one-digit numbers as a test (for expample: 4+2 = ??). It is simple and has so far worked very well.
Kind regards
h_s
Posts: 42
Dear Dave,
On your test link the same problem occurs like on my own page: The captcha accepts also wrong inputs.
But I am not sure what is the reason for that!
www.xeta.at
Posts: 27300
xeta,
Are you able to get past with TWO wildly different words? From the recaptch wiki:
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 42
Dave,
Its clear to me that read word is not verified/checked. But till your last post I was not aware that verification word allows "off by one". In this case your Link seems to work pretty well.
Thanks
www.xeta.at
Posts: 241
I just use the Akismet module: http://codex.galleryproject.org/Gallery3:Modules:akismet which comes with Gallery as well I believe.
I use it in my WordPress blog also so I use the same API key. It's caught all the spam I've had, up to 500 now.
Although, the stats page in the gallery is kind of messed up as it counts the Spam Detected as Missed Spam at the same time, which is wrong because it didn't miss it(?). I just haven't bothered to find out why. Every now and then I'll go in and empty the Spam that it caught.
- Mark H.
Using Gallery 3.0.9 - gallery.markheadrick.com
Posts: 693
I'm coming to this a bit late. I'm suddenly getting a lot of email spam because of this problem. I've looked all over the forum and I can't find the code needed to fix reCAPTCHA. I'm on the road for some weeks with not a lot of time to research this. Can someone please summarise what I need to do to quickly fix this, or point me to the fix?
Posts: 27300
Not extensively tested but it should work.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 693
Thank you Dave - much appreciated. I'll let you know how I go.
Posts: 43
Thank you very much Dave!
h_s