PDA

View Full Version : [Mod Request] [Urgent requirement] E-Mail Confirmation on account creation/edit



ridexbuilder
11-02-2012, 01:29 PM
In previous releases of 'Max, I had a mod that required customers to confirm their email, during account creation. This was beneficial by reducing typing mistakes, as well as giving a slight reduction in nutters creating spammy accounts. Passwords are confirmed, why not email address - just as important?

With 'Max 2.5.x now 'blessed' by swathes of javascript it is not nearly as straightforward to add the mod - I tried in vain for an hour or so, before giving up! There was a thread with my changes in it, for 'Max 2.0.x but I couldn't find it in a search. So had to start from scratch. :(

As previously stated, I do think that this should be an integral part of 'Max but this appears to have been overlooked or swept aside.

Any takers?

EJ

pgmarshall
11-02-2012, 03:29 PM
Do you have a link to the mod?

Regards,

ridexbuilder
11-02-2012, 03:30 PM
Do you have a link to the mod?

Regards,
Hi,
I searched for it around here, to no avail. Thought I'd labelled it as a core hack.
EJ

ridexbuilder
11-02-2012, 03:33 PM
I found it this time! Hurrah! :D
http://www.oscmax.com/forums/oscmax-v2-customization-mods/26305-hack-email-confirmation.html

The check_form javascript has thrown me off in 2.5.x - too much for my grey matter. :|

pgmarshall
11-03-2012, 08:49 AM
I think the form check javascript has always been there. I certainly did not add it!

It also appears to be duplicating the php checks ... Should be one or the other not both!

Regards,

ridexbuilder
11-03-2012, 08:55 AM
I think the form check javascript has always been there. I certainly did not add it!

It also appears to be duplicating the php checks ... Should be one or the other not both!

Regards,
OK. I'll take another look when I'm feeling more up to it ((bowled over by a virus :()) and stick with the PHP stuff. Ta.

wkdwich
11-06-2012, 09:02 PM
http://www.oscmax.com/forums/oscmax-v2-customization-mods/26305-hack-email-confirmation.html
that what you were looking for???

ridexbuilder
11-06-2012, 11:43 PM
http://www.oscmax.com/forums/oscmax-v2-customization-mods/26305-hack-email-confirmation.html
that what you were looking for???
You're skim reading again! See previous posts.

I had to revert my changes last night amidst other unrelated problems. :(

wkdwich
11-07-2012, 05:36 AM
darn I thought I was doing good but you pegged me as usual :)

JRR
12-03-2012, 10:18 AM
I found it this time! Hurrah! :D
http://www.oscmax.com/forums/oscmax-v2-customization-mods/26305-hack-email-confirmation.html

The check_form javascript has thrown me off in 2.5.x - too much for my grey matter. :|

Unfortunately this does not drop into 2.5.x easily...at least my initial attempt didn't work as expected. For the section:


1. catalog/includes/languages/english.php (and any other languages in use). Add underneath existing email entries, or just before the last ?> I couldn't find that file so instead picked on catalog/includes/languages/english/account.php as it seemed the closest - for that (and keeping the rest as defined) I got a new line for the password verify, but the text was wrong - definitions were "ENTRY_EMAIL_CONFIRMATION" instead of "E-Mail Confirmation:" and "ENTRY_EMAIL_CONFIRMATION_TEXT" instead of "*". Plus the javascript verification ignored the incorrect email that I tested on my locahost machine, although it got the other page errors.

Now for some reason the system has a "*" beside "Company Name:" and "Company's tax id number:" and Javascript is asking for this info - it is not optional (I know, this is a separate issue and will post on it now).

pgmarshall
12-03-2012, 01:49 PM
Here you go guys ... r1910 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting (http://code.google.com/p/oscmax2/source/detail?r=1910)

Mostly Ridex's code with the javascript stuff done and I have made it admin controllable for those who might not want this.

Regards.

ridexbuilder
12-03-2012, 01:52 PM
Here you go guys ... r1910 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting (http://code.google.com/p/oscmax2/source/detail?r=1910)

Mostly Ridex's code with the javascript stuff done and I have made it admin controllable for those who might not want this.

Regards.
Thanks! Will help a lot, so much appreciated.

pgmarshall
12-03-2012, 03:01 PM
Sorry - missed a bit when javascript is disabled.

r1915 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting (http://code.google.com/p/oscmax2/source/detail?r=1915)

Regards.

ridexbuilder
12-03-2012, 03:03 PM
Sorry - missed a bit when javascript is disabled.

r1915 - oscmax2 - osCmax - osCommerce Maximized - Google Project Hosting (http://code.google.com/p/oscmax2/source/detail?r=1915)

Regards.

At least you're checking stuff. ;)
Gonna wait until I've got a better coding head on, before implementing..