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)

viverevalencia 01-04-2019 08:30 AM

Hi there!

I'm testing your plugin, you did a good job!

thanks for sharing it with the community :)

All functionalities for me work well, except PUSH notifications when someone sends a PM to another user with the application installed.

Do you have any idea why PM notifications don't work?

Regards

viverevalencia 01-04-2019 09:38 AM

Quote:

Originally Posted by viverevalencia (Post 2598011)
Hi there!

I'm testing your plugin, you did a good job!

thanks for sharing it with the community :)

All functionalities for me work well, except PUSH notifications when someone sends a PM to another user with the application installed.

Do you have any idea why PM notifications don't work?

Regards

Hi, I've finally been able to solve the problem.

I deleted line 116 from the file product-onesignal_notifications.xml

And it's worked.

iA1 01-04-2019 06:49 PM

Quote:

Originally Posted by viverevalencia (Post 2598012)
Hi, I've finally been able to solve the problem.

I deleted line 116 from the file product-onesignal_notifications.xml

And it's worked.

Do you mean this line?
$contentType = 'pm';

or this line?
if ($vbulletin->options['iA1_onesignal_notif_active'])

viverevalencia 01-07-2019 10:33 AM

Quote:

Originally Posted by iA1 (Post 2598016)
Do you mean this line?
$contentType = 'pm';

or this line?
if ($vbulletin->options['iA1_onesignal_notif_active'])

this one -> if ($vbulletin->options['iA1_onesignal_notif_active'])

bilgicc 01-14-2019 02:32 PM

Quote:

Originally Posted by viverevalencia (Post 2598034)
this one -> if ($vbulletin->options['iA1_onesignal_notif_active'])

Deleted this code and only one time notification arrived. After the notification doesn't come when the PM arrives.

iA1 01-25-2019 10:43 AM

Update 1.3.0

Bug fixed for PM notifications
Separated multiple consecutive notifications from different threads

gnrx 01-26-2019 09:38 PM

Quote:

Originally Posted by iA1 (Post 2598234)
Update 1.3.0

Bug fixed for PM notifications
Separated multiple consecutive notifications from different threads

Thanks for your hard work!!

Scalemotorcars 02-04-2019 08:19 PM

Onesignal never gave me files to download. All I got was the script to add in the header that the instructions say not to include. What did I miss?

Scalemotorcars 02-04-2019 09:13 PM

If you didnt get the files I found them listed on the sites help page here.

https://documentation.onesignal.com/...-onesignal-sdk

I finally got it the 1st notification. Now to see if it keeps working.

Kane@airrifle 02-10-2019 03:42 PM

Get this error when enabling this mod.

Code:

Fatal User Error: syntax error, unexpected 'if' (T_IF) on line 3 in /dbtech/thanks/contenttypes/post/save.php(235) : eval()'d code


All times are GMT. The time now is 05:05 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.01201 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (5)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