Skip to main content

Email verification

More
13 years 7 months ago #87827 by MotD
Email verification was created by MotD
Hi,

i have the Starter Shop and displayed the Email verification field.
But the field can be blank - there is no verification.

How can i change this?

Tanks !

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88013 by nicolas
Replied by nicolas on topic Email verification
Hi,

Please add the code:
Code:
if($config->get('show_email_confirmation_field')){ $main[] = 'email_confirm'; }
before the line:
foreach($main as $field){

and the line:
if($field=='email_confirm')$field = 'HIKA_EMAIL_CONFIRM';

before the line:
$this->validMessages[] = addslashes(JText::sprintf('FIELD_VALID',$fieldsClass->trans($field)));

in the file components/com_hikashop/user/view.html.php and that will fix the problem. That fix will be in next version of HikaShop.
The following user(s) said Thank You: sambob

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #88020 by sambob
Replied by sambob on topic Email verification
Hi Nicolas,

I have the same issue with J3 Version, but I cannot see the file (folder) you mention:

components/com_hikashop/user/view.html.php

There is no 'user' folder.

I do have /components/com_hikashop/views/user/view.html.php

But does not have the line $this->validMessages[] = addslashes(JText::sprintf('FIELD_VALID',$fieldsClass->trans($field)));

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'
Last edit: 13 years 7 months ago by sambob.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88058 by Xavier
Replied by Xavier on topic Email verification
Hi,

Yes this code is in the file "/components/com_hikashop/views/user/view.html.php".
It should be near the line 128.
The following user(s) said Thank You: sambob

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88194 by sambob
Replied by sambob on topic Email verification
Hi Xavier,

thanks.

This line?

$this->validMessages[] = addslashes(JText::sprintf('FIELD_VALID',$fieldsClass->trans($field)));

Thanks again appreciate it.

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88277 by Jerome
Replied by Jerome on topic Email verification
Hi,

and the line:
if($field=='email_confirm')$field = 'HIKA_EMAIL_CONFIRM';

before the line:
$this->validMessages[] = addslashes(JText::sprintf('FIELD_VALID',$fieldsClass->trans($field)));

I guess that exactly the same line content that you pasted, so : yes.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: sambob

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88390 by sambob
Replied by sambob on topic Email verification
Hi Jerome,

No joy... it is now saying "Please enter a value for the field email"

magnetec.com.au/joom3/rare-earth-blocks/checkout

Any thoughts?

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88527 by nicolas
Replied by nicolas on topic Email verification
Can you do a screenshot of the whole piece of code so that we can check how you did the modification ?

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88541 by sambob
Replied by sambob on topic Email verification
Here you go..


Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88782 by Xavier
Replied by Xavier on topic Email verification
Hi,

You can take the latest version of HikaShop from our website, ands it should fix your problem.
The following user(s) said Thank You: sambob

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #88886 by sambob
Replied by sambob on topic Email verification
Hi Xavier, yes it did.

Kudos to the Team!

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

Please Log in or Create an account to join the conversation.

Time to create page: 0.248 seconds
Powered by Kunena Forum