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

User Upgrades - Adding user to specified usergroup as primary

Discussion in 'XenForo Questions and Support' started by Matt51723, Feb 22, 2011.

  1. Matt51723

    Matt51723 New Member

    I'm not sure if this is available, but whenever I have a donator I have it so they go into the donator group upon donation via user upgrades.

    I have a program that links user login with different permissions within the program so once a user donates they're immediately unlocked. However, right now the users donating are going into the donator group as a secondary and their primary remains as registered. Is there a way to switch it so it changes the primary group?
  2. Dean

    Dean Well-Known Member

    The secondary usergroups can do anything a primary user group can do. What are you trying to achieve?
  3. dieketzer

    dieketzer Well-Known Member

    this sounds like the path to perm nightmares.
    i reckon you should leave them in the primary registered usergroup and add any additional perms via the secondary group.
  4. Matt51723

    Matt51723 New Member

    On the forums yes, however in my case the user has to be in the donor primary group for functions to work correctly.
  5. Dean

    Dean Well-Known Member

    I really do not think how xf works in this regard is going to change, at least not in the near future. With other software there was a need for primary usergroups to change for proper forum permissions such as custom user title. Whereas that is not the case with xf.

    You may want to change your other program you are referring to.
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I'm curious, what functions require a primary usergroup? Maybe I can help you change those functions to work with secondary groups.

Share This Page