Web Push notifications using OneSignal
Description:
OneSignal has an API that allows us to send unlimited web and push notifications for FREE. When I came to know about it, I spent several days and months searching for compatible plugins for vB4. Finally decided to learn and create my own based on pierce's similar mod for Xenforo.
Push notifications is a great way to keep your members engaged. It keeps driving them back to your site. This mod works great on mobile browsers as well.
This is the lite version which allows you to send web push notifications to your users whenever:
- someone replies on their subscribed threads
- sends them a PM
- likes one of their posts (dbtech thanks)
Installation:
- Register an account at OneSignal.com
- Download attached zip file. Upload the file functions_OneSignal.php under /includes directory
- Install the product using the xml file
- Go back to onesignal.com, under settings, click on Keys & IDs.
https://www.vbulletin.org/forum/external/2018/07/7.png - Copy these keys and paste them in the settings in admincp.
https://www.vbulletin.org/forum/external/2018/07/8.png
Disclaimer:
I am not associated with onesignal in any way. This is just something that I found useful for my forum and wanted to share with everyone else.
If I get enough support then I plan to add notifications for moderators' actions and for quotes and tags as well.
Change log:
1.0.1 - Fixed Table Prefix bug
1.0.0 - Initial Release
Downloads:
Visit https://vbulletin.org/forum/showthread.php?t=326558 to download the product.