-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
40 lines (40 loc) · 1.03 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
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"id": "nodebb-plugin-registration-profile-field",
"name": "Registration Profile Data Field",
"description": "Add a field to user registration page to input additional profile data",
"url": "https://github.com/T0ha/nodebb-plugin-registration-profile-field",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "filter:admin.header.build", "method": "addAdminNavigation"
},
{
"hook": "filter:register.build", "method": "addCaptcha"
},
{
"hook": "filter:admin.registrationQueue.customHeaders", "method": "customHeaders"
},
{
"hook": "filter:user.getRegistrationQueue", "method": "customFields"
},
{
"hook": "filter:user.create", "method": "createUser"
},
{
"hook": "filter:user.addToApprovalQueue", "method": "addToApprovalQueue"
}
],
"staticDirs": {
"static": "./static"
},
"less": [
"static/style.less"
],
"scripts": [
"static/lib/main.js"
],
"templates": "./static/templates"
}