Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

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

0 Members and 2 Guests 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.024 seconds with 19 queries.