forked from btw6391/nodebb-plugin-custom-registration-fields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
executable file
·27 lines (27 loc) · 1.06 KB
/
plugin.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"id": "nodebb-plugin-custom-registration-fields",
"name": "Custom Registration Fields",
"description": "Adds custom fields to user registration page to input additional profile data",
"url": "https://github.com/btw6391/nodebb-plugin-custom-registration-fields",
"library": "./library.js",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "filter:register.build", "method": "addField" },
{ "hook": "filter:register.check", "method": "checkField" },
{ "hook": "filter:admin.registrationQueue.customHeaders", "method": "customHeaders" },
{ "hook": "filter:user.getRegistrationQueue", "method": "customFields" },
{ "hook": "filter:user.create", "method": "creatingUser" },
{ "hook": "action:user.create", "method": "createdUser" },
{ "hook": "filter:user.addToApprovalQueue", "method": "addToApprovalQueue" }
],
"staticDirs": {
"static": "./static"
},
"less": [
],
"scripts": [
"static/lib/main.js"
],
"templates": "static/templates"
}