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

XF 1.2 User management

Discussion in 'XenForo Questions and Support' started by Cykros, Sep 1, 2013.

  1. Cykros

    Cykros Member

    Hi there all xenforo members.
    I have a little problem that i would like to solve.I want to move all my users from a usergroup to another one but with a subgroup added to.Is there a way to do this?
    Thank you all.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    It might be a good idea to detail why you want to do this.

    It doesn't sound to me like the thing that would usually need to be done. The permissions system is usually powerful enough to not require mass changes of usergroup like this.
     
  3. Martok

    Martok Well-Known Member

    This can easily be done using Batch Update Users in the ACP.

    As Chris says, this isn't the sort of thing that should usually be done. I did this is recently because when I converted from phpBB a few months ago, many users did not have the Registered group as their primary. Batch update allowed me to correct this, making Registered their primary group and set their previous primary group as a secondary one.

    This guide may be useful in helping with permission groups.

    http://xenforo.com/community/resources/implementing-permissions-across-multiple-user-groups.358/
     
    Chris D likes this.
  4. Cykros

    Cykros Member

    I dont have problems with the permisions.I want to move the Users from Group X to Group Y with Subgroup X
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Why do you want to change their primary group?
     
    Chris D likes this.
  6. Chris D

    Chris D XenForo Developer Staff Member

    No one said you did :)

    We're just trying to work out why you are wanting to do it, because it's not usually something that needs to be done, unless there's special reason to.
     
  7. Cykros

    Cykros Member

    its about ribborns that are shown depending on the usergroup.
    Thats why i need to do this.
     
  8. Martok

    Martok Well-Known Member

    What you have said, you shouldn't need to mass change the primary user group for this.

    I'm guessing you're after one of two possibilities here:

    1. You want the banner (ribbon) for Group Y to appear above that of Group X
    2. You just want the banner of Group Y

    If so, then:
    1. In the ACP > Users > List User Groups if you click on a group, you will see Display Styling Priority. Simply set these so that the group banner you want to appear at the top has the highest number. No need to change primary groups for this.
    2. If you're just wanting one banner to be shown, then in Option > User Options you can untick Allow Banner Stacking. Again set the Display Styling Priority for groups as above. The group banner of the highest numbered group will then be the only one shown. Again, no need to change primary groups for this.

    As I said in my previous post, it may be worth you taking a look at http://xenforo.com/community/resources/implementing-permissions-across-multiple-user-groups.358/. As it says right at the start

     
    Tracy Perry likes this.
  9. Cykros

    Cykros Member

    In the previous forum platform i was using i could change users from a usergroup to another one and a sub-user group to.
    From what you told me above this would not be possible in xenforo?
     
  10. Martok

    Martok Well-Known Member

    Why would you need to do that on Xenforo? Have you read how to implement permissions linked in my previous post? How these work, if done correctly, should satisfy any usergroup requirements.
     
  11. Cykros

    Cykros Member

    i dont want to change usergroup permissions,i want to change user from a group to another.
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

  13. Tracy Perry

    Tracy Perry Well-Known Member

    Best suggestion... FORGET how the previous forum platform did permissions and learn to use the power of how xenForo does them. Read @Brogan's excellent resource on permissions.
     
  14. Ludachris

    Ludachris Well-Known Member

    Hey @Martok - would you mind detailing exactly how you did the Batch process. I need to do the same thing and want to make sure I do it right the first time. Thanks in advance!
     
  15. Martok

    Martok Well-Known Member

    ACP > User > Batch Update Users

    In my case, when I converted from phpBB my full members had the Full Member group as their primary and Registered as their secondary. So I searched for primary group Full Members. On the next screen I checked that it has picked all the members correctly (use the View or match filters link to do this). Once I was happy the correct members had been selected, I then set "Set primary user group" to Registered and "Set secondary user group" to Full Members. Hit the update button and voila, it was done.

    It's very easy to use, the important bit is to be sure in the first part when searching for the users you want to change that you have done this correctly and it has found just the ones you want to change.
     
  16. Ludachris

    Ludachris Well-Known Member

    Thanks a ton... I think I got it to work for all my usergroups. Nice built-in feature to have.
     

Share This Page