vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Web Push notifications using OneSignal (https://vborg.vbsupport.ru/showthread.php?t=326558)

gnrx 12-18-2018 02:55 PM

Quote:

Originally Posted by iA1 (Post 2597851)
If you get notification as shown in screenshot in post #2
https://vbulletin.org/forum/showpost...89&postcount=2 then it is working fine.
The notifications are not inside the bell. It is actually browser notification. On desktop as well as on smartphone.

Hi iA1,
Yes, I received notification as shown in the screenshot of post 2 of the link that you indicate, then, its working fine.
I was think that, the notification is in the bell (I don't know for what reasson I was think this).

The notifications like your screenshot appears well.

Like Advanced User Tagging also have Desktop Notifications, I was think wrong about bell notifications.

Thank you very much for your detailed and attention reply.

Again, thank you very much!!

khalled 12-19-2018 06:03 PM

i install the product from two days and till now i don't get any automatic notification ,

N.B i add Keys & IDs. to the product , also i can send notification manually from OneSignal website and run vBulletin® Version 4.2.5

iA1 12-19-2018 08:01 PM

Quote:

Originally Posted by khalled (Post 2597872)
i install the product from two days and till now i don't get any automatic notification ,

N.B i add Keys & IDs. to the product , also i can send notification manually from OneSignal website and run vBulletin? Version 4.2.5

To get support, please mark as installed and send the link of your forum by PM.

gnrx 12-22-2018 12:36 PM

Today, I view I have the same problem:
Quote:

Originally Posted by Cable_Player (Post 2596401)
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.

Also, My forum ints a: https://www.myforum.com/foro
But in the settings on OneSignal, I can't add /forum, only https://www.myforum.com
Quote:

Originally Posted by iA1 (Post 2596402)
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.

Made the same changes for solved?

Thanks and regards!

iA1 12-22-2018 05:22 PM

I have updated the plugin and applied a fix. Now it should work without any problems on forums that are on a sub-directory.

Download updated files, re-upload functions file under includes folder and re-install the product.

gnrx 12-22-2018 05:58 PM

Quote:

Originally Posted by iA1 (Post 2597900)
I have updated the plugin and applied a fix. Now it should work without any problems on forums that are on a sub-directory.

Download updated files, re-upload functions file under includes folder and re-install the product.

Thank you very much iA1! I download and re upload and re install the product.

Again, thanks!!!

iA1 12-23-2018 10:30 AM

Quote:

Originally Posted by carik (Post 2596444)
when you go to the topic, opens the page you want, but you need to scroll the page to the post. If there are ideas how to correct I will be very grateful!

:up::up::up:

This has been corrected in the previous update, 1.1.0

Update:

1.2.0 - Added privacy for replies in private sections.
Post content and thread title from private sections will not be displayed on push notifications. Instead, it just asks the recipient to click to view the post.

Added subscribe button after the last posts, before quick-reply box. It will only display if you enable Custom Link Prompt in your OneSignal settings.

khalled 12-24-2018 03:36 PM

Quote:

Originally Posted by khalled (Post 2597872)
i install the product from two days and till now i don't get any automatic notification ,

N.B i add Keys & IDs. to the product , also i can send notification manually from OneSignal website and run vBulletin? Version 4.2.5

Quote:

Originally Posted by iA1 (Post 2597874)
To get support, please mark as installed and send the link of your forum by PM.

Many Thanks iA1 for help in private PM and your valuable advise , which i will share here as i guide for other
PHP Code:

Check the steps of installation once againAt the end of step 1it says:
Download those filesextract 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.

See the red part. It seems like you have manually added that code as well. Maybe it is causing the problem.
Many thanks for your help , yes as you said i manually added the code , but after i delete the code , Nothing Happened and there is no new subscriber from yesterday
I checked your website again. There seems to be a problem with the appid. It says in browser console log:
OneSignal: This app ID does match any existing app. Double check your app ID.

Check your OneSignal app id setting in admincp. 

My questions is

after your advise , the web site visitors can now subscribe in OneSignal notifications
but when i check the website page source i found that OneSignal code only appear after i inter web site as i user and not appear if i am unregistered visitor , is that mean that only registered visitor can subscribe in the OneSignal notifications

also until now there is no notification send from my forum automatically , and must send notifications manually from https://onesignal.com

gnrx 12-24-2018 03:48 PM

Quote:

Originally Posted by iA1 (Post 2597904)
Update:

1.2.0 - Added privacy for replies in private sections.
Post content and thread title from private sections will not be displayed on push notifications. Instead, it just asks the recipient to click to view the post.

Added subscribe button after the last posts, before quick-reply box. It will only display if you enable Custom Link Prompt in your OneSignal settings.

Thanks for your work!!!

gnrx 12-24-2018 03:59 PM

Hello.
Just, after 2 minutos post my last reply (before post I was update this mod), one user reply a private thread.
I received the notification that: The user x has replied a private thread (in english and my forum is spanish :)) but click in the link and go to www.mydomain.com (my forum is in: www.mydomain.com/foro).

Edit: also, I try the new function: Added subscribe button after the last posts, before quick-reply box. It will only display if you enable Custom Link Prompt in your OneSignal settings.

I create a Custom Link Prompt in OneSignal settings, I try, appears before quick response, click in the link I go to page that appears:

Code:

Forum notice
The specified action is invalid

undefined

The url that appears in my browser is:
Code:

https://www.mydomain.com/foro/inlinemod.php?threadid=409061&p=
But after this, the bell indicate that, I are suscribed.

Regards and Happy Christmas!!!


All times are GMT. The time now is 01:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01332 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete