@baris @psychobunny @pichalite
a new hook in Posts.shouldQueue method could be usefull
Example:
Posts.shouldQueue = function (uid, data, callback) {
async.waterfall([
function (next) {
user.getUserFields(uid, ['reputation', 'postcount'], next);
},
function (userData, next) {
var shouldQueue = parseInt(meta.config.postQueue, 10) === 1 && (!parseInt(uid, 10) || (parseInt(userData.reputation, 10) <= 0 && parseInt(userData.postcount, 10) <= 0));
next(null, shouldQueue);
},
//Here a plugin could alter the value of shouldQueue
function(shouldQueue, next) {
plugins.fireHook('filter:post.shouldQueue', {uid:uid, data: data}, next);
},
], callback);
};