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

Unmaintained Make other members appear as Staff and create secret moderators

Does exactly what it says on the tin.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    Brogan submitted a new resource:

    Make other members appear as Staff and create secret moderators (version 1.0) - Does exactly what it says on the tin.

    Read more about this resource...
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    In case any of that didn't make any sense, here's a little table showing how it all works.

    moderator_administrator_permissions.png

    Just remember that user titles are dependant on the group with the highest display styling priority.
     
    tyteen4a03, Akuta, Thomas P and 8 others like this.
  3. mjp

    mjp Well-Known Member

    Users in the admin group do have the inline moderation tools available, don't they?
     
  4. Dean

    Dean Well-Known Member

    That needs to be explicitly granted i.e. they need to also be moderators. But as Brogan said, the moderation bar is visible to them with b3.
     
  5. mjp

    mjp Well-Known Member

    Hmm, interesting. I've always seen the moderation tools and I'm only in the admin group, not moderators. Maybe the import from vB brought some weird permissions with it.
     
  6. Dean

    Dean Well-Known Member

    It could be leftover from you vb import. Might want to try to use the moderation tools to see if they work.

    I would really like to get a tutorial / theory behind the permissions. I can make several educated guesses, but it would be easiest to know what the full intentions are of the system.
     
    Philip Morton, mjp and dieketzer like this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    If you are the Super Admin then you will have user specific permissions.
    You can check this by looking in Users -> User Permissions and your user ID should be listed under "Users with Custom Permissions".

    You should also be a Super Moderator by default.
     
  8. dieketzer

    dieketzer Well-Known Member

    thanks for the chart. ive downloaded it for future reference.
    not having run xenforo on a live site with moderators i had no idea this was so convoluted.
    i really hope we either move away from this system or at the least have the logic of such a setup explained to us.

    personally, i really hate moderator and admin distinctions in postbit or a sidebar or whatnot. i hope i will be able to grant people limited moderation abilities without advertising it to the world.

    and id still love to set a usergroup as a moderator!
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Personally I like the way it is implemented as it is very flexible and allows all the various combinations I posted above.
     
  10. dieketzer

    dieketzer Well-Known Member

    looking at the chart it looks to be very non-granular.
    like picking the lesser of evils imo
     
  11. Anthony Parsons

    Anthony Parsons Well-Known Member

    If your a super admin, you will see them regardless. Just tested it myself on a dev board... admin as primary or secondary group, you must set the permissions to edit either at the usergroup level or go the very hard way by making them a mod, super mod, blah blah blah... all total nonsense and not needed.

    If super admin, full access regardless what primary usergroup you give yourself. I just set myself to registered with no additional usergroups, and because my account is super admin, I have full access still.

    Its only admin where you have to set specific usergroup permissions.

    I think this additional groups is nonsense for mods and admins... what is the point? If you leave the primary usergroup as registered for admins and mods, when you set node permissions, the additional usergroup node permissions don't override the primary usergroup node permissions... so having mod or admin specific access is useless, as you would need to grant it to all registered users which defeats the ability of say a staff forum.

    You must change their primary usergroup and work from that method.
     
  12. mjp

    mjp Well-Known Member

    I'm with you there, brother. The permissions had me a little stumped until I read that Default is the same as no in Jack Bunce's thread. That was a bit of an "ah ha!" moment.

    But there are things that I still don't get, like why there is a Moderating group, yet if you add a user to it, you still have to "Create New Moderator" for that user, or they can't moderate. I see how it works in practice, I just don't fully understand the mechanics of it. Which I can live with, but it annoys me that I don't know everything. Because, you know, usually I know everything.
     
    anotheralias likes this.
  13. Kier

    Kier XenForo Developer Staff Member

    A big tutorial on permissions is certainly something we need to do at some point in the near future, but for the time being, take these little nuggets of wisdom:
    • In order to access the Administrator Control Panel, a user must be an Administrator.
    • Being an Administrator only gets you access to the ACP, nothing more.
    • In order to perform moderator duties, you must have moderator permissions.
    • There is no connection between having moderator permissions and being an Administrator, except that most Administrators will also have moderator permissions so that they can moderate.
    • The Administrative and Moderating usergroups are there primarily to allow differentiating username markup and a few enhanced regular-user permissions. Belonging to these groups does not make you an Administrator and does not necessarily confer moderator permissions.
     
  14. mjp

    mjp Well-Known Member

    That helps. Thanks, Special K.
     
  15. Michael Dance

    Michael Dance Active Member

    thats intrsesting never thought of a secret mod or admin before - Great idea from XenForo.
     
  16. Kier

    Kier XenForo Developer Staff Member

    In fairness, it's Brogan's idea, it's not something we considered when we built the system :)
     
    SneakyDave and Michael Dance like this.
  17. Member 3639

    Member 3639 Active Member

    Having a few problems here.

    I am in the Admin group, Super Moderator with everything checked - yet i cannot see any kind of Moderator option anywhere?

    Okay i found it:

    Basically if you don't edit the user and manually select their user group from the drop down box to admin or moderator it doesn't work - shouldn't it auto set the main admins user group to admin not registered user?
     
  18. Michael Dance

    Michael Dance Active Member

    do i have to do every user separately, not a usergroup?
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, it's an explicit action for each user to make them a Moderator or Administrator and isn't related to user groups.
     
  20. Michael Dance

    Michael Dance Active Member

    could there be in the core product an option to make it viewable on the staff without the mod perms.

    I though you edit the template:
    Code:
    <!-- block: sidebar_online_staff -->
        <div class="section staffOnline avatarList">
            <div class="secondaryContent">
                <h3>{xen:phrase staff_online_now}</h3>
                <ul>
                    <xen:contentcheck>
                        <xen:foreach loop="$onlineUsers.records" value="$user">
                            <xen:if is="{$user.is_moderator} OR {$user.is_admin}">
                                <li>
                                    <xen:avatar user="$user" size="s" img="true" />
                                    <xen:username user="$user" rich="true" />
                                    <div class="userTitle">{xen:helper userTitle, $user}</div>
                                </li>
                            </xen:if>
                        </xen:foreach>
                    </xen:contentcheck>
                </ul>
            </div>
        </div>
        <!-- end block: sidebar_online_staff -->
    to:
    Code:
    <!-- block: sidebar_online_staff -->
        <div class="section staffOnline avatarList">
            <div class="secondaryContent">
                <h3>{xen:phrase staff_online_now}</h3>
                <ul>
                    <xen:contentcheck>
                        <xen:foreach loop="$onlineUsers.records" value="$user">
                            <xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {$user.is_dj} OR {$user.is_tech">
                                <li>
                                    <xen:avatar user="$user" size="s" img="true" />
                                    <xen:username user="$user" rich="true" />
                                    <div class="userTitle">{xen:helper userTitle, $user}</div>
                                </li>
                            </xen:if>
                        </xen:foreach>
                    </xen:contentcheck>
                </ul>
            </div>
        </div>
        <!-- end block: sidebar_online_staff -->
    like that would that be possible in the core? or would we need a Addon to do this?
     

Share This Page