• Hi everyone

    We added recently a YouTube Stream webtv

    I would like to send a notification to users when live turning ON. I don't know how to do this !
    Did you have an idea ? This notif can be manual or auto.


  • GNU/Linux Admin

    You'd need to write a plugin to do this. Possibly with an ACP page so when the stream is live, then an admin can go in and click "send notifications to all users".

    You can hook into the nodebb notifications library with:

    var notifications = module.parent.require('./notifications');

    ... and use .create(); and .push(), respectively.

Suggested Topics

| | | |