Skip to content
  • How get current user data in nodebb

    General Discussion
    2
    0 Votes
    2 Posts
    3k Views
    barisB
    You can't get the current user data without their uid. If you have access to the express req object you can grab it with req.uid or if it is a socket call then its socket.uid. The value of uid is 0 if the user is not logged in.
  • API: Groups

    Solved Plugin Development
    6
    0 Votes
    6 Posts
    4k Views
    N
    Created a small plugin, to have access to all groups - https://community.nodebb.org/topic/4591/nodebb-plugin-ns-api-ns-api-extended