Hooks - NodeBB/NodeBB Wiki

Note: This page is autogenerated every time 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.

analytics

emailer

events

flags

image

languages

notifications

search

sitemap

social

webserver

widgets/index

widgets/admin

user/approval

user/admin

user/create

user/data

user/blocks

user/categories

user/digest

user/email

user/follow

user/delete

user/interstitials

user/index

user/online

user/notifications

user/profile

user/settings

user/search

topics/data

topics/create

topics/delete

topics/events

topics/fork

topics/merge

topics/posts

topics/index

topics/recent

topics/sorted

topics/tags

topics/thumbs

topics/teaser

topics/tools

topics/unread

socket.io/helpers

socket.io/index

socket.io/modules

socket.io/posts

socket.io/user

socket.io/user/picture

socket.io/user/profile

socket.io/topics/tools

socket.io/posts/tools

socket.io/categories/search

socket.io/admin/categories

socket.io/admin/config

routes/authentication

routes/index

routes/write/index

rewards/admin

rewards/index

privileges/global

privileges/helpers

privileges/categories

privileges/admin

privileges/topics

privileges/users

privileges/posts

posts/bookmarks

posts/create

posts/delete

posts/data

posts/edit

posts/diffs

posts/index

posts/queue

posts/parse

posts/summary

posts/user

posts/votes

plugins/hooks

plugins/index

plugins/install

middleware/admin

navigation/admin

middleware/header

middleware/headers

middleware/render

middleware/index

middleware/user

meta/blacklist

meta/settings

messaging/create

meta/tags

messaging/data

messaging/edit

messaging/index

messaging/notifications

messaging/rooms

groups/create

groups/delete

groups/data

groups/index

groups/join

groups/invite

groups/leave

groups/ownership

groups/update

controllers/404

controllers/api

controllers/authentication

controllers/composer

controllers/errors

controllers/helpers

controllers/mods

controllers/index

controllers/uploads

controllers/admin/dashboard

controllers/admin/categories

controllers/admin/uploads

controllers/admin/users

controllers/accounts/blocks

controllers/accounts/helpers

controllers/accounts/notifications

controllers/accounts/posts

controllers/accounts/settings

categories/create

categories/data

categories/delete

categories/index

categories/recentreplies

categories/search

categories/topics

categories/update

api/helpers

api/users

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
});

app

ajaxify

sockets

widgets

modules/alerts

modules/api

modules/categoryFilter

modules/categorySelector

modules/chat

modules/flags

modules/notifications

modules/search

modules/share

modules/settings

modules/taskbar

modules/topicList

modules/translator

client/category

client/categories

client/chats

client/compose

client/infinitescroll

client/login

client/search

client/topic

client/topic/events

client/topic/replies

client/topic/posts

client/topic/move

client/topic/postTools

client/topic/threadTools

client/topic/votes

client/chats/messages

client/account/blocks

client/account/edit

client/account/posts

client/account/topics

admin/settings

admin/modules/dashboard-line-graph

This page was generated on Fri, 01 Oct 2021 18:50:04 GMT Total Hooks: 450