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.3.5, by iA1 (Coder) iA1 is offline
Developer Last Online: Oct 2020 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (5 votes - 4.00 average) Installs: 27
Released: 11 Jul 2018 Last Update: 07 May 2019 Downloads: 122
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.


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 Now

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

Supporters / CoAuthors

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
End-User Options Roost Web Push burtonmiller vBulletin 4.x Add-ons 2 29 Jul 2014 18:53

  #76  
Old 08 May 2019, 11:21
nanox nanox is offline
 
Join Date: May 2013
Where can i translate the notifications? Ive tried the "search phrases.
Reply With Quote
  #77  
Old 08 May 2019, 17:25
nanox nanox is offline
 
Join Date: May 2013
I cant get the notifications to work, my default language includes special characters. Is this the problem?
Reply With Quote
  #78  
Old 12 May 2019, 04:40
iA1 iA1 is offline
 
Join Date: Jul 2018
Originally Posted by nanox View Post
Where can i translate the notifications? Ive tried the "search phrases.
You will have to edit the file functions_OneSignal.php

Originally Posted by nanox View Post
I cant get the notifications to work, my default language includes special characters. Is this the problem?
I have not tested with special characters. Most probably they are not supported. I will try updating it later on.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #79  
Old 15 Oct 2019, 14:19
red-dna red-dna is offline
 
Join Date: Mar 2006
What about vb 4.08 ?
I try to install but i get a blank page
Reply With Quote
  #80  
Old 15 Oct 2019, 14:33
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by red-dna View Post
What about vb 4.08 ?
I try to install but i get a blank page
On the top of the thread it states "vB Version: 4.2.x" which means they likely only tested it with vBulletin 4.2.* and not your version (which is extremely outdated, you should really upgrade)
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #81  
Old 05 Nov 2019, 19:50
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Seems to be working well on 4.2.5
Cheers!
Reply With Quote
  #82  
Old 05 Nov 2019, 19:52
gnrx gnrx is offline
 
Join Date: Apr 2009
Originally Posted by Mr Peabody View Post
Seems to be working well on 4.2.5
Cheers!
I have vb 4.2.5 and PHP 7.1 and works fine.
Reply With Quote
  #83  
Old 01 Dec 2019, 07:23
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Would be good if there was a VB 5 version
Reply With Quote
  #84  
Old 25 Sep 2020, 15:30
cdoyle cdoyle is offline
 
Join Date: Oct 2004
I'm having some difficulties getting this to work, or I'm not understanding what it does.

I've signed up for an account at onesignal,
Entered my forum
https://www.caraudiocentral.net

downloaded the files
Uploaded the files to my forum root
https://www.caraudiocentral.net/forums

I then downloaded the plugin, uploaded the 1 file to the includes
and then installed the plugin.
Entered my Keys into the plugin settings
Enabled plugin.

I'm trying with my test accounts to get push notifications and nothing is happening.
I login with my main account on my forum, tried to PM my test account. No notification
Tried replying to a thread. No notification

Are there additional settings that need to be enabled?
Are there settings in the UserCP that a user needs to subscribe? I'm not seeing any but want to make sure.

My forum is running 4.2.5
Reply With Quote
  #85  
Old 26 Sep 2020, 04:03
iA1 iA1 is offline
 
Join Date: Jul 2018
Is it still enabled at your forum? I do not see the popup for subscribing. Try using the default style.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #86  
Old 27 Sep 2020, 13:22
cdoyle cdoyle is offline
 
Join Date: Oct 2004
take a look now. It's odd, all of a sudden the little red bell just appeared.
I hadn't done anything since Friday.

I think it's working, when I reply to PMs from both accounts. I get a little popup lower right corner.
Reply With Quote
  #87  
Old 28 Sep 2020, 02:50
iA1 iA1 is offline
 
Join Date: Jul 2018
Thanks for the confirmation. Please mark as Installed.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #88  
Old 28 Sep 2020, 18:16
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
You mention that this is "This is the lite version" Is there a pro?
__________________
Custom Solutions for your vBulletin

Reply With Quote
  #89  
Old 28 Sep 2020, 21:39
iA1 iA1 is offline
 
Join Date: Jul 2018
Yes, this is lite version. I did not see much interest in getting a pro version from the users here, so did not complete the pro version until now. It is almost half done only and I use it on my own forum.
__________________
Make your forum mobile friendly and get app-like features:
App-like icon on your smartphone homescreen
Responsive style - for vBulletin 4.2.x as well as vB 3.8.x - Contact for custom work
Push notifications for new replies, likes and PM
Reply With Quote
  #90  
Old 29 Sep 2020, 00:22
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
Originally Posted by iA1 View Post
Yes, this is lite version. I did not see much interest in getting a pro version from the users here, so did not complete the pro version until now. It is almost half done only and I use it on my own forum.
Would be interested in know what additional functionality you have incorporated as this is something I have thought about over the years but never saw anything or commissioned to code it.
__________________
Custom Solutions for your vBulletin

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

Layout Options | Width: Wide Color: