mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
add top posters and most rep to acp
This commit is contained in:
@@ -34,6 +34,14 @@ usersController.noPosts = function (req, res, next) {
|
||||
getUsers('users:postcount', 'noposts', '-inf', 0, req, res, next);
|
||||
};
|
||||
|
||||
usersController.topPosters = function (req, res, next) {
|
||||
getUsers('users:postcount', 'topposts', 0, '+inf', req, res, next);
|
||||
};
|
||||
|
||||
usersController.mostReputaion = function(req, res, next) {
|
||||
getUsers('users:reputation', 'mostreputation', 0, '+inf', req, res, next);
|
||||
};
|
||||
|
||||
usersController.flagged = function (req, res, next) {
|
||||
getUsers('users:flags', 'mostflags', 1, '+inf', req, res, next);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user