psychobunny edited this page Nov 18, 2018 · 6745 revisions

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

file

flags

groups

image

messaging

notifications

plugins

posts

search

sitemap

social

topics

user

webserver

test/plugins

categories/create

categories/delete

categories/topics

categories/update

controllers/404

controllers/api

controllers/authentication

controllers/composer

controllers/errors

controllers/helpers

controllers/index

controllers/topics

controllers/unread

controllers/uploads

groups/create

groups/data

groups/delete

groups/membership

groups/ownership

groups/update

messaging/create

messaging/data

messaging/notifications

messaging/rooms

meta/blacklist

meta/settings

meta/tags

middleware/admin

middleware/header

middleware/index

middleware/render

middleware/user

navigation/admin

plugins/install

posts/bookmarks

posts/create

posts/delete

posts/diffs

posts/edit

posts/parse

posts/queue

posts/summary

posts/user

posts/votes

privileges/categories

privileges/global

privileges/posts

privileges/topics

privileges/users

rewards/admin

rewards/index

routes/authentication

socket.io/admin

socket.io/helpers

socket.io/modules

socket.io/user

topics/create

topics/delete

topics/fork

topics/posts

topics/recent

topics/tags

topics/teaser

topics/thumb

topics/tools

topics/unread

user/admin

user/approval

user/create

user/data

user/delete

user/digest

user/email

user/follow

user/online

user/picture

user/profile

user/search

user/settings

widgets/admin

widgets/index

controllers/accounts/edit

controllers/accounts/helpers

controllers/accounts/notifications

controllers/accounts/profile

controllers/accounts/settings

controllers/admin/categories

controllers/admin/dashboard

controllers/admin/homepage

controllers/admin/settings

controllers/admin/uploads

controllers/admin/users

socket.io/admin/categories

socket.io/admin/user

socket.io/posts/helpers

socket.io/posts/tools

socket.io/topics/tools

socket.io/user/ban

socket.io/user/picture

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

sockets

widgets

admin/settings

client/categories

client/category

client/chats

client/compose

client/infinitescroll

client/recent

client/search

client/top

client/topic

client/unread

modules/chat

modules/notifications

modules/search

modules/settings

modules/share

modules/taskbar

client/account/edit

client/account/topics

client/chats/messages

client/topic/events

client/topic/images

client/topic/move

client/topic/postTools

client/topic/posts

client/topic/replies

client/topic/threadTools

This page was generated on Sun, 18 Nov 2018 21:03:39 GMT Total Hooks: 308

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.