1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Choose Usergroup on Registration?

Discussion in 'Resource and Add-on Requests' started by Mufasa, Jul 19, 2013.

  1. Mufasa

    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 :)
     
  2. MattW

    MattW Well-Known Member

    Are they going to be allowed to pick multiple groups?
     
  3. Mufasa

    Mufasa Active Member

    yeah, sure.
     
  4. MattW

    MattW Well-Known Member

    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.PNG custom2.PNG custom3.PNG

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

    promo1.PNG
    promo2.PNG

    That should do what you are wanting to do.
     
    Crabbo, Matthew Hawley and Mufasa like this.
  5. Mufasa

    Mufasa Active Member

    Thats awesome, thank you ever so much :)
     
    MattW likes this.
  6. Mufasa

    Mufasa Active Member

    Ok, this works perfectly,

    EDIT. I solved it using priorities
     
  7. MattW

    MattW Well-Known Member

    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.
     
  8. Mufasa

    Mufasa Active Member

    Yeah i figured it out lol, thanks.
     
    MattW likes this.

Share This Page