Double confirmation of privacy policy

  • Posts: 2143
  • Thank you received: 747
3 years 1 month ago #330308

-- HikaShop version -- : 4.4.1 Business
-- HikaMarket version -- : 3.1.1
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4.15

Hi Jerome,

I'm helping a holder of a HikaMarket license (togoMedia) with setup, config, etc.

There's a menu item for the vendor registration form in use for guests, so that anyone without a Joomla account can register. Among the other fields, in that form the future vendor also confirms his agreement with the privacy policy via the native Joomla plugin.

Self-activation is set for both, Joomla's general user options and HikaMarket. All good, upon submitting the vendor registration form, the user receives an email with the activation link. But after clicking it, he lands on the Joomla user profile edit page and is required to agree with the privacy policy again. That's hard to explain, rather looking silly, haha...

Against the odds, could I have overlooked something in the config? Or which other trick allows skipping this?

Thanks in advance for your reply.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 1 month ago #330322

Hello,

Thank you for the report.
There is changes in the HikaShop core regarding the registration and the HikaMarket core do not perform the same call function thus the "addUserConsent" is not processed.

I'm working on a patch.

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: lousyfool

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

  • Posts: 2143
  • Thank you received: 747
3 years 1 month ago #330520

Hi Jerome,

Any luck with this? Would be great to have a patch soon, obviously. Thanks!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 1 month ago #330550

Hello,

I can prepare the HIkaMarket 4.0.0 release but it's not "polished" so some developments won't be integrated (but the J4 support would be okay even not design perfect!)

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.

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

  • Posts: 2143
  • Thank you received: 747
3 years 1 month ago #330559

Hi again,

Thanks for your reply. I understand it being equally awkward to either keep us waiting much longer for this particular patch, or release a new version prematurely.

Now, since you mentioned "patch", would it be possible for you to apply it as a hotfix to the current 3.1.1 (like HikaShop does as well from time to time)?
Or, alternatively, exceptionally, and assuming that only one or very few files are affected, get us the patched file(s) via email to the address under my or togoMedia's account here?

BTW, the site in question runs under J 3.9, and I don't foresee it going to J 4 anytime soon.

Thank you once again.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 1 month ago #330609

Hello,

HikaMarket user class :

/* patch -> */
		$language = JFactory::getLanguage();
		$language->load('lib_joomla', JPATH_SITE);
		$privacy = $this->userClass->getPrivacyConsentSettings();
		if($privacy && !$registerData->privacy) {
			$ret['status'] = false;
			$ret['messages']['PLG_SYSTEM_PRIVACYCONSENT_FIELD_ERROR'] = array(JText::_('PLG_SYSTEM_PRIVACYCONSENT_FIELD_ERROR'), 'error');
			return $ret;
		}
/* <- patch */
		if(!$user->bind($data, 'usertype')) {
			$app->enqueueMessage($user->getError(), 'error');
			return false;
		}
And
/* patch -> */
		if($privacy)
			$this->userClass->addUserConsent($user);
/* <- patch */
		$this->user_id = $this->userClass->save($userData);
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: lousyfool

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

  • Posts: 2143
  • Thank you received: 747
3 years 1 month ago #330627

Thank you, Jerome!


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

Moderators: Obsidev
Time to create page: 0.064 seconds
Powered by Kunena Forum