Menu

Do captchas work?

Help
Jack Boyce
2005-12-03
2012-10-11
  • Jack Boyce

    Jack Boyce - 2005-12-03

    I uncommented 'ENABLE_CAPTCHA = TRUE' in config/config.ini, and it doesn't appear to work. When I try to save a page, an error appears:

    "Typed in verification word mismatch ... are you a bot?"

    There was no captcha visible during the edit/save process. Is this a placeholder at this point, or am I doing something wrong?

     
    • Reini Urban

      Reini Urban - 2005-12-05

      CAPTCHA does work, but is very sensible to your PHP configuration.
      If gd2 has no ttf support it will not work, and it might need a better ttf font than the very.ttf supplied.

       
    • Jack Boyce

      Jack Boyce - 2005-12-06

      Ok, I figured this out. Captcha doesn't work with the Crao theme that I was using; it works fine when I go back to 'default'. Any pointers on how I might fix the Crao theme?

       
      • Reini Urban

        Reini Urban - 2005-12-07

        themes/Crao/templates/editpage.tmpl:

        <!-- FIXME: fix layout, move CSS to CSS -->
        <fieldset class="editarea">
        <legend><?=_("Summary").':'?></legend>
        <br /><label for="edit:summary"><?=$SUMMARY_INPUT?></label>
        </fieldset>
        <?php if (ENABLE_CAPTCHA) { ?>
        <fieldset class="toolbar" style="text-align: center;">
        <?php echo $CAPTCHA_IMAGE ?><br/>
        <?php echo $CAPTCHA_LABEL ?><?= $CAPTCHA_INPUT ?>
        </fieldset>
        <?php } ?>
        <fieldset class="toolbar">
        ...

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.