Jump to content
Sign in to follow this  
Druide

NEW: Anti Robot Registration Validation

Recommended Posts

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

 

I had this same problem and this post http://forums.oscommerce.com/index.php?sho...4205&st=288 fixed everything oh, and I also had to change this line in create_account.php:

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

to this:

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

This solved all of my problems with 2.6.

 

Don't forget when your including the path to your own fonts dir that you include the full absolute path and not the relative path

 

Also the other important thing is in your administration control panel where you modify the options of this contrib, you nee to make sure that you specify the exact filename of the TTF font that you uploaded for example if you uploaded 'arial.ttf' to your fonts directory, you would enter 'arial.ttf' (this is case sensitive and is not the same as 'ARIAL.TTF').

 

Hope this helps,

ciao

Share this post


Link to post
Share on other sites
The GD library is eneable on my server, so it not there the error are

Which version the GD lib it is?


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
Which version the GD lib it is?

gd

GD Support enabled

GD Version bundled (2.0.28 compatible)

FreeType Support enabled

FreeType Linkage with freetype

T1Lib Support enabled

GIF Read Support enabled

GIF Create Support enabled

JPG Support enabled

PNG Support enabled

WBMP Support enabled

XBM Support enabled

Share this post


Link to post
Share on other sites

Then it should work. I can't see why v2.6 with my add-on code didn't work for you.


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
Then it should work. I can't see why v2.6 with my add-on code didn't work for you.

 

Hey Alex

When you come with a new update someday, i will try it.

 

Thanks for you great work and support.

Share this post


Link to post
Share on other sites
Where????

I have the same Problem....

:blink:

 

The mistake was,missing entries in the database.......

 

The contrib runs now perfectly......thanks for that :thumbsup:

Share this post


Link to post
Share on other sites

Here's my problem:

 

I have installed the following code in application_top.php just before the last ?> as part of a Private site contribution.

 

	  if (!tep_session_is_registered('customer_id')) {
	$navigation->set_snapshot();
	tep_redirect(FILENAME_LOGIN);
	// tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
  }

 

This causes the Anti Robot registration graphic not to display. Specifically the tep_redirect function is causing it (when it is commented out, everything displays fine).

 

Any suggestions on how to fix this would greatly be appreciated.

 

Thanx,

 

Ed

Share this post


Link to post
Share on other sites

Here's my problem:

 

I have installed the following code in application_top.php just before the last ?> as part of a Private site contribution.

 

	  if (!tep_session_is_registered('customer_id')) {
	$navigation->set_snapshot();
	tep_redirect(FILENAME_LOGIN);
	// tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
  }

 

This causes the Anti Robot registration graphic not to display. Specifically the tep_redirect function is causing it (when it is commented out, everything displays fine).

 

Any suggestions on how to fix this would greatly be appreciated.

 

Thanx,

 

Ed

Share this post


Link to post
Share on other sites

Regarding my previous posts, my problem is solved and for the record:

 

With help from husgom who created the contribution: Private Shop he suggested that the image processor file had to be included in the list of approved files to have the Anti Robot image displayed:

 

	 if (strpos($PHP_SELF, "login.php") == 0 && strpos($PHP_SELF, "privacy.php") == 0 && strpos($PHP_SELF, "conditions.php") == 0 && strpos($PHP_SELF, "contact_us.php") == 0 && strpos($PHP_SELF, "create_account.php") == 0 && strpos($PHP_SELF, "validation_png.php") == 0) {
   if (!tep_session_is_registered('customer_id')) {
	$navigation->set_snapshot();
	tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'NONSSL'));
  }
}

 

and he was right! :thumbsup:

 

Just for the record,

 

Ed

Share this post


Link to post
Share on other sites

I have installed version 2.6 of this great contribution and everything looks fine but it seems like any validation code I put in the input-field is accepted. Any ideas of what I have done wrong?

 

excuse my poor english :blush:

Share this post


Link to post
Share on other sites

I have installed version 2.6 of this great contribution and everything looks fine but it seems like any validation code I put in the input-field is accepted. Any ideas of what I have done wrong?

 

excuse my poor english :blush:

Share this post


Link to post
Share on other sites

The problem is limited to contact_us.php, the other pages with validation is working fine. I have one other contribution installed, valid XHTML Catalog Side 2.7, maybe the problem is related to this?

Share this post


Link to post
Share on other sites

I found out that I had forgot to add one change in the installation instructions. Sorry! :-" :-" :-"

Share this post


Link to post
Share on other sites

When I enter wrong validation code and refresh the page, the code is still in the text field.

How the wrong validation code can disappear every time when I refresh the page?

I want the field be empty. Maybe it is very easy, but I can not do it.

Edited by EndGy

Share this post


Link to post
Share on other sites

Upgraded from 2.4 to 2.6. After a few changes suggested on this thread, all is working with the image.

 

However, now, if I for example change account info, enter the characters and press Submit, I go to a blank page. The only way to fix it is to close the browser and restart.

 

Thoughts?

Share this post


Link to post
Share on other sites

okay.. I've installed this mod.. the admin part works fine, but if I go to a page with the validation in it doesn't display the numbers.. instead it's just black with white fuzz.

This is only when set to use truetype fonts.. if I use bitmap it works fine. I'm wanting to use trutype though... any ideas?

Share this post


Link to post
Share on other sites

Hi guys!

i have a problem with this contribution, i've installed the mod and it doen't break a thing (pheww.. thank you god :-") but no validation image appears. What have i done wrong?.. Can anyone help? :thumbsup: :lol:


"I am not a Newbie but I am not an Expert either..."
"Lets learn about osCommerce together!..."

Share this post


Link to post
Share on other sites

Hi guys!

i have a problem with this contribution, i've installed the mod and it doen't break a thing (pheww.. thank you god :-") but no validation image appears. What have i done wrong?.. Can anyone help? :thumbsup: :lol:


"I am not a Newbie but I am not an Expert either..."
"Lets learn about osCommerce together!..."

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  

×