Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Web Push notifications using OneSignal Details »
Web Push notifications using OneSignal
Mod Version: 1.2.0, by iA1 (Coder) iA1 is offline
Developer Last Online: Jul 2023 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (2 votes - 5.00 average) Installs: 7
Released: 11 Jul 2018 Last Update: 22 Dec 2018 Downloads: 50
Supported Uses Plugins Additional Files Re-usable Code Translations  

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:
  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 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.


Change Log:
1.2.0 - Fixed forum sub-directory
1.0.1 - Fixed Table Prefix bug
1.0.0 - Initial Release

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin Web Push notifications using OneSignal iA1 vBulletin 4.x Add-ons 95 07 Oct 2021 18:18
End-User Options Roost Web Push burtonmiller vBulletin 4.x Add-ons 2 29 Jul 2014 18:53
Mini Mods Change Notifications Box Background on New Notifications Hasann vBulletin 3.7 Add-ons 65 28 May 2011 12:50

Comments
  #2  
Old 11 Jul 2018, 20:45
iA1 iA1 is offline
 
Join Date: Jul 2018
Screenshots:


Subscribed thread notifications


on Mobile (Android)




on desktop/laptop




on MAC OS




New PM notification




Post like notification



Last edited by iA1; 10 Jul 2019 at 20:18.
Reply With Quote
  #3  
Old 12 Jul 2018, 19:40
iA1 iA1 is offline
 
Join Date: Jul 2018
Debug version attached.
Attached Files
File Type: zip OneSignal_webpush_1.0.2debug - vB3.8.zip (5.9 KB, 7 views)
Reply With Quote
  #4  
Old 19 Jul 2018, 17:20
unitedpunjab's Avatar
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Real name: Dhillon
Quote notifications would be nice

I already have few thousand onesignal subscribers to send new thread notifications, will there conflicts with this mod ?
Reply With Quote
  #5  
Old 19 Jul 2018, 17:36
iA1 iA1 is offline
 
Join Date: Jul 2018
Originally Posted by unitedpunjab View Post
Quote notifications would be nice

I already have few thousand onesignal subscribers to send new thread notifications, will there conflicts with this mod ?
Are they subscribed using this mod or you have some other setup for it?
Reply With Quote
  #6  
Old 19 Jul 2018, 17:41
unitedpunjab's Avatar
unitedpunjab unitedpunjab is offline
 
Join Date: Feb 2006
Real name: Dhillon
Some other setup for few months now.

I do get pm notification from you mod and thread notifications from other setup.
Reply With Quote
  #7  
Old 13 Dec 2018, 14:01
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Real name: 84962726515
I installed this mod but its showing notification when i made new Thread
__________________
internetpharmacydir.com
Reply With Quote
  #8  
Old 17 Dec 2018, 18:32
iA1 iA1 is offline
 
Join Date: Jul 2018
Originally Posted by Goomzee View Post
I installed this mod but its showing notification when i made new Thread
Can you post details about your setup. There could be something amiss.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #9  
Old 18 Dec 2018, 03:22
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Real name: 84962726515
i did same setup that you mentioned in your topic Bell icon also on my website then when i click bell it show one number on subscribers in onesignal Dashboard
__________________
internetpharmacydir.com
Reply With Quote
  #10  
Old 18 Dec 2018, 14:27
iA1 iA1 is offline
 
Join Date: Jul 2018
Originally Posted by Goomzee View Post
i did same setup that you mentioned in your topic Bell icon also on my website then when i click bell it show one number on subscribers in onesignal Dashboard
Send your forum address by PM and I'll have a look at it.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #11  
Old 19 Dec 2018, 03:35
Goomzee Goomzee is offline
 
Join Date: Apr 2008
Real name: 84962726515
check your Pm
__________________
internetpharmacydir.com
Reply With Quote
  #12  
Old 20 Dec 2018, 03:57
DCD.RB DCD.RB is offline
 
Join Date: Jan 2011
Hi,
Would this work with this Thank You plugin:
https://www.vbulletin.org/forum/show...ight=Thank+you

EDIT:

I can see from the XML file that you specifically coded it to work with DBTech, so I'm guessing the answer if it'd work with the above plugin is no.

I would use it if it's updated to support that in the future.

Additionally, I would like to see an option to limit which usergroups can use this. Very good plugin though.

Last edited by DCD.RB; 20 Dec 2018 at 04:04.
Reply With Quote
  #13  
Old 22 Dec 2018, 19:01
iA1 iA1 is offline
 
Join Date: Jul 2018
Updated with a fix for those who install their forum on a sub-directory.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:16.

Layout Options | Width: Wide Color: