forked from NodeBB-Community/nodebb-plugin-user-invitations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
23 lines (23 loc) · 827 Bytes
/
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
{
"id": "nodebb-plugin-user-invitations",
"name": "User Invitations",
"description": "Allows current users to email invitations to potential new users.",
"url": "https://github.com/NodeBB-Community/nodebb-plugin-user-invitations",
"library": "./library.js",
"staticDirs": {
"public": "public"
},
"scripts": [
"public/js/script.js"
],
"templates": "public/templates",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "admin.menu" },
{ "hook": "filter:register.check", "method": "checkInvitation" },
{ "hook": "action:user.create", "method": "acceptInvite" },
{ "hook": "filter:user.profileLinks", "method": "addProfileLink" },
{ "hook": "static:user.delete", "method": "userDelete" }
],
"languages": "public/language"
}