Hooks - ZJU-Shaonian-Biancheng-Tuan/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
image
messaging
notifications
plugins
posts
search
threadTools
topics
user
webserver
categories/create
categories/topics
categories/update
controllers/accounts
controllers/admin
controllers/api
controllers/authentication
controllers/categories
controllers/index
controllers/recent
controllers/search
controllers/topics
controllers/uploads
controllers/users
meta/js
meta/settings
meta/sounds
middleware/admin
middleware/middleware
plugins/install
posts/create
posts/delete
posts/edit
posts/parse
posts/summary
posts/user
privileges/categories
privileges/posts
privileges/topics
rewards/admin
rewards/index
routes/authentication
routes/index
socket.io/admin
socket.io/posts
socket.io/topics
socket.io/user
topics/create
topics/delete
topics/fork
topics/tags
topics/teaser
user/create
user/delete
user/digest
user/email
user/follow
user/picture
user/profile
user/search
user/settings
groups/create
groups/delete
groups/membership
groups/update
widgets/admin
widgets/index
navigation/admin
controllers/admin/uploads
socket.io/admin/categories
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
admin/admin
admin/settings
client/categories
client/category
client/recent
client/topic
modules/chat
modules/settings
modules/taskbar
client/account/topics
client/topic/events
client/topic/postTools
client/topic/posts
This page was generated on Sun, 06 Sep 2015 04:49:56 GMT Total Hooks: 193