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

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
24
80%
Very Good
5
17%
Good
1
3%
Fair
0
No votes
Poor
0
No votes
 
Total votes: 30


medy
Registered User
Posts: 4
Joined: Thu Jun 14, 2007 12:04 am

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

Post by medy »

Hi,

Could you please tell where should i enable captcha in the administrator panel?
I installed the mod and the fix, vc_test.php works, but i see no captcha.

I recently became new administrator of phpbb and don't have so much experience with it.
Before captcha i installed Easy_BotStopper mod. Could that be the problem that captcha doesn't work / show on my page or am i just missing something?

http://forum.klub-srecnih.si/profile.ph ... greed=true

thx in advance

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

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

Post by Gremlinn »

This looks alot like what's in phpBB3. I will give it a shot.

gogreen
Registered User
Posts: 2
Joined: Wed Jun 13, 2007 7:08 pm

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

Post by gogreen »

Thanks, Ptirhiik. I didn't use EasyMod, and our GD support also has freetype support. I tried the fix mentioned there anyway, but it didn't change what I was seeing - just the background, no text, even though vc_test.php works great. I guess I'm at the stage where I'm going through the code for the plugin and for vc_test to see why one works and one doesn't.

uno
Registered User
Posts: 11
Joined: Mon Dec 08, 2003 11:09 pm
Location: NYC Area
Contact:

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

Post by uno »

That works great! The bg with all the letters and numbers is almost impossible to read tho.

echothefaith
Registered User
Posts: 4
Joined: Wed Jun 13, 2007 1:37 pm

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

Post by echothefaith »

ok when i log into the admin/config

i dont see the option to enable visual confirmation. is that a fault of my own or my site host?
board version 2.0.22
PHP version 4.4.2
MySQL version 4.1.21-standard

installed the vc folder into the /includes
Applyed the fix to the file class_visual_confirm_img_gd.php

Thank you so much for the help

any thing else you need from me just let me know.

diabolic.bg
Registered User
Posts: 447
Joined: Mon Dec 11, 2006 3:41 pm
Location: Bulgaria, Sofia
Contact:

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

Post by diabolic.bg »

echothefaith wrote:ok when i log into the admin/config

i dont see the option to enable visual confirmation. is that a fault of my own or my site host?
board version 2.0.22
PHP version 4.4.2
MySQL version 4.1.21-standard

installed the vc folder into the /includes
Applyed the fix to the file class_visual_confirm_img_gd.php

Thank you so much for the help

any thing else you need from me just let me know.
You must again read carefully install text. You don't have a fix for class_visual_confirm_img_gd.php

Code: Select all

#-----[ OPEN ]------------------------------------------------
#
includes/usercp_confirm.php
#
#-----[ FIND ]------------------------------------------------
#
<?php
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : visual confirmation ------------------------------------------------
#
#-----[ FIND ]------------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
	die('Hacking attempt');
	exit;
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : visual confirmation ------------------------------------------------
//-- add
@include($phpbb_root_path . 'includes/vc/class_visual_confirm_img.'.$phpEx);
//-- fin mod : visual confirmation --------------------------------------------
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
The fix is for includes/usercp_confirm.php The fix for class_visual_confirm_img_gd.php do not for your board - read here: http://ptifo.clanmckeen.com/viewtopic.php?t=6896
Last edited by diabolic.bg on Mon Jun 25, 2007 9:31 pm, edited 1 time in total.

echothefaith
Registered User
Posts: 4
Joined: Wed Jun 13, 2007 1:37 pm

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

Post by echothefaith »

wow lol ok now i see why no one does updates early in the am hours. lol

Ok i edited the correct file.

But i still am not seeing the option to enable visual confirmation. any idea's?

Code: Select all

 <?php
//-- mod : visual confirmation ------------------------------------------------
/***************************************************************************
 *                            usercp_confirm.php
 *                            -------------------
 *   begin                : Saturday, Jan 15, 2003
 *   copyright            : (C) 2001 The phpBB Group
 *   email                : support@phpbb.com
 *
 *   $Id: usercp_confirm.php,v 1.1.2.4 2006/05/30 19:29:43 grahamje Exp $
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die('Hacking attempt');
	exit;
}
//-- mod : visual confirmation ------------------------------------------------
//-- add
@include($phpbb_root_path . 'includes/vc/class_visual_confirm_img.'.$phpEx);
//-- fin mod : visual confirmation --------------------------------------------
// Note to potential users of this code ...
 

diabolic.bg
Registered User
Posts: 447
Joined: Mon Dec 11, 2006 3:41 pm
Location: Bulgaria, Sofia
Contact:

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

Post by diabolic.bg »

Who is your template? Some templates don't have a VC by default.
I have 7 templates and in 6 I install VC manually - all are black templates.

echothefaith
Registered User
Posts: 4
Joined: Wed Jun 13, 2007 1:37 pm

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

Post by echothefaith »

WOW YOUR GOOD!!!

I never thought it was my template. I was using one called Glaxian, but as soon as i saw your post i switched over to Subsilver and there it was!!!!!!

Thank you soooo much for the help. :D :D :D :D :D :P :P :P :P

diabolic.bg
Registered User
Posts: 447
Joined: Mon Dec 11, 2006 3:41 pm
Location: Bulgaria, Sofia
Contact:

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

Post by diabolic.bg »

How to install VC:

At the first make backup to your template/profile_add_body.tpl and your template/admin/board_config_body.tpl

OPEN your template/profile_add_body.tpl

Code: Select all

FIND:

<!-- END switch_edit_profile -->

AFTER ADD:

<!-- Visual Confirmation -->
	<!-- BEGIN switch_confirm -->
	<tr>
		<td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br /><br />{CONFIRM_IMG}<br /><br /></td>
	</tr>
	<tr> 
	  <td class="row1"><span class="gen">{L_CONFIRM_CODE}: * </span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
	  <td class="row2"><input type="text" class="post" style="width: 200px" name="confirm_code" size="6" maxlength="6" value="" /></td>
	</tr>
	<!-- END switch_confirm -->
OPEN your template/admin/board_config_body.tpl

Code: Select all

FIND:

<td class="row1">{L_DISABLE_BOARD}<br />  or similar line

AFTER ADD:

<tr>
		<td class="row1">{L_VISUAL_CONFIRM}<br /><span class="gensmall">{L_VISUAL_CONFIRM_EXPLAIN}</span></td>
		<td class="row2"><input type="radio" name="enable_confirm" value="1" {CONFIRM_ENABLE} />{L_YES}&nbsp; &nbsp;<input type="radio" name="enable_confirm" value="0" {CONFIRM_DISABLE} />{L_NO}</td>
</tr>

SAVE AND CLOSE ALL FILES
Upload the fixed files and replace the originals.
That is all... and a big cold beer to finish! :P

robertelcobrecito
Registered User
Posts: 5
Joined: Fri Jun 29, 2007 12:03 am

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

Post by robertelcobrecito »

I installed the VC in the tpl's...I fixed the usercp_confirm.php...But i still am not seeing the visual confirmation in the register page...any idea's?

webpage http://xavierserbia.com/phpBB2/profile.php?mode

robertelcobrecito
Registered User
Posts: 5
Joined: Fri Jun 29, 2007 12:03 am

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

Post by robertelcobrecito »

I installed the VC in the tpl's...I fixed the usercp_confirm.php...But i still am not seeing the visual confirmation in the register page...any idea's?

webpage http://xavierserbia.com/phpBB2/profile.php?mode

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

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

Post by Ptirhiik »

Prior installing the mod, I suggest you to make first the standard phpBB CAPTCHA work onto your style and config. Once done, you will be able to add the mod without worries.

robertelcobrecito
Registered User
Posts: 5
Joined: Fri Jun 29, 2007 12:03 am

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

Post by robertelcobrecito »

could you tell me how? i will appreciate all your help.

Post Reply

Return to “[2.0.x] MOD Database Releases”