How to configure users

  • Posts: 45
  • Thank you received: 0
10 years 2 weeks ago #178533

-- HikaShop version -- : 2.3.4 Business edition
-- HikaMarket version -- : 1.5.0
-- Joomla version -- : 3.3.6

Dear Jerome et al,

I'm setting up my market place and progressing well. Now I'm looking into the optimal way to organize my users.

In HikaMarket I've configured automatic creation of vendors. Thus, once a vendor registers himself / herself via the front-end menu's, a vendor ID within HikaMarket is created. Next to this is the product category within HikaShop, all according to expectation.

Now, in case a buyer wants to get a product, he/she needs to register during checkout in order to have a personalized download page. In this registration process, the buyer is also registered as vendor.

This is a kind-of workable solution, but not optimal.

  • I cannot use the different user groups to manage the visibility of menu's
  • the vendor administration is cluttered with all (dummy) entries from buyers
I hope that you know of some better way to organize users.

Thanks and regards, Paul

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #178539

Hi,

In HikaMarket you can create automatically the vendors depending the user group.
When the setting "Allow vendor registration" is set on "Vendor automatic creation" you will see another option just below to select some Joomla user groups.

This option has been made to create the vendor accounts just for users in a specific group.
It can create/publish/unpublish the vendor if the user have a user group modification ; it can be useful for subscription system integration.

Hope it will help.

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: 45
  • Thank you received: 0
10 years 2 weeks ago #178560

Hi Jerome,

This is the mechanism that I'm already exploiting. The question now boils down to how to differentiate user registering themselves using a regular Joomal sign up and users registring themselves during checkout.

Would you know of any means how to set or change the default group for either one, without affecting the other?

Regards, Paul

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #178582

Hi,

I might have an idea for that.
In HikaMarket 1.5.0 ; I remove the usage of the HikaShop user class for the user registration.
So now the user registration is made by the HikaMarket user class (it allows me to have more control on the data and have different reaction for the redirection or activation part... but that's not the current subject here).

In the class, I set the user group regarding the Joomla configuration (for new created users).
It result that

		if(HIKASHOP_J16)
			$data['groups'] = array( $newUsertype => $newUsertype );
But it is possible at this moment to introduce a new user group in the list or just to override the default user group from the Joomla configuration.
At this moment, users created by HikaShop in the user registration won't have the same group than users created by HikaMarket (in the vendor registration).

Would it be something good for you ?

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: 45
  • Thank you received: 0
10 years 2 weeks ago #178621

Hi Jerome,

I think this would completely solve my needs. Looking forward to a patch.

Best regards, Paul

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #178688

Hi,

In a short delay, you can edit the file and replace

$data['groups'] = array( $newUsertype => $newUsertype );
By something with a joomla group you want to use, like
$data['groups'] = array( 3 => 3 ); // 3 is in general the group "Author" in Joomla 3.
You can get the id from the Joomla User group manager.

I created a ticket in my TODO list in order to improve that with a real option, etc.

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: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 days ago #180034

Hi,

I forgot to update this thread but the option as been added in HikaMarket.
This feature will be include (and available) in the HikaMarket 1.5.1 (which will be release before the end of the month).

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.

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