-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathplugin.json
More file actions
28 lines (28 loc) · 731 Bytes
/
plugin.json
File metadata and controls
28 lines (28 loc) · 731 Bytes
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
{
"id": "nodebb-widget-board-stats",
"name": "Classic Board Stats Widget for NodeBB",
"description": "Widget listing active users and other board stats in a classical forum look but shown in real-time.",
"url": "https://github.com/psychobunny/nodebb-widget-board-stats",
"library": "./library.js",
"hooks": [
{
"hook": "static:app.load", "method": "init"
},
{
"hook": "filter:widgets.getWidgets", "method": "defineWidgets"
},
{
"hook": "filter:widget.render:board-stats", "method": "renderWidget"
},
{
"hook": "action:user.online", "method": "updateAndGetOnlineUsers"
}
],
"templates": "./public/templates",
"less": [
"public/less/widget.less"
],
"scripts": [
"public/src/client.js"
]
}