Skip to content
Misty (Bot) edited this page Jun 27, 2022 · 16068 revisions
Clone this wiki locally

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/admin

widgets/index

user/admin

user/approval

user/blocks

user/categories

user/create

user/data

user/delete

user/digest

user/email

user/follow

user/index

user/interstitials

user/invite

user/notifications

user/online

user/profile

user/search

user/settings

topics/create

topics/data

topics/delete

topics/events

topics/fork

topics/index

topics/merge

topics/posts

topics/recent

topics/sorted

topics/tags

topics/teaser

topics/thumbs

topics/tools

topics/unread

socket.io/helpers

socket.io/index

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/config

routes/authentication

routes/index

routes/write/index

rewards/admin

rewards/index

privileges/admin

privileges/categories

privileges/global

privileges/helpers

privileges/posts

privileges/topics

privileges/users

posts/bookmarks

posts/create

posts/data

posts/delete

posts/diffs

posts/edit

posts/index

posts/parse

posts/queue

posts/summary

posts/user

posts/votes

plugins/hooks

plugins/index

plugins/install

navigation/admin

middleware/admin

middleware/header

middleware/headers

middleware/index

middleware/render

middleware/user

meta/blacklist

meta/settings

meta/tags

messaging/create

messaging/data

messaging/edit

messaging/index

messaging/notifications

messaging/rooms

groups/create

groups/data

groups/delete

groups/index

groups/invite

groups/join

groups/leave

groups/ownership

groups/update

controllers/404

controllers/api

controllers/authentication

controllers/composer

controllers/errors

controllers/helpers

controllers/index

controllers/mods

controllers/uploads

controllers/admin/categories

controllers/admin/dashboard

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/chats

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

ajaxify

app

sockets

widgets

modules/alerts

modules/api

modules/categoryFilter

modules/categorySelector

modules/chat

modules/flags

modules/logout

modules/notifications

modules/search

modules/settings

modules/share

modules/taskbar

modules/topicList

modules/translator

client/categories

client/category

client/chats

client/compose

client/infinitescroll

client/login

client/search

client/topic

client/topic/events

client/topic/move

client/topic/postTools

client/topic/posts

client/topic/replies

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 Mon, 27 Jun 2022 12:10:17 GMT Total Hooks: 463