Displaying realtime notifications originated from Node.js server. The plugin uses the jGrowl jQuery library to display messages, and AudioJS to play sound alert.
Requirements:
- e107 CMS v2
- Node.js (nodejs) plugin
- (optional) Node.js PM (nodejs_pm) plugin
- (optional) Node.js Forum (nodejs_forum) plugin [under development]
Features:
- Broadcast notification: Admins can send broadcast messages to logged in users
- Provides a NodeJS (JavaScript) callback to display messages
- Provides a simple API to allow other plugins to use a global "Notification Settings" form, where user can enable/disable diferent kind of notifications (popup message and/or sound alert). To use this global form, you have to use 'e_nodejs_notify.php' addon file in your plugin directory, and you have to define two EUFs (Extended User Field) in your plugin.xml. These EUF fields store user defined configurations to handle alert messages and sounds. You have to define two EUF fields to each configuration item. How does it work? See usage in 'nodejs_pm' and 'nodejs_forum' plugins.
Please feel free to report any bug found. Pull requests, issues, and plugin recommendations are more than welcome!
Donate with PayPal
If you think this plugin is useful and saves you a lot of work, a lot of costs (PHP developers are expensive) and let you sleep much better, then donating a small amount would be very cool.
Hey dude! Help me out for a couple of 🍻!