Wordpress plugins
Push Notification for Post and BuddyPress

Push Notification for Post and BuddyPress

Version : 1.76
Tested up to : 6.4.1
Number of download : 16
Average rating : 4 / 5 on 16 votes 16 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

It sends push notifications to desktop, android/ios mobile apps using Firebase Cloud Messaging (FCM) with latest version Firebase API httpv1 or with legacy Firebase api or users can select Onesignal as push notification provider. It has REST API facility to integrate with native/hybrid Android/iOS mobile apps for push notifications. It sends notification whenever new WordPress post, custom post types,new BuddyPress activities,comments published. It has facility to generate PWA – Progressive Web App. This plugin is able to send push notification to more than 200,000 subscribers unlimited push notifications using background action scheduler. Plugin features:- To send Push notifications for following, New post/custom post type published (including bbpress). New BuddyPress activities published. New BuddyPress group activity published (only to members of group). Notifications for BuddyPress mentions in activities.(only to recipient). BuddyPress group invite sent (only to recipient). BuddyPress group details updated. New Buddypress comments published. New BuddyPress message or private messages (only to recipient). (It is also compatible with Bettermessages plugin). New BuddyPress member joined. For Friend request in BuddyPress (only to recipient). Friendship accepted in BuddyPress (only to requestor). User avatar change in BuddyPress. Cover image change in BuddyPress. Woocommerce custom post type push notifications. Following are Admin only push notifications, only sent to admins. 1. When contact form(contactform7 plugin) submitted. 2. When new user registered in site. Notifications only for loggedin users Enable/Disable option in admin settings to send push notifications only for loggedin users. If you use httpv1 firebase version and if you enable this option by having old subscriptions then all users must re-subscribe. If you use legacy Firebase api then no need to re-subscribe. Custom prompt to subscribe push notifications Enable/Disable custom prompt with icon to subscribe/unsubscribe push notifications in front end in admin settings. This option can be customized with custom icon and text with local languages. Push notification providers Firebase or Onesignal Options to use Firebase as push notification provider or to use onesignal as push notification provider are available in admin settings area. Subscribe/Unsubscribe various push notifications in front end Front end push notification menu is available for BuddyPress Front end users to subscribe/unsubscribe various push notifications according to their choices. This menu is available in user profile – settings area. For other users, shortcode is available to display subscription menu for Front end users to subscribe/unsubscribe various push notifications according to their choices. 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. Push notification scheduling is available for On demand/One time, WordPress Post, BuddyPress activities, BuddyPress group activities and for BuddyPress comments. 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 HOW TO USE PLUGIN API TO INTEGRATE MOBILE APP PUSH NOTIFICATION Sample code libraries containing how to use this plugin REST API to integrate with Android and IOS mobile apps Android app code to integrate with this plugin IOS app code to integrate with this plugin 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, This shortcode is applicable only for Firebase push notification not for other providers. 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. 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 4.l. Group invite 4.m. Group details update 4.n. Contactform7 submitted (Admin notification) 4.o. New user registration (Admin notification) 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) Latest version of Firebase API httpv1 If latest version of Firebase API httpv1 is enabled in admin plugin settings area then it will use all new features of Firebase api. Since Legacy version of Firebase API is depreceted(work until June 2024), it is recommend to enable this option to use all latest features of Firebase api. 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