Skip to content
Misty (Bot) edited this page Sep 2, 2022 · 16661 revisions

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

topics/tools

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

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

middleware/header

middleware/index

middleware/render

middleware/user

meta/blacklist

meta/tags

meta/settings

messaging/data

messaging/create

messaging/notifications

messaging/index

messaging/edit

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

controllers/composer

controllers/helpers

controllers/index

controllers/mods

controllers/uploads

controllers/admin/cache

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

controllers/accounts/settings

categories/data

categories/create

categories/delete

categories/search

categories/recentreplies

categories/index

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

app

ajaxify

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 Fri, 02 Sep 2022 19:14:20 GMT Total Hooks: 469

Clone this wiki locally