vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=326558

gnrx 22 Dec 2018 18:58

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 23 Dec 2018 11:30

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 24 Dec 2018 16:36

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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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 24 Dec 2018 16:48

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 24 Dec 2018 16:59

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The url that appears in my browser is:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But after this, the bell indicate that, I are suscribed.

Regards and Happy Christmas!!!

iA1 24 Dec 2018 22:08

Quote:

Originally Posted by khalled (Post 2597915)
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

Yes, this plugin is only for logged-in members, because it only sends notification to members who are subscribed to a thread.

I have not added the functionality to send push notifications to guest users.

To test working, subscribe a thread and ask someone to reply on it. Or ask someone to send you a PM. You can also send me a test user account by PM.

iA1 24 Dec 2018 22:20

Quote:

Originally Posted by gnrx (Post 2597917)
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).

I will try to add phrases in the next update. For now, go to Plugin Manager in admincp and edit the plugin named 'Send newpost notification' under the product 'Web Push notifications using OneSignal'. You can edit the text in these two lines:
$extraData['title'] = 'a private thread';
$extraData['message'] = 'Click to view the post';

But make sure to enter only English characters. It does not accept special characters such as ˝.

Quote:

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The url that appears in my browser is:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But after this, the bell indicate that, I are suscribed.
There could be 2 reasons for seeing the invalid message:
- You were already subscribed
- You were not logged in

You can edit the custom buttom prompt in OneSignal settings and disable the button when a user is already subscribed, like this:
https://www.vbulletin.org/forum/external/2018/12/8.png

gnrx 25 Dec 2018 00:43

Quote:

Originally Posted by iA1 (Post 2597919)
I will try to add phrases in the next update. For now, go to Plugin Manager in admincp and edit the plugin named 'Send newpost notification' under the product 'Web Push notifications using OneSignal'. You can edit the text in these two lines:
$extraData['title'] = 'a private thread';
$extraData['message'] = 'Click to view the post';

But make sure to enter only English characters. It does not accept special characters such as ˝.

Ok, thanks iA1!

Quote:

There could be 2 reasons for seeing the invalid message:
- You were already subscribed
- You were not logged in

You can edit the custom buttom prompt in OneSignal settings and disable the button when a user is already subscribed, like this:
https://www.vbulletin.org/forum/external/2018/12/8.png
Yes, the custom buttom prompt in OneSignal I have configured for disable the button when a user is already subscribed.

I login with a user, unsuscrible, refresh my site, go to one thread, click in new option for subscribe (before quick reply) and again, I have the same error message.
But after this, the user are subscribed, appears in the bell and when I go to thread, not appears the option for subscribe.

Also, I view now that, all notifications when click, go to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

not the subforum folder
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I need made some change in some file?

Again, thank you very much for your attention and help!

Happy Christmas!!!

iA1 25 Dec 2018 16:24

Quote:

Originally Posted by gnrx (Post 2597921)
I login with a user, unsuscrible, refresh my site, go to one thread, click in new option for subscribe (before quick reply) and again, I have the same error message.
But after this, the user are subscribed, appears in the bell and when I go to thread, not appears the option for subscribe.

We cannot actually control the button because that is generated by OneSignal itself. We are only able to change the place where this is shown to the user.

I noticed similar error when using incognito because the browser could not enable notifications.

Quote:

Also, I view now that, all notifications when click, go to:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

not the subforum folder
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I need made some change in some file?
This problem was already solved in previous update. Please test again.

khalled 25 Dec 2018 23:23

Quote:

Originally Posted by iA1 (Post 2597918)
Yes, this plugin is only for logged-in members, because it only sends notification to members who are subscribed to a thread.

I have not added the functionality to send push notifications to guest users.

To test working, subscribe a thread and ask someone to reply on it. Or ask someone to send you a PM. You can also send me a test user account by PM.

many thanks , it work Now

but what if i want to also send push notifications to guest users , can i add the code manually or that will prevent the plug in from sending notifications about reply and PM to registered user

gnrx 29 Dec 2018 12:39

Quote:

Originally Posted by iA1 (Post 2597922)
We cannot actually control the button because that is generated by OneSignal itself. We are only able to change the place where this is shown to the user.

I noticed similar error when using incognito because the browser could not enable notifications.



This problem was already solved in previous update. Please test again.

Sorry for the delay un reply, this christmas days...

Yes, confirm, I have the last version 1.2.0 and now, when I received a push notification, and click, send me to: www.mydomain.com
Not to www.mydomain.com/foro
And not send to the thread reply, or pm folder, only send me to www.mydomain.com

Regards.

iA1 29 Dec 2018 19:17

Quote:

Originally Posted by gnrx (Post 2597957)
Sorry for the delay un reply, this christmas days...

Yes, confirm, I have the last version 1.2.0 and now, when I received a push notification, and click, send me to: www.mydomain.com
Not to www.mydomain.com/foro
And not send to the thread reply, or pm folder, only send me to www.mydomain.com

Regards.

You can send me the link to your forum by PM and a test user account to check.

iA1 29 Dec 2018 19:23

Quote:

Originally Posted by khalled (Post 2597925)
but what if i want to also send push notifications to guest users , can i add the code manually or that will prevent the plug in from sending notifications about reply and PM to registered user

You can add the code manually for guests as well but I do not recommend that. I tried it but found it problematic. If a subscribed user logs out, his userid will also be removed from OneSignal and he wont receive any notifications for PM or for his threads.

gnrx 29 Dec 2018 23:50

Quote:

Originally Posted by iA1 (Post 2597961)
You can send me the link to your forum by PM and a test user account to check.

Thank you very very much!!!

khalled 30 Dec 2018 19:18

Quote:

Originally Posted by iA1 (Post 2597962)
You can add the code manually for guests as well but I do not recommend that. I tried it but found it problematic. If a subscribed user logs out, his userid will also be removed from OneSignal and he wont receive any notifications for PM or for his threads.

Can you add options to automatically send notifications by new threads to all subscribed user using RSS feed


All times are GMT. The time now is 15:24.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.