Log in

Stats

  • Category: Spam
  • License: GNU General Public License (GPL) version 2
  • Updated: 2011-10-5
  • Downloads: 1779
  • Recommendations: 4

Other Projects

tachyon's plugins:

Math Captcha for Elgg 1.7

A math captcha for Elgg

Last updated 789 days ago

A Captcha which makes potential users answer simple math questions during regstration and password reset.

Release notes:

Fixed the bug in start.php

Comments

  • Patrice Plet 789 days ago

    Thanks for the plugin. It works like a charm in 1.7.7. Hopefully no spam anymore....

  • Patrice Plet 788 days ago

    Unfortunately, I still have spam. How to get rid of that?

  • Evan Winslow 787 days ago

    @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.

  • Satheesh PM 787 days ago

    @Evan Winslow

    why ELGG does not has a ip blocking pluggin till now?

  • opensource 787 days ago

    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

     

     

  • Satheesh PM 785 days ago

    see almost all cms scripts has ip ban options. what I do is adding spamers ips in htaccess file

  • Andrew 783 days ago

    I too am surprised Elgg doesnt have an ip banning plugin/mod. It would be usefull.

  • Chaves 777 days ago

    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!

  • tachyon 777 days ago

    In order to use captcha in any other plugin all you need to do is

    1. Add it to the view of the form
    2. 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.

    1. 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.
    2. 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/

  • Chaves 777 days ago

    Hey tachyon,

    Thanks a lot! It works perfect!

    cheers,

  • zcyborg 775 days ago

    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?

  • tachyon 775 days ago

    yes, you are on the write track. Just disable any other Captcha plugin if already using any.

  • zcyborg 775 days ago

    alright thanks!

  • zcyborg 775 days ago

    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!!!!!

  • tachyon 775 days ago

    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

  • zcyborg 775 days ago

    thanks! It's working just fine now :)

  • patriot 732 days ago

    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.

  • dimes 731 days ago

    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>

  • John Hunt 648 days ago

    Doesn't seem to work on 1.7.11. All I get is a white screen after enabling it.

  • tachyon 647 days ago

    Hi John,

    have you disabled the default Captcha plugin ?

  • Burgs 622 days ago

    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.