Horje
This plugin will add Push notification for Post, custom post types and for BuddyPress activities using Firebase.

Noted That:

  • To install correctly this push-notification-for-post-and-buddypress.zip.
  • Fisrt Download the push-notification-for-post-and-buddypress.zip to your computer
  • Extract/Open push-notification-for-post-and-buddypress.zip to Your Computer.
  • Then, Find readme.txt file inside push-notification-for-post-and-buddypress.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the the Tips Below.

Start the Tips:

1. First Download "push-notification-for-post-and-buddypress.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "push-notification-for-post-and-buddypress.zip" Downloaded plugin from your computer, Where you downloaded push-notification-for-post-and-buddypress.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "Push Notification for Post and BuddyPress" folder is added on left sidemenu. Now, Click on "Push Notification for Post and BuddyPress" folder.

   Noted that: If you do not see "Push Notification for Post and BuddyPress" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about Push Notification for Post and BuddyPress Configurtions and Settings or How to work "Push Notification for Post and BuddyPress" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "Push Notification for Post and BuddyPress" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is Push Notification for Post and BuddyPress
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide

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/BuddyPress Group members and for BuddyPress comments.
5.When BuddyPress Group Members option is enabled, it will send push notification only to users who joined in Group/to Particular group members.
6. Configure Firebase settings as per below steps,
7. Sign in to Firebase, then open your project click settings icon & select Project settings
8. 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
9. For remaining fields, you need to get it from your Firebase web app. All fields are required to configure FireBase push notification.
10. In the Your apps card, select the nickname of the Firebase web app for which you need a config object.
11.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

Push notifications will better work in normal browser not in cognito private browser as it requires service worker registrations to display push notification.

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.

post, activities, using, firebase, buddypress, custom, push, notification, plugin, types,

Name

Reffered: https://wordpress.org/

Share on: