[Skip to main content](#vessel-content)

#   Add user to certain user group during registration

##

- **[emergentec](/forum/user/949-emergentec "View emergentec's Profile")**
- [![emergentec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/949-emergentec "View emergentec's Profile") Topic Author
- [ Offline](/forum/user/949-emergentec)

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 weeks ago [\#27539](#27539) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  *[Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#27539 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")* was created by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")*

Hi!

For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?

Thanks in advance

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

15 years 3 weeks ago [\#27540](#27540) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#27540 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

Hi,

That's not possible. The default user group can be changed in the user configuration of joomla but you can have different user groups based on parameters in the URL. Not unless you modify the registration view to add an hiddne input field for that parameter and create a user plugin to change the user group of new users based on that hidden field value.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[emergentec](/forum/user/949-emergentec "View emergentec's Profile")**
- [![emergentec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/949-emergentec "View emergentec's Profile") Topic Author
- [ Offline](/forum/user/949-emergentec)

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 3 weeks ago [\#27572](#27572) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#27572 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

And if we use a hidden custom field of HikaShop instead of user groups? The same problem?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

15 years 3 weeks ago [\#27585](#27585) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#27585 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

I don't see what you can do with custom fields which would help...The group to set in the user is retrieved from the joomla option. The only solution is to make a user plugin like explained above.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago -  10 years 6 months ago [\#238682](#238682) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#238682 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

Hikashop Starter 2.6.2
Hikamarket 1.6.7
Joomla 3.5.1
PHP 5.4.38

Similar problem here, I'm using Hikamarket and I have vendors and regular clients. Let's consider each vendor has its own joomla user. There are Hikashop-powered registration pages for Vendor and regular clients, is there a way to assign vendors to a group and clients to another? One of the groups can be the regular 'Registered' group.

Last edit: 10 years 6 months ago by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile"). Reason: Added info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

10 years 6 months ago [\#238686](#238686) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#238686 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

That's not really the same problem.
In your case, I would recommend to look at this plugin:
[ extensions.4u2.co.il/hikasop-user-group-ftw](https://extensions.4u2.co.il/hikasop-user-group-ftw)
It allows you to assign a customer to a user group based on the value of a custom field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")**
- [![zaratustra27's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")
- [ Offline](/forum/user/7005-zaratustra27)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago [\#238791](#238791) by [zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")  Replied by *[zaratustra27](/forum/user/7005-zaratustra27 "View zaratustra27's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#238791 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

Thanks, but that plugin requires HS Essential or Business, as stated before, I use Starter Edition

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14293
-
-

10 years 6 months ago [\#238814](#238814) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add user to certain user group during registration](/forum/4-how-to/27539-add-user-to-certain-user-group-during-registration#238814 "Hi!  For statistical reasons we would like to group our users in e.g. 3 groups. Is it possible to add a parameter to the registration URL and therefore the user will be added to a certain user group during the registration or a custom field in the profile will be set?  Thanks in advance  Best regards")*

Hi,

Well, I don't know of another solution. You can potentially develop a plugin to add that yourself. But it would be cheaper to use what's already there unless you're a developer yourself and have the time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI3NTM5LWFkZC11c2VyLXRvLWNlcnRhaW4tdXNlci1ncm91cC1kdXJpbmctcmVnaXN0cmF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
