Hi. I just managed to integrate recaptcha for comments for members(not for guest because i'm using ecaptcha for them).since then , the porn comments stopped. Actually the spammers first registered then used a script to automatically post comments. Not now. Its working like a charm. Till now 5 spammers registered but no comments.hurray....Its a hack. Do the following: 1) goto [-link-] and register for your account. 2) Copy recaptchalib.php to e107_handlers 3) Open e107_handlers/comment_class.php 4) Goto line 135, just after "//end rating area", replace the following code
9) Make a new file in your e107 base directory named wrongcaptcha.php. Write the following code in it:
<?php
require_once("class2.php");
require_once(HEADERF);
$text = "
<div style='text-align:left;'>
<big>The Captcha you've entered is wrong. Please <a href='javascript:history.go(-1)'>Go back</a> and enter it again!<br><br>
<center><a href='javascript:history.go(-1)'>GO BACK</a></big>
</div>
";
$title = "Wrong Captcha Entered";
$ns -> tablerender($title, $text);
require_once(FOOTERF);
?>
Save it. Thats it!
I tested it and found that it works! although I cant say if it is bug free. One thing is for sure...There wont be any porn comments in e107 based sites.
For the faint hearted people, here is the zip file containing all the files. Just overwrite them. Make sure you replace "yourprivatekey" and "yourpublickey" with you private and public keys respectively. Enjoy. And yeah...if you want to thank me...please come over to my site(my sig) and post it in my forums. thanks.
hey, thanks for this. I look forward to a plugin that doesn't change core files, but untill that gets here (any idea of a timeline, SecretR?) this'll be a good tool to have.
I'm keeping an eye on this thread too....since I even have captcha set up and these guys are still able to register. I don't want to edit my core files...so Secret let us know when you're ready to release.
Plugin for this is a good idea. Maybe changing the core file on the fly using e_meta.php. not sure though. It would be great if somebody launches this as a plugin. You can also download the files and overwrite them!!
eTCaptcha (currently in beta) will allow you to protect ALL your e107 forms if required (and plugins), without adding any code lines in your HTML forms.
Just download the beta on etalkers.tuxfamily.org and let me know what you are thinking about. Final release out next days...
eTCaptcha (currently in beta) will allow you to protect ALL your e107 forms if required (and plugins), without adding any code lines in your HTML forms.
Just download the beta on etalkers.tuxfamily.org and let me know what you are thinking about. Final release out next days...
Installed your polug-in and now my whole site is corrupt, I only get this error message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/home/_a/atlas/www.doener.se/e107/e107_plugins/etcaptcha/class.php on line 1853
Please help out here since the complete site is down due to this.
Anti-spam Control Center plugin is in beta state and ready for testing. At this point includes only Re-Captcha service. I'll start implementing Askimet soon. I'll publish the plugin as soon as I can.
Whilst we are waiting for these plugins, my comment stop plugin has proved great at keeping control of spam. It allows you to limit which classes can post links. So you can set a class of trusted members etc.