Congratulations to the developer! The notification system combined with the creation of a PWA is absolutely fantastic. There is certainly a lot of work behind this plugin, so a big thank you to you!
Just a small issue to report: PNFB does not seem fully compatible with WP User Manager. It is impossible to display the link to download the PWA if WP User Manager is activated. Therefore, I have to deactivate WP User Manager to allow a new subscriber to download it, which is not very convenient.
Additionally, it would be great to be able to send a notification to a subscriber based on their role defined in WP User Manager (or another plugin) to inform a specific group of users depending on the nature of the published article. I don’t know if this is feasible, but this feature would allow targeting users based on the criteria they provided during their registration on the WordPress site (such as their city or other details). Perfect for a campaign, for example.
In any case, this is an excellent plugin that provides great help to beginners. Once again, thank you for your contribution with PNFPB, which is a great demonstration of your skills. I wish you the best for the future!
PS: Is it possible to choose to open links to an external domain in a browser and not within the PWA app?
]]>Not able to use PWA, the moment I am trying to click on “Save Changes” at PWA setting, nothing is working (No Response).
console I am getting this response: An invalid form control with name=’pnfpb_ic_pwa_app_offline_url2′ is not focusable. ??Understand this errorAI
]]>the last few updates of PNFPB stopped working with wp-rocket plugin, i tried to exclud the .js and .css files of PNFPB?on wp-rocket without any luck the only way to makes it work is by disabling the wp-rocket plugin, any advice on how to fix this.
]]>Hello, I began to use Multisites (Subdirectories) but since that time no pushes are sent nor the scheduled or the ones triggered by other events like before.
Please fix this to work on all subsites.
Thanks
]]>This stoped working a few versions ago.
]]>Since the update to 2.08 version, HTML tags (<br>,<b>, etc.) are no longer available for input at each prompt. We need these tags for front-end decorations, so could you please put them back?
Thank you in advance.
Hello,
When someone subscribes with the bell icon, the message ‘Please wait…processing’ stays active.
What can I do to fix this?
]]>Hello,
I’m finding that when I get notifications sent out from posts, there’s no image and the link doesn’t seem to open to the right page, although in the notifications list, the image is there and the link is there.
Is there any way to send a notification only to a certain user ID instead of all users so I can see what’s going on without trying to resend the notification?
Thanks
]]>Hi Murali, all things were working fine, but after OneSignal made a mandatory update to simplify their plugin, there’s error (thought the Push Notifications were sent normally) but there’s error shown & an alert inside the PNFPB saying OneSignal isn’t installed (though it’s installed)
The error causes the login of users & registration to the make blank page….Now I turned OneSignal off to avoid that…so please it’s urgent. Help me.
The error is:
===============
/home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/pnfpb_send_notification_routines/pnfpb_onesignal_notification/pnfpb_onesignal_notification.php. ????? ?????: Uncaught Error: Class “OneSignal” not found in /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/pnfpb_send_notification_routines/pnfpb_onesignal_notification/pnfpb_onesignal_notification.php:14?
Stack trace:
#0 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php(6394): include()
#1 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/post_custom_post_type_notification/post_custom_post_type_send_notification.php(264): PNFPB_ICFM_Push_Notification_Post_BuddyPress->PNFPB_icfcm_onesignal_push_notification(2866, ‘\xD8\xA7\xD9\x84\xD8\xB1\xD9\x8A\xD8\xA7\xD8\xB6\xD8\xA9 …’, ‘ [audi…’, ‘https://lifecha…’, ”, Array)
#2 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/pnfpb_push_notification.php(4568): include(‘/home/lifechan/…’)
#3 /home/lifechan/public_html/wp-content/plugins/push-notification-for-post-and-buddypress/public/post_custom_post_type_notification/pnfpb_post_push_notification_routine.php(519): PNFPB_ICFM_Push_Notification_Post_BuddyPress->PNFPB_icforum_push_notifications_post_web(‘\xD8\xA7\xD9\x84\xD8\xB1\xD9\x8A\xD8\xA7\xD8\xB6\xD8\xA9 …’, ‘ \r\n
==========
Thanks a lot.
]]>Hi,
The area in the bell popup with the class .pnfpb-push-msg-container has no text (just a bunch of light grey lines) and has a broken image. I have an icon uploaded that will show in the top subscribe popup and I can’t seem to find where there is a specific place to edit text for this field. I don’t see where I can customize text specifically for this field. Can you give me guidance on this?
Thanks
]]>Hello,
I used this plugin in the past, and it was working great, now I just reinstalled it, and I cannot get subscription to work properly.
Initially, I installed it with legacy. This time I was getting prompted to upload the v1 JSON file, so I went and created a new key for v1 so I could download the json file, turned on v1 and uploaded the file, entered all of the settings except the legacy firebase server key (which I deleted and apparently can’t make another one).
Intially, I got the subscribe prompt and was able to subscribe, until I switched to v1. Now, it seems that I’m not able to subscribe.
If I use the bell prompt, I just get a please wait…processing notice and nothing ever happens. And if I use the bell prompt combined with the top prompt, the top prompt just opens, I click allow and, again, the bell prompt just shows the processing message.
If I turn off custom prompt, no prompt shows at all.
For the existing key with which I subscribed, sending a test notification worked fine — but new subscriptions don’t work.
How might I fix this?
Thanks
]]>if its possible to have an option to Show the prompt to subscribe push notification after the user views x number of pages or visit the site after x number of times instead of showing it to him the first time he visits the site and it will be amazing if you can build a Gutenberg block for subscribing to push notifications to use it on posts.
and thanks for this amazing plugin.
]]>Hello, I ain’t able to receive notifications on mobile webview app. Here is the project:
https://github.com/XskywalkerX/Flux-Connects
I removed the api key for security for sending, but in the project i have the api key which im taking from your plugin PNFPB?
]]>Thanks for the 2.04 release which brings support for subscribed topics and the notification links to the reply Working very well.
Support for subscribed forums also works but the notification links to the list of topics instead of the new topic.
]]>Hi
I’am using wpadverts for classifieds and users can modify their listings on the front end and when they do, a new push message is sent out.
If I modify the same post in the backend a new push message is not sent out. The checkbox “Send notification on advert update” on the posts is not ticked.
Is there a way to prevent this behavior?
]]>My PWA is having issues with incredibly short session times (less than an hour)
I have adjusted the php.ini to be a week, have cookies lasting 2 weeks, still running into the issue.
I am also a novice and am sort of over my skis with how all of this works, but do not see any service workers working on caching the site, any assistance would be greatly appreciated.
My production site is working fine but on my test site the push notifications are not working.
I’am using FCM v1 and service worker are registered and all looks fine but no notifications.
How can I troubleshoot to see what’s going wrong?
/S
]]>Hello Murali,
I’m trying to push notifications to my flutter mobile app and I’ve read the article you wrote about mobile apps but I want to know what the key should be I’m sending the token within the body of the post request. Like:
body = {
“??” : encryptedToken
}
what should i replace the “??” with?, and after I send the token should it appear in the device tokens tab in the plugin page?
Thanks,
Mostafa
Ran into some problems using the plugin. When publishing a new post a critical error occurs. The post is still being published but no notifications work.
Here are a few lines from the error log:
[16-Aug-2024 11:04:58 UTC] PHP Fatal error: Uncaught DomainException: Your default credentials were not found. To set up Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc in /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/push-notification-for-post-and-buddypress/vendor/google/auth/src/ApplicationDefaultCredentials.php:195
Stack trace: 0 /var/www/domains/dokkarit.fi/www/wordpress/wp-content/plugins/push-notification-for-post-and-buddypress/vendor/google/apiclient/src/Client.php(1247):
From 1.98 version onwards plugin supports following push notification providers, select one of providers according to your preferred choices. Only one push notification provider can be used at a time.
Following are new features and changes in 1.98 version.
Thank you for a very good plugin. Below are some suggestions to make it even better.
Send push to all non logged in users (when you want to inform all non logged in users that you are planning to limit push to only logged in.
Send push to specific users. (for test and troubleshooting)
Show username in addition to user id in the list of Device Tokens. (It’s a hassle to find the username based on only the user id.
Forum push only for subscribed forums/topics/replies etc instead of all posts for everyone.
]]>I want to know since I am using buddypress + Better Message for my site, when a user is logged in already and messaging each other it still sents the push notification and on mobile it gets a bit annoying, how do I stop push notifications from being sent if the user is already on the site?
]]>Hi, I’m using Progressier for the PWA and I have enabled an option “disable push handling” in Progressier to allow PNFPB to handle the push notification, they have a widget that I would like to use for the notification prompt but if it’s enabled it doesn’t subscribe the user to the PNFPB notifications, is there a way to fix that? I tried contacting their support and their reply was “You’ll have to check with that other push solution. What the?Notification Prompt?does is make users authorize notifications for your domain.
If that other push solution has properly implemented push, they should detect that?Notification.permission?is enabled for the domain and subscribe the user to their push service without needing an extra prompt.
But I can’t guarantee that your other push solution has in fact implemented this the proper way. The code that subscribes the user to a given push service has to come from that other push service. It wouldn’t be technically possible to build mechanisms for that on our end.”
]]>Hi Murali,
We’ve come across a critical issue since moving to HTTP v1 from Legacy Firebase.
We use PNFPB REST API to send mobile app (not web app) notifications for BuddyPress private messages. Since updating to HTTP v1 we noticed that:
Messaging became unreliable.
Our server CPU usage was significantly higher than it usually would be (e.g. 80%, when it normally sits between 5-10%).
These issues were resolved immediately once we moved back to Legacy Firebase, when using version 1.89 of PNFPB; or by rolling the plugin back to version 1.69, where we’re able to continue using HTTP v1 Firebase. We rolled it back to 1.69 as we knew this version had worked for us previously. We haven’t tested other versions to know when this issue started.
Given Legacy Firebase is being retired on the 21st of June, could these issues be looked into as soon as possible?
Thanks.
]]>Tried this with buddypress and it works great. Does it work with buddyboss?
]]>Hello,
I am encountering an issue while trying to set up the Push Notification for Post and BuddyPress plugin with Firebase Cloud Messaging API (V1).
I have followed the installation instructions carefully, including downloading the plugin and uploading the JSON file, and filling in the required fields (except Firebase Server Key). However, upon launching the site, I am not prompted with a permission request or service worker in the console.
Even when I force the acceptance of notifications, the test notifications remain unsuccessful.
Could you please assist me in resolving this issue? Any guidance or troubleshooting steps would be greatly appreciated.
Thank you.
]]>Since I’ve been using some other plugin (Perfecty Push Notifications) which is now abandoned, a lot of my visitors are already subscribed to my notifications in that plugin.
That creates an issue, because I can’t import them, and I can’t reset notification subscription in their browser. They already have service worker in their browser service-worker-loader.js.php
Expected popup which should be asking users to subscribe doesn’t show up, unless they manually reset their subscription in their browser (which no one does).
Is there a way to handle this issue in some manner? We need ‘Remove old Service Workers’ from users browser, like Perfecty Push plugin does. https://docs.perfecty.org/wp/conflict-resolution/
To somehow unregister other push services.
Could it be possible to send notifications to users, and once they are on the website, to update or reset their subscription, so they can subscribe with new service?
Or anything that would help in this manner?
I hope you understand what is my concern – how to move from old plugin to your plugin, but to try to maximize transfer of my subscribers in any way possible.
Hello!
I managed to get push notifications only on tablet with chrome/android and PWA installed.
On all the other devices it doesn’t work.
On android smartphones I can subscribe but don’t receive notifications.
On iPhone I can’t subscribe (don’t see the bell).
On Firefox/Linux desktop I can subscribe but don’t receive notifications.
On Chrome/Linux desktop I can’t subscribe (see the bell but it doesn’t work).
What can be the reason?
(In Device tokens list I see these subscribed devices with userid=0 and shortcode subscription = 1000).
I use FCM.
Regards, Alex
]]>Hi,
I am using custom push notification to send web and android app both but in web after clicking on notification custom link url is working but in app custom url link not working. Showing predefined value(google.in) all time.
KIndly check this.
After the last update my site became unavailable. As I observed, mysql consumption drastically increased. After disabling the plg it was back online.
]]>