Do I need to call user.isAdministrator on my plugin's admin page?

NodeBB Development

Suggested Topics


  • 0 Votes
    4 Posts
    493 Views

    Thank you very much, it worked, I had to modify the class .unread-count:after what I already had defined and to add the .unread-count as you have suggested

  • 3 Votes
    8 Posts
    5k Views

    @phit that error should be fixed now. Try it out.

  • 0 Votes
    3 Posts
    2k Views

    Those userrs are stored in groups with special names, here are the names assuming the category id is 1.

    cid:1:privileges:find
    cid:1:privileges:read
    cid:1:privileges:topics:create
    cid:1:privileges:topics:reply

    You can get the user ids from these groups by.

    Groups.getMembers('cid:1:privileges:find', 0, -1, callback); This will give you all the user ids that have the find permission for category 1.

    If you want to get their basic info like username picture slug so you can show user icons you can just use Groups.getMemberUsers('cid:1:privileges:find', 0, -1, calllback);

  • 0 Votes
    3 Posts
    1k Views

    Totally, the more the merrier 🙂 In the end we're just a community helping each other build something cool and free to use

  • 0 Votes
    3 Posts
    2k Views

    @julian

    I think Latest Users means, or should mean, the same thing as Verified Users. In other words, if an account has not been verified, it's never listed under Latest Users.

    Along those lines, an option that will allow the admin to enable auto-purging (auto-deleting) user accounts that have not been verified after X number of days would be nice, too.