footer shows total topic post count

This commit is contained in:
Baris Usakli
2013-06-28 10:56:38 -04:00
parent 761d8fc508
commit aecffecdf1
5 changed files with 36 additions and 1 deletions

View File

@@ -160,6 +160,10 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
user.count(socket, data);
});
socket.on('post.stats', function(data) {
posts.getTopicPostStats(socket);
});
socket.on('user.latest', function(data) {
user.latest(socket, data);
});