Page 1 of 9

[07/02/07] Visual Confirmation (CAPTCHA)

Posted: Fri Jan 05, 2007 12:22 pm
by Extensions Robot
MOD Name: Visual Confirmation (CAPTCHA)
Author: Ptirhiik
MOD Description: This mod changes the CAPTCHA to a more solid one, even if GD is not available. It comes with the following:
  • random fonts,
  • random colors
  • random sizes
  • random angles
  • noisy background with lines without GD, with lines and circles with GD
  • or random chars in background
  • random pics in background with GD
You can add new truetype fonts (for non-GD users, check the contrib directory to create the .btf fonts used in this case)
You can add new background pics (GD users only)

MOD Version: 1.0.0
Tested on phpBB Version: 2.0.22

Download File:
mods overview page: View
File Size: 263054 Bytes

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.

Posted: Wed Feb 07, 2007 7:39 pm
by Paul
MOD Validated/Released

When you install this mod with easymod, you should copy the ttf files manually copy this files to the correct directory, because these should be uploaded binary, and easymod doesn't transfer them in binary mode.

Posted: Wed Feb 07, 2007 7:45 pm
by Ptirhiik
*reserved as FAQ*
  • Don't loose your time with easyMOD for this mod: it will only generate errors (as mentioned above), and there is no difficulty with installing it the manual way,
  • this mod is a backport of the visual confirmation present in CH 2.1.6. If you want to see how it looks, just hit the registration at the CH demo board (you don't need to register to view it :)).
  • on host with gd support but not freetype support (support for truetype font: check your phpinfo), the image doesn't appear. If you are in this case, apply this fix.

Posted: Sun Feb 11, 2007 5:22 pm
GREAT MOD :!: Very simple and very useful.

Thanks Ptirhiik!

Posted: Sun Feb 18, 2007 6:05 pm
by boxmonkey
This CAPTCHA generates strings that are often too hard for humans to recognize. Sure it'll stop the spammers, but what about the rest of us!

Posted: Mon Feb 19, 2007 8:11 am
by Ptirhiik
You can adjust a lot of parameters (colors, fonts rotation, noise deepness, and so) in the _img_gd (or _img_bt if you don't have gd) scripts. However, decreasing too much the randomization may result to the opposite of the goal. The target is: the user must succeed at least 1 on 3 attempts. Considering the number of registrations and guests posting at my board (the same image is used there too), I would say it is actually not that hard for users ;).

Posted: Tue Feb 20, 2007 2:07 pm
by Shadowfang
Installed the mod fine, Background image shows up, but the text does not. can someone help plz?

Posted: Thu Feb 22, 2007 9:59 am
by ashras99
sorry posted in wrong place...

Posted: Thu Feb 22, 2007 10:02 am
by Ptirhiik
> Shadowfang: did you apply the fix I mentioned at the first post ?

Posted: Thu Feb 22, 2007 12:01 pm
by Shadowfang
since im new to would i apply it? could i put it in a txt file and let easymod do it? or actually edit php itself?

Posted: Thu Feb 22, 2007 4:22 pm
by Ptirhiik
Edit the php itself : it is a very quick copy and past.

Posted: Sun Feb 25, 2007 9:10 am
by Virtualex
This mod adds the visual confirmation field in the new user registration form. Do I understand it right?
I copied vc folder to forum/includes, added following to includes/usercp_confirm.php:

Code: Select all

if ( !defined('IN_PHPBB') )
	die('Hacking attempt');

//-- mod : visual confirmation ------------------------------------------------
//-- add
@include($phpbb_root_path . 'includes/vc/class_visual_confirm_img.'.$phpEx);
//-- fin mod : visual confirmation --------------------------------------------
But nothing ever happens... Though vc_test.php works perfectly.

Posted: Sun Feb 25, 2007 11:00 am
by Ptirhiik
No: it changes the images generated by vanillia phpBB with a more solid one. To activate the visual confirmation, you have to enable it in ACP/Configuration.

Posted: Mon Feb 26, 2007 10:55 pm
by magyarbirtok
Great mod! The last 1-2 month Im fighting with spambot, daily Im deleting spambot users...
This mod I have installed in 3 minutes, its working perfect!
Very big thanks!!!

Posted: Mon Feb 26, 2007 11:20 pm
by drumstix42
Great mod. I think the CAPTCHA is definitely one of the best that I've seen.