Hooks - moocinchina/NodeBB GitHub Wiki
Note: This page is autogenerated everytime a new commit occurs in NodeBB. Do not make changes here or you will lose your information
Server Side Hooks
For further information consult our documentation on how to build plugins.
categories
emailer
favourites
groups
messaging
notifications
plugins
postTools
posts
search
threadTools
topics
user
widgets
categories/topics
controllers/accounts
controllers/admin
controllers/api
controllers/categories
controllers/helpers
controllers/index
controllers/search
controllers/topics
controllers/uploads
meta/js
meta/settings
meta/sounds
middleware/admin
middleware/middleware
navigation/admin
plugins/install
posts/create
posts/delete
posts/summary
posts/user
privileges/categories
privileges/posts
privileges/topics
rewards/admin
rewards/index
routes/authentication
routes/index
socket.io/admin
socket.io/modules
socket.io/posts
socket.io/topics
socket.io/user
topics/create
topics/delete
topics/fork
topics/tags
topics/teaser
user/create
user/delete
user/email
user/picture
user/profile
user/settings
controllers/admin/uploads
Client Side Hooks
On the client-facing side, NodeBB fires off events and executes any handlers bound to the window
object.
To attach a listener, do the following:
$(window).on('action:ajaxify.end', function(event, data) {
console.log(data); // to inspect what is passed back by NodeBB
});
ajaxify
app
widgets
client/categories
client/category
client/recent
client/topic
modules/chat
modules/composer
client/account/topics
client/account/watched
client/topic/events
client/topic/posts
modules/composer/preview
modules/composer/tags
This page was generated on Wed, 15 Apr 2015 16:36:47 GMT Total Hooks: 168