Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Comment Spam - Strengthen Captcha and Akismet  (Read 4935 times)

0 Members and 1 Guest are viewing this topic.

jmcnyc

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Comment Spam - Strengthen Captcha and Akismet
« on: October 09, 2010, 02:44:52 am »

I am using the latest release.

I have both Captcha and Akismet turned on.  Any way to strengthen them?   Which has  more impact - Akismet is catching stuff.  Not sure if Captcha is as strong as it can be.  Can it be strengthen so the image is modified - more text?  Or more lines?

Any ideas?  I have comment approval turned on - but have to always clear lots of spam every day before I get to the real user comments.

Thanks

Jim
Logged

Nibbler

  • Guest
Re: Comment Spam - Strengthen Captcha and Akismet
« Reply #1 on: October 09, 2010, 01:16:29 pm »

You can tweak the captcha settings in captcha.php - see include/captcha.inc.php for descriptions of the settings.
Logged

jmcnyc

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Comment Spam - Strengthen Captcha and Akismet
« Reply #2 on: October 09, 2010, 04:10:12 pm »

Thanks

I see this line in Captcha.php:
$oPhpCaptcha = new PhpCaptcha($aFonts, 150, 30, 5, 20, false);

What are the parameters for - the 150, 30, 5, 20 and false?
Logged

Nibbler

  • Guest
Re: Comment Spam - Strengthen Captcha and Akismet
« Reply #3 on: October 09, 2010, 04:32:44 pm »

As I said, descriptions of the settings are in include/captcha.inc.php

Code: [Select]
         $aFonts, // array of TypeType fonts to use - specify full path
         $iWidth = 200, // width of image
         $iHeight = 50, // height of image
         $iNumChars = 5, // number of characters to draw
         $iNumLines = 70, // number of noise lines to draw
         $bCharShadow = false, // add shadow to generated characters to further obscure code
         $sOwnerText = '', // add owner text to bottom of CAPTCHA, usually your site address
         $aCharSet = array(), // array of characters to select from - if blank uses upper case A - Z
         $sBackgroundImage = '' // background image to use - if blank creates image with white background
Logged

jmcnyc

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Comment Spam - Strengthen Captcha and Akismet
« Reply #4 on: October 09, 2010, 04:37:35 pm »

sorry my mistake - thanks for the help.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.