Version: 1.3.5, by iA1
Developer Last Online: Jul 2023
Category: Integration with vBulletin -
Version: 4.2.x
Rating:
Released: 07-10-2018
Last Update: 05-06-2019
Installs: 33
Supported Uses Plugins
Re-useable Code Additional Files 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:
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.
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.
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
I am not sure why it doesn't work for Russian. Can you check your OneSignal control panel for message logs and see if there is any error listed there?
I have tested this with another language and it worked fine for me without any issues.
thanks for the answer.
if I send test messages from the OneSign panel, there are no errors. When I create a topic on the forum, the name in English, I write in it in English, there are no problems, push message comes. I think that the error with the processing of php mod ... or the encoding does not understand. I do not see any errors in the logs. And I tried to translate phrases in a php file, for example, "replied to", immediately ceases to send push messages.
I am not sure why it doesn't work for Russian. Can you check your OneSignal control panel for message logs and see if there is any error listed there?
I have tested this with another language and it worked fine for me without any issues.
And can I make it so that a notification without nicknames, topic names and messages is sent? The usual notification is a "new answer", or "a new personal message". And click on the link to send a link to a topic or personal message.
That would be the right decision! Moreover, I have a very small notice on the 27 "screen, and it's easier for me to click and read on the site." It's also more convenient for me to follow the link on a mobile phone.
Hi, I've followed your instructions exactly, but notifications to subscribe are not showing.
I'm just running a test board at the moment to see the capabilities of the software and it is located at
Code:
https://www.mydomain.com/forum
In the settings on OneSignal it does not allow me to enter that location, only
Code:
https://www.mydomain.com
- could this be the reason it isn't showing?
Thanks.
Update:
Sorry I was being impatient. It's showing now, but as my connection is private it's blocking notifications. I'll see how it runs for other people though, thanks for providing this plugin.
And can I make it so that a notification without nicknames, topic names and messages is sent? The usual notification is a "new answer", or "a new personal message". And click on the link to send a link to a topic or personal message.
That would be the right decision! Moreover, I have a very small notice on the 27 "screen, and it's easier for me to click and read on the site." It's also more convenient for me to follow the link on a mobile phone.
Replace the file includes/functions_OneSignal.php with the attached file. You can even open that file in a text editor and modify the messages as you like.
Replace the file includes/functions_OneSignal.php with the attached file. You can even open that file in a text editor and modify the messages as you like.
:up: Yes! working!!!
PM removed from the code?
I change the text in the script if the English language works, if the Russian text does not send messages. I do not understand the problem.
and the transition from push notification to the wrong place where the new answer, but simply to the home page.
:up: Yes! working!!!
PM removed from the code?
I change the text in the script if the English language works, if the Russian text does not send messages. I do not understand the problem.
<a href="https://www.carhelp.info/showthread.php?p=1544887&utm_source=onesignal&utm_ medium=push&utm_campaign=onesignal" target="_blank">https://www.carhelp.info/showthread....aign=onesignal</a> Here such link comes in push, I think the end superfluous?