Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

NEW: Anti Robot Registration Validation


Druide

Recommended Posts

it IS cool...lol

 

here is a screenshot preview

http://www.ruddlesmills.com/tmp/preview Anti Robot Reg.png

 

took me way to long to convert because of a typo that i missed (about 8+ hours)

 

Currently i am implementing a 'on the fly' creating of the graphics, so that people have 2 choices to work with (GDLIB installed or not)

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

PNG not supported with adding IMG ...lol

 

SCREENSHOT:

preview.gif

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

If it is included in core code, I would love for it to have and on/off option. I have this on other software I use and although it is a GREAT idea, it gets tiresome when *I* forget my password and have to retype the security code and I type that wrong, and on and on.... :)

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Oops, I guess I should read better, this is just for signing up, not for each time they log in? Cooler still!!!

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

This is just for REGISTRATION & EDIT ACCOUNT but that's more then enough i thought so.

 

If you want to edit your account info then the VALIDATION CODE will show up, another way to keep those scriptgeeks busy....lol

 

** I was also thinking to put a LIMIT TIME on editing ACCOUNT INFO but that is still another thing on the TODO list.

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

Its easy to get it to show up when opening an account but not when editing account, just use the $read_only tag in OSC.

 

The JavaScript Entry checks will also need to be moddified other wise it will throw a funny....

 

But nice work Druide!!!

Link to comment
Share on other sites

Just a couple of bugs in the sql file...

 

Change:

CREATE TABLE anti_robotic_reg (

session_id char(32) DEFAULT '' NOT NULL,

reg_key char(5) NOT NULL,

timestamp int(11) unsigned NOT NULL,

PRIMARY KEY (session_id))

 

to

 

CREATE TABLE anti_robotreg (

session_id char(32) DEFAULT '' NOT NULL,

reg_key char(5) NOT NULL,

timestamp int(11) unsigned NOT NULL,

PRIMARY KEY (session_id))

 

otherwise an excellent contribution ...thanks :)

Link to comment
Share on other sites

The JavaScript Entry checks will also need to be moddified other wise it will throw a funny....

 

Please be specific, if there's anything not right just tell me what it is before i / we have to answer the same questions over and over again...

 

It's version 1.0 so there should be some bugs in it...:lol:

 

I'll update the original when i get tips / complains what to change.

 

I like the idea of making the EDIT ACCOUNT validation optional

 

Thanks for that one Warren

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

The JavaScript Entry checks will also need to be moddified other wise it will throw a funny....

 

Please be specific, if there's anything not right just tell me what it is before i / we have to answer the same questions over and over again...

 

It's version 1.0 so there should be some bugs in it...:lol:

 

I'll update the original when i get tips / complains what to change.

 

I like the idea of making the EDIT ACCOUNT validation optional

 

Thanks for that one Warren

 

The JavaScript Entry checks will also need to be moddified other wise it will throw a funny....

 

This isnt a bug,

What I was saying that if you use the $read_only tag to only use validation upon create account you would need to modify the JavaScript aswell otherwise, when editing the account it will say that you have not typed anything for the validation field.

Link to comment
Share on other sites

Hi Guys,

 

 

First off, Thanks Druide again for this work. You rock!.

 

However, while doing the insertions for the codes, i could not find some of the codes name the installation guide was asking to open.

Such as:

 

open catalog/includes/database_tables.php

 

 

open catalog/includes/filenames.php

 

Okay, now by looking in the install, i saw this:

 

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

NOTE: I Have added the CVS versions of the files that i have used,

do not complain if yours is not the same (like older versions)

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

EXAMPLE:

/======== BEGIN ==========/

open catalog/includes/database_tables.php

$Id: database_tables.php,v 1.1 2003/03/14 02:10:58 hpdl Exp $

 

Well i am not complaining but isn't it a way to work around this since i am sure if i dont have it there's tons out there that probably dont have have it either.

 

So can you tell me the working around way?

 

Thanks alot...

Great contribution

Link to comment
Share on other sites

Just a couple of bugs in the sql file...

 

Change:

CREATE TABLE anti_robotic_reg (

session_id char(32) DEFAULT '' NOT NULL,

reg_key char(5) NOT NULL,

timestamp int(11) unsigned NOT NULL,

PRIMARY KEY (session_id))

 

to

 

CREATE TABLE anti_robotreg (

session_id char(32) DEFAULT '' NOT NULL,

reg_key char(5) NOT NULL,

timestamp int(11) unsigned NOT NULL,

PRIMARY KEY (session_id))

 

otherwise an excellent contribution ...thanks :)

 

Thanks for spotting that one (it was a last minute change)

 

I will update it in the next version, that will be uploaded today (No ETA)

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

Hi Guys,

 

 

First off, Thanks Druide again for this work. You rock!.

 

However, while doing the insertions for the codes, i could not find some of the codes name the installation guide was asking to open.

Such as:

 

open catalog/includes/database_tables.php

 

 

open catalog/includes/filenames.php

 

Okay, now by looking in the install, i saw this:

 

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

NOTE: I Have added the CVS versions of the files that i have used,

do not complain if yours is not the same (like older versions)

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

EXAMPLE:

/======== BEGIN ==========/

open catalog/includes/database_tables.php

$Id: database_tables.php,v 1.1 2003/03/14 02:10:58 hpdl Exp $

 

Well i am not complaining but isn't it a way to work around this since i am sure if i dont have it there's tons out there that probably dont have have it either.

 

So can you tell me the working around way?

 

Thanks alot...

Great contribution

 

Just put them in catalog/includes/application_top.php

 

Warren

Link to comment
Share on other sites

I'm not sure a time limit on filling out the application is a good idea. Once again, as someone that is easily distracted, I could start filling out a form, the phone will ring, my email program tells me I have new email and when I check it is something important I need to attend to, which reminds me of something else I need to do, I find the page I was filling out and then if it has timed out I am ticked off that I have to retype everything and maybe I just go on to something else................

 

:roll: But that's just me....

 

And Jeff, no, I don't generally sleep much :)

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

new version posted

 

Anti Robot Registration Validation 1.0.1

 

 

 

Cheetahs wrote:

 

However, while doing the insertions for the codes, i could not find some of the codes name the installation guide was asking to open.

Such as:

 

open catalog/includes/database_tables.php

 

 

open catalog/includes/filenames.php

 

Okay, now by looking in the install, i saw this:

 

Quote:

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

NOTE: I Have added the CVS versions of the files that i have used,

do not complain if yours is not the same (like older versions)

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

EXAMPLE:

/======== BEGIN ==========/

open catalog/includes/database_tables.php

$Id: database_tables.php,v 1.1 2003/03/14 02:10:58 hpdl Exp $

 

 

Well i am not complaining but isn't it a way to work around this since i am sure if i dont have it there's tons out there that probably dont have have it either.

 

So can you tell me the working around way?

 

The FIX for this is ONLY when you don't have those 2 files

you can include the info from those 2 files into catalog/includes/application_top.php

 

replace at the end of catalog/includes/application_top.php

?>

with

// Anti Robot Registration Validation 1.0.1

define('FILENAME_ACCOUNT_VALIDATION', 'account_validation.php');

define('TABLE_ANTI_ROBOT_REGISTRATION', anti_robotreg');

 

?>

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

:oops::oops:

you're right deborah

 

I'm not sure a time limit on filling out the application is a good idea. Once again, as someone that is easily distracted, I could start filling out a form, the phone will ring, my email program tells me I have new email and when I check it is something important I need to attend to, which reminds me of something else I need to do, I find the page I was filling out and then if it has timed out I am ticked off that I have to retype everything and maybe I just go on to something else................

 

:roll: But that's just me....

 

And Jeff, no, I don't generally sleep much :)

 

Dohh...

you see my posting time, it was waiting forever in a window....lol

I was doing something else, we are getting ready to move to our just bought house so sorry for the late and double reply :oops:

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

This one is for Robert and Warren.

 

Thanks guys.

 

I appreciate the response. I will try what you good folks to me.

 

Again Tks.

Link to comment
Share on other sites

The FIX for this is ONLY when you don't have those 2 files

you can include the info from those 2 files into catalog/includes/application_top.php

 

replace at the end of catalog/includes/application_top.php

Code:

?>

 

with

Quote:

 

// Anti Robot Registration Validation 1.0.1

define('FILENAME_ACCOUNT_VALIDATION', 'account_validation.php');

define('TABLE_ANTI_ROBOT_REGISTRATION', anti_robotreg');

 

?>

 

 

Thanks Druide for the contribution, however i was having the same problem as cheetahs and added the code you've asked him to insert in his application top.

And after insertion of the code, i got an error in my shop.

Basically it was a typo mistake.

 

Here's the correct code that should go in the application top.php

 

// Anti Robot Registration Validation 1.0.1

define('FILENAME_ACCOUNT_VALIDATION', 'account_validation.php');

define('TABLE_ANTI_ROBOT_REGISTRATION', 'anti_robotreg');

 

?>

 

Notice the change: '

Thanks

Link to comment
Share on other sites

Okay i wanted to make a little change to catalog/includes/languages/english/account_validation.php since i didn't find that line to be too attractive.

That is just me, SO PEOPLE DON'T TAKE THIS PERSONAL.

 

So for the ones that feel the same please remove this line out :

 

define('ENTRY_ANTIROBOTREG', 'To make sure that you are not a searchengine robot,<br> please type what letters you see in the image on the right');

 

and replace with this:

 

define('ENTRY_ANTIROBOTREG', 'Enter the letters as shown above the box.<BR><i>This help prevent automated registrations</i>. ');

 

Much Better! :D

Link to comment
Share on other sites

thanks Benjamin, i will update the core files.

 

I dunno what happend here but that does not matter now,

you spotted the 'bug' so thanks for fixing it,

i will also include your other change in the next release

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Link to comment
Share on other sites

discovered another BUG :oops:

 

i am too busy with moving to my new house i guess,

my mind gets distracted

 

in catalog/includes/languages/english/account_validation.php

REPLACE LAST LINE with this

define('JS_VALIDATION', '* The 'Validation Code' entry must have ' . ENTRY_VALIDATION_LENGTH . ' characters.n');

 

Sorry for that, i guess that's why you are all here, to function as a bugtracker :lol:

 

Anyway i do really appreciate the help from everyone and i hope you all like my contributions to osC

 

I'll wait about 5 hours before i'll update to version 1.0.1a

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

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...