Email verification

  • Posts: 5
  • Thank you received: 0
11 years 3 months ago #87827

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.

  • Posts: 81716
  • Thank you received: 13106
  • MODERATOR
11 years 3 months ago #88013

Hi,

Please add the 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.

  • Posts: 260
  • Thank you received: 25
11 years 3 months ago #88020

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: 11 years 3 months ago by sambob.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #88058

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.

  • Posts: 260
  • Thank you received: 25
11 years 3 months ago #88194

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.

  • Posts: 26034
  • Thank you received: 4006
  • MODERATOR
11 years 3 months ago #88277

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.

  • Posts: 260
  • Thank you received: 25
11 years 3 months ago #88390

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.

  • Posts: 81716
  • Thank you received: 13106
  • MODERATOR
11 years 3 months ago #88527

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.

  • Posts: 260
  • Thank you received: 25
11 years 3 months ago #88541

Here you go..


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

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #88782

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.

  • Posts: 260
  • Thank you received: 25
11 years 3 months ago #88886

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.099 seconds
Powered by Kunena Forum