Choose Usergroup on Registration?

Mufasa

Active member
Hello XenForo community!

I am currently working on this website that runs multiple gameservers and each of these gameservers have a section on the forums, i would like to know if there is anyway to get new users to choose a usergroup on registration- depending on what gameserver they are playing on - to allow them to view that servers section?

I have had a loom around and cannot find anything like this, can one of you help me? Is there an addon i have missed or a code modification ive zoomed passed?

Thank you :)
 
OK, so I'd personally do this via User Groups and Custom Fields.

First, set up all your user groups that you need. eg:

GameServer1
GameServer2
GameServer3
GameServer4

Then, create a Custom Field. Set the Field Type to be a Multiple-choice drop down selection. Set your possible choices.

custom1.webp custom2.webp custom3.webp

Then set a User Group Promotion based on the value of the Custom Field.

promo1.webp
promo2.webp

That should do what you are wanting to do.
 
OK, so I'd personally do this via User Groups and Custom Fields.

First, set up all your user groups that you need. eg:

GameServer1
GameServer2
GameServer3
GameServer4

Then, create a Custom Field. Set the Field Type to be a Multiple-choice drop down selection. Set your possible choices.

View attachment 51685 View attachment 51686 View attachment 51687

Then set a User Group Promotion based on the value of the Custom Field.

View attachment 51688
View attachment 51689

That should do what you are wanting to do.
Ok, this works perfectly,

EDIT. I solved it using priorities
 
In the group settings:

Display Styling Priority:

Set the priority of the group you want to show as their default styling to a high value, and that will over write the styling of their default group.
 
Top Bottom