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

Are usergroups duplicated by default in XF?

Discussion in 'XenForo Questions and Support' started by ibrian, Aug 26, 2014.

  1. ibrian

    ibrian Active Member

    A general query after moving from vb3 to xf is that usergroups seem to be duplicated.

    I don't mean that additional usergroups have been imported, but that xenforo seems to be using two separate and distinct sets of usergroups.

    On the one hand, there are the familiar usergroups:

    1. Unregistered / Unconfirmed
    2. Registered
    3. Administrative
    4. Moderating

    However, there appears to be an additional set of usergroups:

    1. Moderating
    2. Banned

    This has caused confusion after importing, not least because:

    a) Setting a member up in the moderating usergroup, with relevant permissions, will not apply - unless the explicitly selected with Users > Moderators > Add Moderator

    In other words, it looks like a separate usergroup system is running alongside the familiar usergroup one. After all, why have the option to set up a usergroup for "Moderators" with various moderator permissions available, if this will not work without the second "Add Moderator" selection being applied?

    b) Additionally, using the spam cleaner, and checking the option"Ban user" so far results in the banned member continuing to display as in the usergroup "Registered" when I use my admin account to edit their backend profile.

    It's as if banned members belong both to the familiar "Registered" usergroup, but also an additional - and invisible - "banned" usergroup.

    My question is whether I have completely misunderstood the situation? Because at the moment it appears there is a parallel usergroup system running alongside the familiar usergroups, and I don't understand that.


    EDIT: Right, just seen that I hadn't set "banned users" to "Add User Group on Ban". My apologies! And I'd delete this thread if I could. However, I still don't understand why the "Moderating" usergroup appears to work distinct to "Add Moderator"?
     
  2. Walter

    Walter Well-Known Member

    These arent standard Xenforo usergroups. e.g. Xenforo uses no usergroup for banned members but uses a flag on the user itself and you can safely delete the banned usergroup. These user groups are from importing.
    By default, Xenforo has these usergroups: https://xenforo.com/help/user-groups/
     
  3. Karelke

    Karelke Active Member

    Same applies for administrators.

    From a technical point of view, splitting moderator and administrator permissions from the user groups avoids the issue that you would have to set those permissions for every group.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Explicitly making someone a moderator changes the status of their account.
    it is not user group related.
    You can make someone a moderator without ever adding them to the Moderating user group.

    You can add someone to the Moderating user group without making them a moderator.
    All user groups do is apply permissions and styling.
     
  5. ibrian

    ibrian Active Member

    Indeed - but it's causing an awful lot of confusion among my mods, because there's no obvious indicator on their profile page that banned users are banned. The option to "ban" is reported to come up regardless.

    But in the Permissions section, it includes permissions for moderating tools - General/Forum Moderator Permissions.

    Aren't these simply duplicated when using "Add new moderator" and adding new permissions?

    I appreciate I'm still new, and I'm not trying to be awkward - I just genuinely don't understand what "status" does that "usergroups" doesn't already achieve - other than over-complicate things as Moderators cannot moderate properly unless they are Moderating Moderators.

    And even some Moderating features will not be allowed unless a specific selection of options secretly unlocks them, rather than outright permissions given: https://xenforo.com/community/threads/how-to-allow-moderating-to-view-moderation-queue.81431/
     
    Last edited: Aug 26, 2014
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Making someone a moderator sets a flag on their account, in the database.

    upload_2014-8-26_11-16-45.png

    Adding them to the Moderating user group or giving them user level permissions doesn't do that.

    User groups are just for permissions and styling.
    You can give someone moderator permissions via a user group, but it won't change the is_moderator status from 0 to 1.
     
  7. ibrian

    ibrian Active Member

    Wouldn't removing the "status" feature entirely and leaving permissions on a "usergroup" basis simplify things immensely?
     
  8. Walter

    Walter Well-Known Member

    Why not show the banned users name with a strikethrough? E.g. by
    HTML:
    .username .banned
    {
        text-decoration: line-through;
    }
    in username_styles.css? This way everyone sees that this user is banned.
     
  9. Karelke

    Karelke Active Member

    Certainly not, it would mean you have to set moderator permissions for every user group. That would hardly be manageable.
     
  10. ibrian

    ibrian Active Member

    I don't understand what you mean? As it stands, you have to set permissions for each individual moderator using the "Add Moderator" function, which makes using the "Moderating" usergroup redundant.

    That was there by default, but removed - I like to moderate silently. :)

    I don't know if it's a quirk of my import, but I have a usergroup "Moderating" where I can set "General/Forum Moderator Permissions".

    That should be enough - but I also have to "Add Moderator" and then set individual permissions for each promoted Moderator - even though these are the exact same permissions as in the "Moderating" usergroup.

    In other words, so far as I see it, xenforo treats the entire Moderating usergroup permissions as redundant.

    Or did the feature "General/Forum Moderator Permissions" for that usergroup import?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Any user or user group can be granted moderator permissions.
     
  12. ibrian

    ibrian Active Member

    But that's exactly what I mean, Brogan - you have both the "Status" and "Usergroup" permissions running in parallel, when surely there's no user need for the "Status" setting at all?

    All it's doing is duplicating the permissions system and making everything more complicated than it needs to?

    Usergroups alone mean you can have:

    Registered
    Moderating

    But with "Status" as well, you end up with:

    Registered
    Moderating -Moderating
    Registered +Moderating
    Moderating +Moderating

    Isn't the point of Usergroups to cover this base?

    I'm not trying to argue the point - I'm simply trying to explain, as feedback from someone newly imported, that the entire "Status" issue seems to unnecessarily complicate the set up.

    Additionally, IMO the ability to see the Moderation Queue and Reported Items in the moderator bar should be available as direct permission options, rather than something set up indirectly as a result of a combination of permissions.

    xenforo is a great system - my registered users love it - but my moderators and I have been left stumbling over permission issues mentioned above.

    As above, simply feedback.
     
  13. Karelke

    Karelke Active Member

    We use the group 'Moderating' to make crew forums visible for our moderators. In addition, we use this group to set a user title for all moderators, and to give their names a different color. How would you do this without an additional user group?
     

Share This Page