@Patrice, this is probably due to human spammers filling out the form and then using their registration to spam your site. This will only block fully automated spam.
what kinda question is that? , and what Ip's would you ban exactly ? a spoofed one perhaps , a legit range also ? ..................
if I human is sitting at the other end , its completly pointless you cant avoid it ...........all this plug does is stops stupid bots in which I am greatfull
Sorry, for my stupid question. I am newbie. What are the files I have to change to use this plugin in the blog? What I mean I want to use the captcha before someone publish or comment in the blog!
In order to use captcha in any other plugin all you need to do is
Add it to the view of the form
Add the action for which captcha has to be verified in the list of actions at start.php in matchcaptcha.
For your case, where you want captcha at "blog/save" action. Hence follow the following steps.
Add capctha to the form : Edit 'mod/blog/views/default/forms/blog/save.php' and add the captcha to the form. You can call capthca by adding the function 'elgg_view('input/captcha')' wherever you want to display the content.
Call captcha at 'blog/save' action : Edit 'mod/mathcaptcha/start.php' and add '$returnvalue[] = 'blog/save';' in the function 'captcha_actionlist_hook()' (at line # 160)
And you have added the cpatcha feature at every blog save action. enjoy \m/
I guess you didn't disable the existing captcha plugin. A quick solution to that might be removing or renaming the plugin directory for captcha or mathcaptcha
The more people that add webgali antispammer plugin the more people it works for.It adds the spammer to a IP database and then they can't sign up for any elgg site that has it.
Comments
Thanks for the plugin. It works like a charm in 1.7.7. Hopefully no spam anymore....
Unfortunately, I still have spam. How to get rid of that?
@Patrice, this is probably due to human spammers filling out the form and then using their registration to spam your site. This will only block fully automated spam.
@Evan Winslow
why ELGG does not has a ip blocking pluggin till now?
what kinda question is that? , and what Ip's would you ban exactly ? a spoofed one perhaps , a legit range also ? ..................
if I human is sitting at the other end , its completly pointless you cant avoid it ...........all this plug does is stops stupid bots in which I am greatfull
Thnx
see almost all cms scripts has ip ban options. what I do is adding spamers ips in htaccess file
I too am surprised Elgg doesnt have an ip banning plugin/mod. It would be usefull.
Sorry, for my stupid question. I am newbie. What are the files I have to change to use this plugin in the blog? What I mean I want to use the captcha before someone publish or comment in the blog!
Thanks a lot!
In order to use captcha in any other plugin all you need to do is
For your case, where you want captcha at "blog/save" action. Hence follow the following steps.
in the function 'captcha_actionlist_hook()' (at line # 160)
And you have added the cpatcha feature at every blog save action. enjoy \m/
Hey tachyon,
Thanks a lot! It works perfect!
cheers,
This plugin seems good.....I guess it will help solve my spammer problem to some extent. Thanks!
*goes to check it out*
umm....all we need to do is to upload it to mod file, right? and then enable it? am I on the right track?
yes, you are on the write track. Just disable any other Captcha plugin if already using any.
alright thanks!
SOMETHING MAJOR HAPPENED TO MY SITE!!!!! I can't even get to the admin!!!! I enabled the mathcaptcha but now my site isnt even opening!!!!!
HELP!!!!!
I guess you didn't disable the existing captcha plugin. A quick solution to that might be removing or renaming the plugin directory for captcha or mathcaptcha
thanks! It's working just fine now :)
The more people that add webgali antispammer plugin the more people it works for.It adds the spammer to a IP database and then they can't sign up for any elgg site that has it.
For mathcaptcha in blogs In elgg 1.78
add at line ~164 in \mod\mathcaptcha\start.php
$returnvalue[] = 'blog/edit';
$returnvalue[] = 'blog/add';
and in
\mod\blog\views\default\blog\forms\edit.php
findthe texts and add the lines marked bold:
// INSERT EXTRAS HERE
$extras = elgg_view('categories',$vars);
if (!empty($extras)) $extras = '<div id="blog_edit_sidebar">' . $extras . '</div>';
$captcha = elgg_view('input/captcha');
and
<div class="blog_access">
<p>{$privacy}: {$access_input}
</p></div>
<div class="publish_options">
{$captcha}
</div>
Doesn't seem to work on 1.7.11. All I get is a white screen after enabling it.
Hi John,
have you disabled the default Captcha plugin ?
I get the whole site broken in 1.7.10 and original captcga is didabled. I'm putting the plugin after the Registration Control plugin.