Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW: Anti Robot Registration Validation


Druide

Recommended Posts

Hey Alex,

 

Any chance of adding this great contribution to the oscAffiliate registration? I just installed v2.5a of the affiliate contribution and after a bit of tinkering to fix a few bugs covered in the forums, it's working great! Now if I just had the security of Anti Robot Registration, life would be perfect :lol:

 

http://www.oscommerce.com/community/contri...ons,158/page,41

 

Thanx,

 

Ed

Link to comment
Share on other sites

Hi,

 

Installed this mod and came across the problem where the letters are not showing up on any of the pages. I did the test using the rsid and the validation_png.php and the letters showed UP OK.

 

The instructions mention if another mod has been installed there is a fix

 

If you see the png validation images with validation code when doing this test, but not in any form such as create_account, account_edit, account_password and contact_us, you probably have installed some other contribs which have modified the tep_image() function in html_output.php file under catalog/includes/functions. Please search in the support thread regarding this issue, and you can find a 'work around' in there.

 

I have spent ages searching for this fix as I may well have installed another MOD for our contact_us page where maps and the spam robot are shown. Can anyone point me in the rigth direction for this fix.

 

Thanks

 

Damian

Link to comment
Share on other sites

Hi,

 

Installed this mod and came across the problem where the letters are not showing up on any of the pages. I did the test using the rsid and the validation_png.php and the letters showed UP OK.

 

The instructions mention if another mod has been installed there is a fix

I have spent ages searching for this fix as I may well have installed another MOD for our contact_us page where maps and the spam robot are shown. Can anyone point me in the rigth direction for this fix.

 

Thanks

 

Damian

 

try this it worked for me

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'] . '">';

 

I also had to use the 2.5 version of catalog\validation_png.php

as the 2.6 version just leaves me with a black box.

 

Is there a fix so I can use the 2.6version of validation_png.php

 

Regards

Shaun

 

posted by shaun

 

except it doesnt recognise the code as being valid can anyone help im using 2.6

Edited by steve_s
Link to comment
Share on other sites

i have found the problem and fix it, but now I only see the gray image without seeing any numbers or letters inside, any idea?

thanks,

 

Hi korush try method above this post hehe are you same koroush as on digi forum?

Link to comment
Share on other sites

Excellent. Thanks for all your help here.

For those that are using imagemagic just point the code to your existing fonts folder:

putenv('GDFONTPATH=' . DIR_FS_CATALOG . 'includes/imagemagic/fonts/');

 

Works like a champ.

 

Why do that ??? when you set "Use TrueType fonts?" to false you get the same. So it not a fix.

Link to comment
Share on other sites

have you tried this

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'] . '">';

 

i get characters but even when you enter correct ones says it is invalid

Link to comment
Share on other sites

have you tried this

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'] . '">';

 

i get characters but even when you enter correct ones says it is invalid

Link to comment
Share on other sites

I have try this Alex, is give the same result when i get the "Use TrueType fonts?" to false

Go back to v2.5.

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.

Link to comment
Share on other sites

i replaced 2.6 with 2.5 and had no images so implementad

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'] . '">';

 

get char and always says entry is invalid

Link to comment
Share on other sites

have you tried this

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'] . '">';

 

i get characters but even when you enter correct ones says it is invalid

 

Is not work here :)

Link to comment
Share on other sites

Hmmmmm, do you now where this error is there ????

Probably the GD library requred by v2.6 is not available on your server.

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.

Link to comment
Share on other sites

im using 2.5 i had no images so implementated change below now i get images

but always says its invalid when i enter the correct code

 

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'] . '">';

Link to comment
Share on other sites

im using 2.5 i had no images so implementated change below now i get images

but always says its invalid when i enter the correct code

 

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'] . '">';

 

welcome to real world :)

Link to comment
Share on other sites

If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution.

 

For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots).

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.

Link to comment
Share on other sites

If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution.

 

For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots).

 

Thank u for your reply

 

Sessions are being stored in the database and the cookie domain is set to localhost cause I'm testing it localy before going live. Is this might be the issue?

Link to comment
Share on other sites

If you can see the validation code but cannot get passed with the validation, most likely you have sessions setup incorrectly or not compatible with this contribution.

 

For this contribution to work, you must store session record in database. Also check your cookie domain settings, it should read '.mydomain.com' (2 dots) or '.mydomain.co.kr' (3 dots).

 

im testing it on my test server so is localhost for cookie domain on my real site im using seesion id killer and sessions are not stored in the database so i guess this contribution might not work on my real site?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...