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.
Plugin Compatibility Sorting
Bobber last edited by Bobber
Here's what would be really nice to have:
On plugins page by default i would like to see only plugins that compatible with my version of Nodebb, then
it's not a bad idea to have an option to show all plugins ever created.
Totally agree. Furthermore will be better to have a checkbox to toggle "compatibility sorting" ON/OFF
Maybe it's all quite complicated to implement, but this improvement worth the candle.
Yes, this is a fantastic idea! Whoever created the package manager and ACP page should totally do this
... what? What do you mean it's me?