Allow registrations to logged user/ disable cpanel

  • Posts: 14
  • Thank you received: 0
12 years 5 months ago #51155

Hi, I would like to allow a user to create other accounts (like a boss that wants to register some employees)
The problem is that Hikashop redirects the registration to cpanel for logged user and I can't find where to disable this in the php.


Corsi di formazione online RSPP HACCP RLS di Wst Europa su Scuola Sicurezza eLearning

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

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #51229

That's not possible. A logged in user cannot register again. I don't think that it's a HikaShop problem but more of a joomla problem. You will have the same problem with the joomla user registration screen.

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

  • Posts: 14
  • Thank you received: 0
12 years 5 months ago #51260

Hi Nicolas, thank you for the reply.
I can already register other users when logged in, it's a feature provided by Joomdle, called "Buy courses for children", but it uses Joomla default registration form and I would like to use Hikashop form as for the normal registration.
The only problem is that if I redirect Joomdle function to use Hikashop form it shows me the cpanel instead of the form.
Thank you
Paolo


Corsi di formazione online RSPP HACCP RLS di Wst Europa su Scuola Sicurezza eLearning

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

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #51353

Try to change the last line:
if ($user->guest) {

to:
if (true) {

in the file components/com_hikashop/controllers/user.php

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

Time to create page: 0.044 seconds
Powered by Kunena Forum