- Posts: 152
- Thank you received: 11
Php code for "Email will be username"
3 years 1 month ago - 3 years 1 month ago #354507
by gerryna09
Php code for "Email will be username" was created by gerryna09
-- HikaShop version -- : 4.7.5
-- HikaMarket version -- : 4.1.1
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0.29
Market options > Registration options > Email will be username > YES
In the registration.php file there is the condition if($this->config->get('registration_email_is_username', 0) == 0)
In that php file there is the code that "copy" the value of the email in the username field ??
Thanks
-- HikaMarket version -- : 4.1.1
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.0.29
Market options > Registration options > Email will be username > YES
In the registration.php file there is the condition if($this->config->get('registration_email_is_username', 0) == 0)
In that php file there is the code that "copy" the value of the email in the username field ??
Thanks
Last edit: 3 years 1 month ago by gerryna09.
Please Log in or Create an account to join the conversation.
3 years 1 month ago #354519
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Php code for "Email will be username"
Hello,
When the setting is enabled, the "username" field is not displayed during the registration.
The HikaShop/Joomla registration process will use the email as username.
Regards,
When the setting is enabled, the "username" field is not displayed during the registration.
The HikaShop/Joomla registration process will use the email as username.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
3 years 1 month ago #354530
by gerryna09
Replied by gerryna09 on topic Php code for "Email will be username"
Hi Jerome, it's all clear to me 
I would like to know in which php file there is the code that "copy" the value of the email in the username field
I would like to know in which php file there is the code that "copy" the value of the email in the username field
Please Log in or Create an account to join the conversation.
3 years 1 month ago #354535
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Php code for "Email will be username"
Hello,
administrator/components/com_hikamarket/classes/user.php
function : register
Regards,
administrator/components/com_hikamarket/classes/user.php
function : register
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.201 seconds