Push Notification for Post and BuddyPress

Description

This Plugin is designed subscribe users for push notification and to send push notification using Firebase Cloud Messaging whenever new WordPress post published, WordPress custom post types published and for new BuddyPress activities and also for comments posted in BuddyPress activities.

Plugin features:-
Users will allowed to subscribe for push notification using Firebase Cloud Messaging
Push Notification when new post or custom post types are published using Firebase Cloud Messaging
Push Notification when new BuddyPress activities or comments are published
Service workers are created on the fly for Firebase Cloud Messaging while activating the plugin
In addition to default subscription from browser, following shortcode can also be used to display toggle subscription button.
New Shortcode [subscribe_PNFPB_push_notification] to display Subscribe/Unsubscribe push notification toggle button.
Using above shortcode, toggle button to subscribe/unsubscribe can be added to sidebar or any other locations according to your need.
The shortcode [subscribe_PNFPB_push_notification] is optional, it is a additional facility to subscribe to push notification inaddition to default option from browser.

How to use Plugin:-

Following are steps to configure the plugin,
1. Download the plugin
2. Activate the plugin
3. Go to settings of the plugin (in admin menu -> Settings -> Push Notification using FCM)
4. Enable/Disable push notification settings for post, custom post types, BuddyPress activities and for BuddyPress comments
5. Configure Firebase settings as per below steps,
6. Sign in to Firebase, then open your project click settings icon & select Project settings
7. To get Firebase server key, select project settings from Firebase account, go to cloud messaging tab, get server key fill below first field under firebase configuration
8. For remaining fields, you need to get it from your Firebase web app. All fields are required to configure FireBase push notification.
9. In the Your apps card, select the nickname of the Firebase web app for which you need a config object.
10.Select Config from the Firebase SDK snippet pane and fill below fields

After saving below fields, it will ask to allow notification for this website in browser default popup, click on allow notification to get notifications

After completing above steps, push notification will be displayed based on option selected for posts/buddypress while publishing posts or custom post types or during new BuddyPress activities or comments.

  1. New Shortcode [subscribe_PNFPB_push_notification] can also be used to display Subscribe/Unsubscribe push notification toggle button. It is a additional facility in addition to default option from browser to subscribe/unsubscribe push notifications.

Screenshots

  • Screen showing list of push notifications in desktop
  • Settings page to configure plugin with FireBase and other settings
  • Admin area menu for this plugin
  • Test notification after installing this plugin from admin area
  • Shortcode to display subscribe/unsubscribe toggle button

Installation

Following are steps to configure the plugin,
1. Download the plugin
2. Activate the plugin
3. Go to settings of the plugin (in admin menu -> Settings -> Push Notification using FCM)
4. Enable/Disable push notification settings for post, custom post types, BuddyPress activities and for BuddyPress comments
5. Configure Firebase settings as per below steps,
6. Sign in to Firebase, then open your project click settings icon & select Project settings
7. To get Firebase server key, select project settings from Firebase account, go to cloud messaging tab, get server key fill below first field under firebase configuration
8. For remaining fields, you need to get it from your Firebase web app. All fields are required to configure FireBase push notification.
9. In the Your apps card, select the nickname of the Firebase web app for which you need a config object.
10.Select Config from the Firebase SDK snippet pane and fill below fields

After saving below fields, it will ask to allow notification for this website in browser default popup, click on allow notification to get notifications

After completing above steps, push notification will be displayed based on option selected for posts/buddypress while publishing posts or custom post types or during new BuddyPress activities or comments.

  1. New Shortcode [subscribe_PNFPB_push_notification] can also be used to display Subscribe/Unsubscribe push notification toggle button. It is a additional facility in addition to default option from browser to subscribe/unsubscribe push notifications.

FAQ

Do you have any questions?

Please contact us here with your query.

Reviews

April 10, 2020
This Plugin does not work. It has the potential to be something better. I hope the developer can make this better.
Read all 2 reviews

Contributors & Developers

“Push Notification for Post and BuddyPress” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.4

Compatible upto WordPress Version 5.4.2. Updated author URL.

1.3

Compatible and tested upto WordPress Version 5.4.2

1.2

  • Added new shortcode [subscribe_PNFPB_push_notification] to unsubscribe push notifications.
  • Removed manifest.json file generation as it is required by old generation.

1.1.1

  • Added new shortcode [subscribe_PNFPB_push_notification] to unsubscribe push notifications.
  • Removed manifest.json file generation as it is required by old generation.

1.1

  • Updated with link to the settings on the Plugins screen.

1.0

  • Initial version.