forked from claude-wishnote/nodebb-plugin-custom-user-props
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
62 lines (62 loc) · 1.66 KB
/
plugin.json
File metadata and controls
62 lines (62 loc) · 1.66 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"id": "nodebb-plugin-custom-user-props",
"url": "https://github.com/claude-wishnote/nodebb-plugin-custom-user-props",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load",
"method": "init"
},
{
"hook": "filter:account/edit.build",
"method": "filterAccountEditBuild"
},
{
"hook": "filter:user.updateProfile",
"method": "filterUpdateProfile"
},
{
"hook": "action:user.updateProfile",
"method": "actionUserUpdateProfile"
},
{
"hook": "filter:user.whitelistFields",
"method": "filterUserWhitelistFields"
},
{
"hook": "filter:user.getFields",
"method": "filterUserGetFields"
},
{
"hook": "filter:admin.header.build",
"method": "addAdminNavigation"
},
{
"hook": "filter:register.build",
"method": "addCustomFields"
},
{
"hook": "filter:user.create",
"method": "saveCustomFields"
}
],
"staticDirs": {
"static": "./static"
},
"scss": [
"static/scss/style.scss"
],
"scripts": [
"static/lib/custom-user-props-main.js"
],
"acpScripts": [
"static/lib/custom-user-props-acp-main.js"
],
"modules": {
"../client/custom-user-props.js": "./static/lib/custom-user-props.js",
"../admin/plugins/custom-user-props.js": "static/lib/admin.js"
},
"templates": "static/templates",
"languages": "languages",
"defaultLang": "en-GB"
}