nodebb-plugin-events
Topic Events plugin for NodeBB
Last updated 8 years ago .
· Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nodebb-plugin-events 
SYNC missed versions from official npm registry.

Topic Events plugin for NodeBB

Catches events such as topic pinned/unpinned, locked/unlocked, and moved. Adds a small notification inline within the thread, with the moderator's picture, username, brief description of the event, and timestamp.

Installation

npm install nodebb-plugin-events

Adding custom events in your own plugin

Server side:

/*
*  eventType: topic / user
*  typeID: tid or uid
*  eventName: only the most recent of this will be recorded, the previous will be deleted
*  eventData: things that you want to pass along to your template
*/
plugins.fireHook('action:event.add', eventType, typeID, eventName, timestamp, eventData);

Screenshots

Current Tags

  • 0.1.1                                ...           latest (8 years ago)

7 Versions

  • 0.0.1                                ...           9 years ago
  • 0.0.2                                ...           9 years ago
  • 0.0.3                                ...           9 years ago
  • 0.0.4                                ...           9 years ago
  • 0.0.5                                ...           9 years ago
  • 0.1.0                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
Maintainers (1)
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright © npmmirror.com | 浙ICP备15033595号-63 |