Wordpress plugins
Push Notification for Post and BuddyPress

Push Notification for Post and BuddyPress

Version : 1.54
Tested up to : 6.1.1
Number of download : 16
Average rating : 4 / 5 on 9 votes 9 votes, 4 avg.rating

Screenshots

Push Notification for Post and BuddyPress
Push Notification for Post and BuddyPress
Push Notification for Post and BuddyPress
Push Notification for Post and BuddyPress

This Plugin is designed 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. It also generates PWA – Progressive Web App. Plugin features:- To send/schedule Push notifications when new item is published for following, New post/custom post type published (including bbpress, Woocommerce) New BuddyPress activities published New BuddyPress group activity published New Buddypress comments published New BuddyPress message or private messages New BuddyPress member joined Friend request in BuddyPress Friendship accepted in BuddyPress User avatar change in BuddyPress Cover image change in BuddyPress Woocommerce custom post type push notifications REST API REST API to connect mobile native/hybrid apps to send push notification from WordPress site to both mobile apps and WordPress sites. Using this REST API WordPress site gets Firebase Push Notification subscription token from Mobile app(Android/Ios). This allows to send push notifications to WordPress site users as well as to Native mobile app Android/ios users. REST API url is https://wp-json/PNFPBpush/v1/subscriptiontoken Frontend push notification menu Front-end push notification subscription menu for Frontend BuddyPress users under user profile to optout for various push notifications. Refer video tutorial under “How to use this plugin” section to configure Firebase options in plugin admin area. PWA This plugin has facility to generate Progressive Web App (PWA). Progressive Web Apps are supported by Chrome(Desktop,Mobile) browser, Edge browser, Firefox for android, Opera for android. Firefox for desktop will not support PWA. Go to plugin settings page to enable/disable PWA app and to customize PWA app with app name, app icon, app theme color, background color for PWA and list of pages to be included in offline cache for web app offline mode. Shortcode For front end users Shortcode [subscribe_PNFPB_push_notification] is available to Subscribe/Unsubscribe push notifications for following, 1. Subscribe all notifications 2. Subscribe to all new post/new BuddyPress activity notifications 3. Subscribe to all new comments for post,BuddyPress activities notifications 4. Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id 5. New BuddyPress member joined 6. Friend request in BuddyPress 7. Friendship accepted in BuddyPress 8. User avatar change in BuddyPress 9. Cover image change in BuddyPress 10. Unsubscribe all notifications Front end users/customers can opt/remove for various push notifications using above shortcode according to their own choice. Scheduling Push notification = It allows Scheduled Push notifications to send push notifications hourly(every hour), twice daily(2 times per day), daily, weekly as per WordPress CRON. It also provides option to schedule push notification in background using action scheduler, this will be useful to send notification more than 100000 subscribers simultaneously in background mode. Extra settings for NGINX server If server is NGINX and not able to create dynamic service worker file https://pnfpb_icpush_pwa_sw.js & PWA manifest json file https://pnfpbmanifest.json then go to plugin settings->nginx tab, enable static file creation option, it will create required static service worker file, PWA manifest json files in root folder. This option is applicable only if hosting/server is based on NGINX and not creating dynamic service worker file, manifest json files. By default, this plugin creates dynamic service worker file and PWA manifest json file. This plugin uses Firebase Cloud Messaging to send push notification using Firebase registration credentials which is free of cost.Firebase PUSH API is not compatible with Safari browsers and push notification using firebase push api will not work in Safari browsers. For Safari browsers,this plugin will display console log messages to indicate the browser is not supported for push api.This plugin automatically clears out device tokens which are not subscribed or if user unsubscribed from the browser then that token will be automatically deleted.Service workers are created on the fly for Firebase Cloud Messaging while activating the plugin ** Video tutorial showing how to configure Firebase for this plugin ** 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 PNFPB) 4. Enable/Disable push notification for following, 4.a. new post types, 4.b. new custom post types (including bbpress), 4.c. BuddyPress activities, 4.d. BuddyPress Group members, 4.e. BuddyPress messages, 4.f. BuddyPress comments 4.g. New BuddyPress member joined 4.h. Friend request in BuddyPress 4.i. Friendship accepted in BuddyPress 4.j. User avatar change in BuddyPress 4.k. Cover image change in BuddyPress If schedule option is enabled then push notification will be sent automatically(using CRON) according to selected schedule hourly/daily/twice daily/weekly. Firebase configuration setup in plugin admin settings Sign in to Firebase, then open your project, click settings icon & select Project settings To get Firebase server key (for field 1 in admin firebase settings) project settings > cloud messaging tab > get server key or add server key button to get server key To get Firebase config fields (for fields 2 to 8 in admin firebase settings) 13.If you do not have web app, Create a new web app. After creating a new app, it will show firebase config fields Project settings > General under your apps section > click on config button to view configuration fields To get Firebase public key (for field 9 in admin firebase settings) Open the Cloud Messaging tab of the Firebase console Settings pane and scroll to the Web configuration section. In the Web Push certificates tab, click Generate Key Pair. The console displays a notice that the key pair was generated, and displays the public key string and date added. (If you already Generated key pair then no need to generate it again) Progressive Web App (PWA) settings Go to PWA settings in plugin admin area and fill all required fields to customize and generate PWA app with offline facility.If pages are included for offline cache then users will be able to view those pages in offline mode without internet if page is not stored in cache then default offline page will be displayed.if all urls needs to be excluded from offline PWA cache then enable exclude all urls option in PWA settings. Once all required plugin settings are complete, 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. For front end users Shortcode [subscribe_PNFPB_push_notification] is available to Subscribe/Unsubscribe push notifications for following 18.1. Subscribe all notifications 18.2. Subscribe to all new post/new BuddyPress activity notifications 18.3. Subscribe to all new comments for post,BuddyPress activities notifications 18.4. Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id 18.5. New BuddyPress member joined 18.6. Friend request in BuddyPress 18.7. Friendship accepted in BuddyPress 18.8. User avatar change in BuddyPress 18.9. Cover image change in BuddyPress 18.10. Unsubscribe all notifications Front end users/customers can opt/remove for various push notifications listed above according to their own choice. Shortcode [PNFPB_PWA_PROMPT] to create button to install PWA. If user clicks this button, it will show default prompt to install PWA. This shortcode can be placed anywhere or in sidebar according to convenience. Go to on-demand push notification admin panel to send push notification from admin panel to all subscribers whenever it required.

Download now