I copied comments folder from nodebb-plugin-blog-comments\public\templates to NodeBB\build\public\templates and that appears to have worked. Thanks!
Is it possible schedulate notifications in the future?
-
I need to schedulate notification in the future is it possible?
-
Like in a plugin?
-
@PitaJ Yes I want to schedulate a notification in the future in a plugin and I want know if it is possibile or not!
-
It's possible, but not easy.
-
@PitaJ can you write me the steps that I must do to obtain my purpose?
-
The relevant notification functions are
Notifications.create
andNotifications.push
When a notification is created, the time is always set to the current time, but we may consider making this changeable if there is interest.
You'll probably want to use
node-cron
in your plugin to schedule a notification push to a future date.
Suggested Topics
Copyright © 2022 NodeBB | Contributors