Jump to content
Sign in to follow this  
Druide

NEW: Anti Robot Registration Validation

Recommended Posts

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,

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

I have update to the 2.6 from 2.5 and 2.5 work fine

 

Someone have a fix to this ???

Is get a black box, where are the charters ???

 

vali.jpg

 

But is only when Use TrueType fonts? is set to true

 

Hope someone can help here.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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 :)

Share this post


Link to post
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.

Share this post


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

Share this post


Link to post
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 :)

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
Probably the GD library requred by v2.6 is not available on your server.

 

The GD library is eneable on my server, so it not there the error are

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  

×