added additional_profile_info footer in posts view; plugins - filter:posts.custom_profile_info hook lets you add info to post block footer

also fixed app.alert - if title is not set then do not show title.
This commit is contained in:
psychobunny
2013-10-13 19:16:48 -04:00
parent 32990794ce
commit bf677522a9
4 changed files with 31 additions and 12 deletions

1
app.js
View File

@@ -86,6 +86,7 @@
webserver = require('./src/webserver.js'),
SocketIO = require('socket.io').listen(global.server, { log: false, transports: ['websocket', 'xhr-polling', 'jsonp-polling', 'flashsocket']}),
websockets = require('./src/websockets.js'),
posts = require('./src/posts.js'),
plugins = require('./src/plugins'); // Don't remove this - plugins initializes itself
websockets.init(SocketIO);