Autologin after registration

  • Posts: 53
  • Thank you received: 2
9 years 2 months ago #213766

-- url of the page with the problem -- : www.vitaking.ro
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.4

Hi,

The checkout page performs an autologin after registration. That's very useful, as the user doesn't need to enter again the credentials. I need this function also on the user registration form (standalone, not on the checkout page). Can someone point me in the right direction where to search and modify in order to have this?

Thank you!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #213769

Hi,

The Joomla registration page doesn't have that capability. So we didn't implement it in the standalone registration page of HikaShop either.
You would have to edit the file components/com_hikashop/controllers/user.php and add custom code in the register function.
But the simplest would be to use an extension made to support that for you:
extensions.joomla.org/profile/extension/...ss/login-immediately

The following user(s) said Thank You: otx

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

  • Posts: 53
  • Thank you received: 2
9 years 2 months ago #213886

Dear Nicolas,

Thank for your help! I will take a look at the file you mentioned. But it would be a nice addition to Hikashop to have this possibility, so after the registration the user gets a message and a redirection to the shop. Maybe I will write a plugin for this :)

Have a nice day!
Dezso

The following user(s) said Thank You: nicolas

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

Time to create page: 0.050 seconds
Powered by Kunena Forum