PDA

View Full Version : email address problem with Vivvo . . .


abenzev
05-06-2007, 06:23 PM
I find that any person with an email address with a period in the name is not accepted as a valid email address.

Example; ob.craige@gmail.com is perfectly acceptable to gmail and all email engines but when I check it out with Vivvo I get the error message;

"Please enter valid email address" and that person cannot become a member of my website.

Any plans for a patch on this?

Avraham

Alex
05-06-2007, 10:30 PM
True, this is a bug. We'll patch this for future release, meanwhile I'll try to post a fix for this first thing in the morning.

Alex
05-07-2007, 09:26 AM
Here's a quick fix for this:

/templates/login_form.tpl

Instead of line 91:
if (frm.email.value.indexOf("@")<1 || frm.email.value.indexOf(".")<4) {

Put this:
temp = /^[a-zA-Z0-9_\-\/\.]+@[a-zA-Z0-9_\-\/]{2,}([\.][a-zA-Z0-9_\-\/]{2,}){1,}$/;
if (!frm.email.value.match(temp)) {