Back to vBulletin 4.x Add-ons

Web Push notifications using OneSignal
Mod Version: 1.3.5, by iA1

vB Version: 4.2.x Rating: (4 votes - 4.75 average) Installs: 33
Released: 11 Jul 2018 Last Update: 07 May 2019 Downloads: 168
Supported Uses Plugins Additional Files Re-usable Code Translations  

Description:

https://onesignal.com/ 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 https://theadminzone.com/resources/xenforo-onesignal-push-notifications-now-with-simple-install.1069/.

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:
  1. someone replies on their subscribed threads
  2. sends them a PM
  3. likes one of their posts (dbtech thanks)

Installation:
  1. Register an account at https://onesignal.com/
    • Click on Add a new app to register your forum there
    • Select Web Push as the platform
    • Configure Web Push by selecting Typical Site and enter you forum details
    • Add at least one prompt and complete the remaining setup there. Leave most of the options as default. Only change where necessary.
    • After you click Save, you will get a few files to download.
    • Download those files, extract them and upload them to your forum's root directory.
    • There is another section on the same page asking you to add code to your site. DO NOT add that code yet. It is automatically done when you install this product.
  2. Download attached zip file. Upload the file functions_OneSignal.php under /includes directory
  3. Install the product using the xml file
  4. Go back to onesignal.com, under settings, click on Keys & IDs.
  5. Copy these keys and paste them in the settings in admincp.


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.

Download latest version: 1.3.5
If upgrading from previous version, replace the functions file as well.

Change log:
1.3.5 - Typo fixed
1.3.0 - Separated multiple consecutive notifications for different threads
1.2.0 - Added privacy for replies in private sections and
Subscribe button at the end of posts
1.1.0 - Fixed issue with sub-forum
1.0.1 - Fixed Table Prefix bug
1.0.0 - Initial Release

Download

File Type: %1$s OneSignal_webpush_1.1.0.zip (5.6 KB, 25 downloads)
File Type: %1$s OneSignal_webpush_vB4_1.2.0.zip (5.9 KB, 26 downloads)
File Type: %1$s OneSignal_webpush_1.3.0.zip (6.1 KB, 28 downloads)
File Type: %1$s OneSignal_webpush_1.3.5.zip (5.9 KB, 101 downloads)

Supporters / CoAuthors

  • pierce

Similar Mods

End-User Options Roost Web Push vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024