Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. greynaert
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    greynaert

    @greynaert

    0
    Reputation
    195
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    greynaert Unfollow Follow

    Latest posts made by greynaert

    • RE: How do we know if the current user is an adminstrator

      Ok, cool just wanted to make sure I was getting the adminstrator as I should.

      Speaking of that, the widget on the dashboard seems to count offline users as well as online user even if the current user isn't an admin.

      posted in NodeBB Development
      G
      greynaert
    • How do we know if the current user is an adminstrator

      Hi,

      I'm working on a enhancement found on your github : [https://github.com/designcreateplay/NodeBB/issues/929](link url)

      I'm wondering which is the best way to know if the current user is an administrator. Actually I use the user.isAdminstrator() method with the req.user.uid parameter is that the best way to get the info?

      Thanks for the future answer and keep the good work your forum is awesome!

      julianlam created this issue in designcreateplay/NodeBB

      closed Administrators should be able to see invisible users #929

      posted in NodeBB Development
      G
      greynaert