is there any way we can change a user type and give him admin role
@jawadbiag8 you can go to ACP > Manage > Admins & Mods to add or remove them
I want to store the data in NodeBB's Mongo db. It will be retrieved later and displayed on a map..
Those userrs are stored in groups with special names, here are the names assuming the category id is 1.
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);
Within your user settings within the category Groups you may select a group label.
@Ted yeah, and also the way I'm using the chat is not necessarily for casual conversations; statistics/logs from chat are needed 🙂