Jump to content
Sign in to follow this  
Druide

NEW: Anti Robot Registration Validation

Recommended Posts

Alex, if I updated to V 2.5 or 2.6 would that fix it?

Cheers

Claire


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

Oops, sorry for the multiple duplicate posts - just what we need on a long thread! Server problems...

 

What permissions should the inc/lang/eng/account_valdation.php & validation_png.php have?

 

Tiger


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

Oops, sorry for the multiple duplicate posts - just what we need on a long thread! Server problems...

 

What permissions should the inc/lang/eng/account_valdation.php & validation_png.php have?

 

Tiger


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
Alex, if I updated to V 2.5 or 2.6 would that fix it?

Cheers

Claire

I don't think so. If you didn't see the code in the image, you need to check your database anti_robotreg table.

 

What permissions should the inc/lang/eng/account_valdation.php & validation_png.php have?

644 is good enough.


Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
I don't think so. If you didn't see the code in the image, you need to check your database anti_robotreg table.

644 is good enough.

 

1) I took the session from the anti_robotreg table :

e9d611215d3bf4f93c4cab3b0b0dd04c (8SBB3 1172661914)

9a7fe5d9582f69d7267fbe8257fa89be (P2YPD 1172663964 )

there are only 2 sessions there but I have loaded the create-account page more times than that. Is that timestamp from Feb 11 2007?

 

2) fantversion.php - that was showing 060817 - (I reinstalled my site to fantastico version 060817, but uploaded files which were really manually updated from 051113 - tried to be clever by leaving the fantversion.php at 060817) I have changed it back to 051113. I have no idea bit for some reason I can see the image in the test now, but on the website, there is no image at all.

 

 

3) Is this something to do with the security update 060817?

 

I know I have been fiddling with my site, but it was definately all working before I installed 060817, and I thought after I installed 060817 and before I moved my site.

 

Are my sessions working? What do I need to check?

Feel like giving up, pooh.

Was really hoping to really go live - need to make money!


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

Hi Alex,

ok, I've managed to work out the image src tag from post 225. Yippee, I can now see the images and the test works too (although no idea why this suddenly stopped working).

 

But, the sessions are not being stored in the database - is that normal? I only see the last one or two sessions. Do I need to change something? In admin under configuration/ sessions "session directory" says /tmp is that correct?

 

Secondly, on my test site, it shows the image (no image src tag changed) but when I test it always comes up with the code AF8M8 which is wrong. Any ideas here? In admin under configuration/ sessions "session directory" is blank, is that correct?

 

 

Some weird things going on!

 

Thanks again

Tiger

 

PS sorry for not being able to follow some threads... :blink:


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
But, the sessions are not being stored in the database - is that normal? I only see the last one or two sessions. Do I need to change something? In admin under configuration/ sessions "session directory" says /tmp is that correct?

Please check your catalog/includes/configure.php where:

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

If you set 'STORE_SESSIONS' to 'mysql', then setting under Configuration->Sessions->Session Directory should be overridden.

 

Secondly, on my test site, it shows the image (no image src tag changed) but when I test it always comes up with the code AF8M8 which is wrong. Any ideas here? In admin under configuration/ sessions "session directory" is blank, is that correct?

Some weird things going on!

Most likely the image was loaded from a cache or your sessions are not updating. You must make sure the sessions/cookies work properly fisrt.

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites

Hello Everybody,

As all of you I agree it is a great contribution.

But, unfortunately, after I downloaded the latest ver. (by moosey_jude 9 Feb 2007) I found only troubles.

1. downloaded files are incomplite : .sql file deos not include all records,

2. there is no .sgl file which adds entries to tabel : categories_description

3. no file that create table anti_robotreg,

 

After I fix all these mistakes I finaly receive a small table in my files (accoun_edit.php etc.) to put a validation code but NO VALIDATION CONDE HAS DISPLAYED !

My file validation_png.php works OK - I can see the image with code but it does NOT display in other files.

For 2 days I was searching the net and this forum - no results. I even lounch some solutions found on this topic but - nothing happend.

 

Please HELP.

 

If you need any part of code from my script please let me know I'll put it here or send on e-mail but I NEED THIS CONTRIB.

 

Thanks to ALL PEOPLE OF GOOD WILL ;)

Share this post


Link to post
Share on other sites

Hi All

 

I'm running anti-robot 2.6. It works with true type turned off and email validate contrib installed

 

When going to the contact us link on the store index page I get now

 

Parse error: syntax error, unexpected $end in /home/centcom/public_html/onlinestore/contact_us.php on line 279

 

279 is the last line of the contact_us.php file

 

I don't get this one - any ideas?

 

Here's my contact_us.php file

 

Thanking you in advance

 

Bob

 

<?php

/*

$Id: contact_us.php,v 1.42 2003/06/12 12:17:07 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

// BOF Anti Robot Validation v2.5

if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') {

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_VALIDATION);

include_once('includes/functions/' . FILENAME_ACCOUNT_VALIDATION);

}

// EOF Anti Robot Registration v2.5

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONTACT_US);

 

$error = false;

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {

// BOF Anti Robotic Registration v2.5

if (ACCOUNT_VALIDATION == 'true' && CONTACT_US_VALIDATION == 'true') {

$sql = "SELECT * FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "' LIMIT 1";

if( !$result = tep_db_query($sql) ) {

$error = true;

$entry_antirobotreg_error = true;

$text_antirobotreg_error = ERROR_VALIDATION_1;

} else {

$entry_antirobotreg_error = false;

$anti_robot_row = tep_db_fetch_array($result);

if (( strtoupper($HTTP_POST_VARS['antirobotreg']) != $anti_robot_row['reg_key'] ) || ($anti_robot_row['reg_key'] == '') || (strlen($antirobotreg) != ENTRY_VALIDATION_LENGTH)) {

$error = true;

$entry_antirobotreg_error = true;

$text_antirobotreg_error = ERROR_VALIDATION_2;

} else {

$sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "'";

if( !$result = tep_db_query($sql) ) {

$error = true;

$entry_antirobotreg_error = true;

$text_antirobotreg_error = ERROR_VALIDATION_3;

} else {

$sql = "OPTIMIZE TABLE " . TABLE_ANTI_ROBOT_REGISTRATION . "";

if( !$result = tep_db_query($sql) ) {

$error = true;

$entry_antirobotreg_error = true;

$text_antirobotreg_error = ERROR_VALIDATION_4;

} else {

$entry_antirobotreg_error = false;

}

}

}

}

if ($entry_antirobotreg_error == true) $messageStack->add('contact', $text_antirobotreg_error);

}

// EOF Anti Robotic Registration v2.5

$name = tep_db_prepare_input($HTTP_POST_VARS['name']);

$email_address = tep_db_prepare_input($HTTP_POST_VARS['email']);

$enquiry = tep_db_prepare_input($HTTP_POST_VARS['enquiry']);

 

// BOF Anti Robot Registration v2.5

if (!tep_validate_email($email_address)) {

$error = true;

$messageStack->add('contact', ENTRY_EMAIL_ADDRESS_CHECK_ERROR);

} elseif (!$entry_antirobotreg_error == true) {

tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));

}

 

// EOF Anti Robotic Registration v2.5

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONTACT_US));

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('contact_us', tep_href_link(FILENAME_CONTACT_US, 'action=send')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_contact_us.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

if ($messageStack->size('contact') > 0) {

?>

<tr>

<td><?php echo $messageStack->output('contact'); ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

}

 

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {

?>

<tr>

<td class="main" align="center"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE, '0', '0', 'align="left"') . TEXT_SUCCESS; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<?php

} else {

?>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td class="main"><?php echo ENTRY_NAME; ?></td>

</tr>

<tr>

<td class="main"><?php echo tep_draw_input_field('name'); ?></td>

</tr>

<tr>

<td class="main"><?php echo ENTRY_EMAIL; ?></td>

</tr>

<tr>

<td class="main"><?php echo tep_draw_input_field('email'); ?></td>

</tr>

<tr>

<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

// BOF Anti Robot Registration v2.5

if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') {

?>

<tr>

<td class="main"><b><?php echo CATEGORY_ANTIROBOTREG; ?></b></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" cellspacing="2" cellpadding="2">

<tr>

<?php

if (ACCOUNT_VALIDATION == 'true' && strstr($PHP_SELF,'contact_us') && CONTACT_US_VALIDATION == 'true') {

if ($is_read_only == false || (strstr($PHP_SELF,'contact_us')) ) {

$sql = "DELETE FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE timestamp < '" . (time() - 3600) . "' OR session_id = '" . tep_session_id() . "'";

if( !$result = tep_db_query($sql) ) { die('Could not delete validation key'); }

$reg_key = gen_reg_key();

$sql = "INSERT INTO ". TABLE_ANTI_ROBOT_REGISTRATION . " VALUES ('" . tep_session_id() . "', '" . $reg_key . "', '" . time() . "')";

if( !$result = tep_db_query($sql) ) { die('Could not check registration information'); }

?>

<tr>

<td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">

<tr>

<td class="main"><table border="0" cellspacing="0" cellpadding="2">

<tr>

<td class="main" width="100%" NOWRAP><span class="main"> <?php echo ENTRY_ANTIROBOTREG; ?></span></td>

</tr>

<tr>

<td class="main" width="100%">

<?php

$check_anti_robotreg_query = tep_db_query("select session_id, reg_key, timestamp from anti_robotreg where session_id = '" . tep_session_id() . "'");

$new_guery_anti_robotreg = tep_db_fetch_array($check_anti_robotreg_query);

$validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']);

if ($entry_antirobotreg_error == true) {

?>

<span>

<?php

echo $validation_images . ' <br> ';

echo tep_draw_input_field('antirobotreg') . ' <br><b><font color="red">' . ERROR_VALIDATION . '<br>' . $text_antirobotreg_error . '</b></font>';

} else {

?>

<span>

<?php

echo $validation_images . ' <br> ';

echo tep_draw_input_field('antirobotreg', $account['entry_antirobotreg']) . ' ' . ENTRY_ANTIROBOTREG_TEXT;

}

}

}

?>

</span>

</td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<?php

}

// EOF Anti Robot Registration v2.5

?>

<tr>

<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

<td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

</tr>

</table></td>

</tr>

</table></td>

</tr>

<?php

}

?>

</table></form></td>

<!-- body_text_eof //-->

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Share this post


Link to post
Share on other sites

This module was working until I finally got my Authorizenet_AIM module working.

 

When I try to create a new account I get this messgae:

 

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '7ecb574b98d456012911c92cd8dc1687' LIMIT 1' at line 1

 

SELECT * FROM anti_robotregWHERE session_id = '7ecb574b98d456012911c92cd8dc1687' LIMIT 1

 

[TEP STOP]

 

What is causing this and how do I fix it? It seems to be a database error as opposed to a program error.


Steve in Ellenton, FL

Share this post


Link to post
Share on other sites
Hi All

 

I'm running anti-robot 2.6. It works with true type turned off and email validate contrib installed

 

When going to the contact us link on the store index page I get now

 

Parse error: syntax error, unexpected $end in /home/centcom/public_html/onlinestore/contact_us.php on line 279

 

279 is the last line of the contact_us.php file

 

I don't get this one - any ideas?

 

Here's my contact_us.php file

 

Thanking you in advance

 

Bob

One closing bracket '}' is missing in your code. You can try to replace your contact_us.php file with the one came with the package of v2.5 or v2.6.


Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
SELECT * FROM anti_robotregWHERE session_id = '7ecb574b98d456012911c92cd8dc1687' LIMIT 1

you missed a space between anti_robotreg and WHERE.

 

I think it is line 174 in your create_account.php, it should read:

	  $sql = "SELECT * FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "' LIMIT 1";


Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites

Hey,

I've just installed v2.6 and everything works find except of the letters image that too small and can't see anything,

in the admin panel the length of validation code set on: 5.

 

(Screenshot Attached)

Image1.gif

 

 

Please Help.

 

Thanks.

Share this post


Link to post
Share on other sites

Set width and height of the image to a bigger value.

 

Try not to use ttf font at this moment. I think the v2.6 code needs some re-work. I have a modified version working at my live store, need to find some time to clean up the code and upload it.

Edited by AlexStudio

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
Hello Everybody,

As all of you I agree it is a great contribution.

But, unfortunately, after I downloaded the latest ver. (by moosey_jude 9 Feb 2007) I found only troubles.

1. downloaded files are incomplite : .sql file deos not include all records,

2. there is no .sgl file which adds entries to tabel : categories_description

3. no file that create table anti_robotreg,

 

After I fix all these mistakes I finaly receive a small table in my files (accoun_edit.php etc.) to put a validation code but NO VALIDATION CONDE HAS DISPLAYED !

My file validation_png.php works OK - I can see the image with code but it does NOT display in other files.

For 2 days I was searching the net and this forum - no results. I even lounch some solutions found on this topic but - nothing happend.

 

Please HELP.

 

If you need any part of code from my script please let me know I'll put it here or send on e-mail but I NEED THIS CONTRIB.

 

Thanks to ALL PEOPLE OF GOOD WILL ;)

 

Please, anybody can't halep me ? I just need to know how to fix missing validation code.

Thank you in advance.

Marek

Share this post


Link to post
Share on other sites
Hello Everybody,

As all of you I agree it is a great contribution.

But, unfortunately, after I downloaded the latest ver. (by moosey_jude 9 Feb 2007) I found only troubles.

1. downloaded files are incomplite : .sql file deos not include all records,

2. there is no .sgl file which adds entries to tabel : categories_description

3. no file that create table anti_robotreg,

 

After I fix all these mistakes I finaly receive a small table in my files (accoun_edit.php etc.) to put a validation code but NO VALIDATION CONDE HAS DISPLAYED !

My file validation_png.php works OK - I can see the image with code but it does NOT display in other files.

For 2 days I was searching the net and this forum - no results. I even lounch some solutions found on this topic but - nothing happend.

 

Please HELP.

 

If you need any part of code from my script please let me know I'll put it here or send on e-mail but I NEED THIS CONTRIB.

 

Thanks to ALL PEOPLE OF GOOD WILL ;)

 

Please, anybody can't halep me ? I just need to know how to fix missing validation code.

Thank you in advance.

Marek

Share this post


Link to post
Share on other sites
you missed a space between anti_robotreg and WHERE.

 

I think it is line 174 in your create_account.php, it should read:

	  $sql = "SELECT * FROM " . TABLE_ANTI_ROBOT_REGISTRATION . " WHERE session_id = '" . tep_session_id() . "' LIMIT 1";

 

 

Thank you VERY much! That indeed was the problem. All seems to be working OK now!


Steve in Ellenton, FL

Share this post


Link to post
Share on other sites
Hello Everybody,

As all of you I agree it is a great contribution.

But, unfortunately, after I downloaded the latest ver. (by moosey_jude 9 Feb 2007) I found only troubles.

1. downloaded files are incomplite : .sql file deos not include all records,

2. there is no .sgl file which adds entries to tabel : categories_description

3. no file that create table anti_robotreg,

 

After I fix all these mistakes I finaly receive a small table in my files (accoun_edit.php etc.) to put a validation code but NO VALIDATION CONDE HAS DISPLAYED !

My file validation_png.php works OK - I can see the image with code but it does NOT display in other files.

For 2 days I was searching the net and this forum - no results. I even lounch some solutions found on this topic but - nothing happend.

 

Please HELP.

 

If you need any part of code from my script please let me know I'll put it here or send on e-mail but I NEED THIS CONTRIB.

 

Thanks to ALL PEOPLE OF GOOD WILL ;)

 

HI,

Solution for my problem I found in post #286

 

Change

$validation_images = tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id']);

to

$validation_images = '<img src="validation_png.php?rsid=' . $new_guery_anti_robotreg['session_id'] . '">';

 

So, many thanks to SHOGUN :thumbsup:

Share this post


Link to post
Share on other sites
I'm having the same problem with the size of the image..t's working.. but very small..

hi nicholazen,

I was having the same problem: it was because I forgot to run the Anti Robot Registration 2.6 english.sql file that comes with the las full package, from moosey_jude on february 9, 2007.

Just in case you didn't find out yourself :rolleyes:

Share this post


Link to post
Share on other sites

Hurra. It's working, but it isn't working.

I Have clear version OSC2.2 and now I'm instal this contribution. I do all was writing in thos page:

http://www.oscommerce.com/community/contributions,1237

I instal this contribution:

Anti-Robot Registration Validation v2.6 - Updated Admin. Image and Text Control

with this fix;

Fix for CONFIG_CALCULATE_IMAGE_SIZE=='true'

 

And it is working. I have Adminisyrtion links t config this contribution. I see on my web this contribution but I don see nothing.

I see onlu black place without text. if You want to check please visit

https://www.shop.4x4zone.co.uk/create_account.php

 

What is the problem?

Share this post


Link to post
Share on other sites

I repair my problem.

 

In catalog ale 2 files:

validation_png.php

validation_png_2.5.php

 

If You use the last contribution (2.5 or 2.6) You must delate validation_png.php and rename

validation_png_2.5.php to validation_png.php.

It works.

Share this post


Link to post
Share on other sites

Sorry if this has already been mentioned on the thread, but is the 2.6 version correct? I can only seem to see mentions of 'Update from v2.x.x to v2.5' in the included sql files and docs, not to 2.6. Am I missing something obvious or have the docs not been updated - if so are they still relevant?

 

 

Also, is everyone happy with 2.6 or are there bugs that should put me off upgrading for the moment?

 

 

 

 

 

 

 

If I'm being a bit dim it's because it's Monday morning. ;)

Share this post


Link to post
Share on other sites

I've just install it this week end, and working just fine with me. Go for it! :D

Share this post


Link to post
Share on other sites

Greetings there,

 

This is indeed one of the most valuable modules, but I've experienced two issues making it work...

 

Firstly and most important is that I could not managed to enter a correct code,

I always get this "Invalid Identification Code"

 

I've even copied the id from the database and paste it in but it did not worked either.

I've also checked the code that makes the comparison as Alex posted previously but it is the same.

 

Do anybody know any workaround for this? Or if you know where or what to check??

 

Secondly I've made the small change to the code and placed the arial.ttf font to the fonts directory.

This have caused a strange reaction..

I have enabled the ttf fonts and entered the fonts directory but the code is still being rendered as before (without ttf fonts)

 

I dont have problem to use the non-ttf fonts as well - the important is to make it work...

 

 

Thank you for your support anyway

 

Cheers ;)

 

George

Share this post


Link to post
Share on other sites

Hello again,

 

So it seems that this is a really tough problem and noone knows what to look for..

 

 

Anyway thank you - let the great luck be with me :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×