Skip to main content

Double confirmation of privacy policy

More
5 years 7 months ago #330308 by lousyfool
-- 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.

More
5 years 7 months ago #330322 by Jerome
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.
The following user(s) said Thank You: lousyfool

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

More
5 years 6 months ago #330520 by lousyfool
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.

More
5 years 6 months ago #330550 by Jerome
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.

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

More
5 years 6 months ago #330559 by lousyfool
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.

More
5 years 6 months ago #330609 by Jerome
Hello,

HikaMarket user class :
Code:
/* 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
Code:
/* 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.
The following user(s) said Thank You: lousyfool

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

More
5 years 6 months ago #330627 by lousyfool
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.216 seconds
Powered by Kunena Forum