Skip to content
Misty (Bot) edited this page Sep 4, 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/events

topics/fork

topics/index

topics/delete

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

socket.io/admin/config

routes/authentication

routes/index

routes/write/index

rewards/index

rewards/admin

privileges/global

privileges/admin

privileges/helpers

privileges/categories

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

plugins/index

navigation/admin

middleware/admin

middleware/headers

middleware/header

middleware/index

middleware/render

middleware/user

meta/blacklist

meta/tags

meta/settings

messaging/create

messaging/data

messaging/index

messaging/notifications

messaging/edit

messaging/rooms

groups/create

groups/data

groups/delete

groups/invite

groups/index

groups/join

groups/leave

groups/ownership

groups/update

controllers/404

controllers/authentication

controllers/api

controllers/composer

controllers/errors

controllers/index

controllers/helpers

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

controllers/accounts/notifications

controllers/accounts/posts

controllers/accounts/settings

categories/data

categories/create

categories/delete

categories/index

categories/recentreplies

categories/search

categories/topics

categories/update

api/helpers

api/chats

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

modules/settings

modules/taskbar

modules/topicList

modules/translator

client/categories

client/category

client/compose

client/chats

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 Sun, 04 Sep 2022 16:59:13 GMT Total Hooks: 469

Clone this wiki locally