[WordPress] 外掛分享: Push Notification for Post and BuddyPress

前言介紹

  • 這款 WordPress 外掛「Push Notification for Post and BuddyPress」是 2020-01-13 上架。
  • 目前有 300 個安裝啟用數。
  • 上一次更新是 2025-04-25,距離現在已有 8 天。
  • 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 22 人給過評分。
  • 論壇上目前有 4 個提問,問題解答率 50%

外掛協作開發者

murali-indiacitys |

外掛標籤

firebase | buddypress | Mobile App | push notification | progressive web app |

內容簡介

p>此外掛使用 Firebase Cloud Messaging (FCM) 從網站、Android/iOS 行動應用程式中傳送推播通知。此外掛具有 REST API 功能,可與原生/混合 Android/iOS 行動應用程式整合以傳送推播通知。它會在 WordPress 文章、自訂文章類型、新的 BuddyPress 活動或評論發表時傳送通知。它具有生成 PWA - Progressive Web App 的功能。此外掛能夠使用背景作業排程器向超過 200,000 位訂閱者傳送無限量的推播通知。

此外掛的功能包括:
對以下項目進行發佈時傳送/排程推播通知:

發佈新文章/自訂文章類型 (包括bbpress、Woocommerce)
發佈新的 BuddyPress 活動
發佈新的 BuddyPress 群組活動
發佈新的 BuddyPress 評論
新的 BuddyPress 訊息或私人訊息
新的 BuddyPress 成員加入
BuddyPress 的朋友請求
BuddyPress 中的交友成功
BuddyPress 中使用者的頭像更改
BuddyPress 中封面圖片的更改
Woocommerce 自訂文章類型的推播通知

前端推播通知選單可供 BuddyPress 前端使用者根據自己的喜好訂閱/取消訂閱各種推播通知。此選單位於使用者的個人資訊 - 設定區域。對於其他使用者,可使用短碼來顯示訂閱選單,以讓前端使用者根據自己的喜好訂閱/取消訂閱各種推播通知。

REST API

REST API 用於將移動原生/混合應用程式連接到 WordPress 網站,從 WordPress 網站發送推播通知到移動應用程式(Android/Ios) 和 WordPress 網站。
使用此 REST API,WordPress 網站從手機應用程式(Android/Ios)取得 Firebase Push Notification 訂閱 Token。
這可讓您向 WordPress 網站使用者以及 Native 行動應用程式 Android/Ios 使用者發送推播通知。
REST API URL 為 https://wp-json/PNFPBpush/v1/subscriptiontoken

前端推播通知選單

前端推播通知訂閱選單供前端 BuddyPress 使用者在使用者個人資料下取消訂閱各種推播通知。

請參閱「如何使用此外掛」中的影片教程,以在外掛管理區域中設定 Firebase 選項。

PWA

此外掛具有生成 Progressive Web App (PWA) 的功能。
Progressive Web App 受 Chrome(桌面、移動端)瀏覽器、Edge 瀏覽器、Android 的 Firefox、Opera 的 Android 支援。Firefox 的桌面版不支持 PWA。
前往外掛設定頁面以啟用/停用 PWA 應用程式,並使用應用程式名稱、應用程式圖示、PWA 的背景顏色、應用程式的背景色以及要包含在離線快取中,以供網站離線模式使用的頁面清單,自訂 PWA 應用程式。

短碼

對於前端使用者,可以使用短碼 [subscribe_PNFPB_push_notification]訂閱/取消訂閱各種推播通知:

訂閱所有通知
訂閱所有新文章/新 BuddyPress 活動通知
訂閱文章、BuddyPress 活動的所有新評論通知
只訂閱「我的 BuddyPress 活動」或「我的文章」基於文章作者 ID/BuddyPress 活動作者 ID的新評論通知
BuddyPress 新成員加入通知
BuddyPress 的朋友請求
BuddyPress 中交友成功通知
BuddyPress 使用者頭像更改通知
BuddyPress 中封面圖片更改通知
取消訂閱所有通知

前端使用者/客戶可以使用上述短碼選擇訂閱/取消訂閱各種推播通知。

原文外掛簡介

It sends push notifications to desktop, android/ios mobile apps using Firebase Cloud Messaging (FCM) Firebase API http v1 or Onesignal or Progressier as 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.
Plugin features:
** Plugin allows to choose different push notification providers **
1. Firebase – FCM (Free push notifications for desktop, PWA and mobile apps)
2. Onesignal (Free push notification for desktop, PWA and mobile apps)
3. Progressier (Push notifications for PWA)
4. webtoapp.design (Push notifications for Mobile apps)
(Plugin allows to send push notifications to both Firebase/Onesignal and webtoapp.design users simultaneously)
** Plugin sends 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.
Mark as favourites or Likes on BuddyPress activities.
Supports Push notifications for BuddyBoss and Better Messages plugins
Woocommerce custom post type push notifications.
Ability to process more than 200,000 subscribers unlimited push notifications using background action scheduler.

** Admin only push notifications (only to administrators) **
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 using Firebase httpv1 or Onesignal only for loggedin users.
Custom popup and Bell prompt to subscribe push notifications with subscription options
Enable/Disable custom prompt with icon to subscribe/unsubscribe push notifications in front end in admin settings.
Choose Horizontal or Vertical custom prompt style and customize the text, color and button.
Enable/Disable Bell prompt icon to subscribe/unsubscribe notifications. Front end users will be able to subscribe to particular category like post, activity, comments, friendship request/accept, other options while subscribing for first time or if user wants to update subscribe options from bell prompt at any time it is needed.
Shortcodes
[subscribe_PNFPB_push_notification] is available to Subscribe/Unsubscribe push notifications for frontend users.
[PNFPB_PWA_PROMPT] to install PWA.
[member name] and [group name] are avilable to display user name in push notifications, For BuddyPress group activities [group name] shortcode to display group name in push notifications.
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
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). It also supports Progressier 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.
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.
Plugin Demo site
Test PNFPB plugin here
Video tutorial showing how to configure Firebase for this plugin

Frequently Asked Questions (FAQ)
Do you have any questions?
Submit or contact us with your question here (or) Please contact us here with your query. (or) Submit your question in plugin forum
How can I report security bugs?
You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Push Notification for Post and BuddyPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.11 | 1.12 | 1.13 | 1.14 | 1.15 | 1.16 | 1.17 | 1.18 | 1.19 | 1.20 | 1.21 | 1.22 | 1.23 | 1.24 | 1.25 | 1.26 | 1.27 | 1.28 | 1.29 | 1.30 | 1.31 | 1.32 | 1.33 | 1.34 | 1.35 | 1.36 | 1.37 | 1.38 | 1.39 | 1.40 | 1.41 | 1.42 | 1.43 | 1.44 | 1.45 | 1.46 | 1.47 | 1.48 | 1.49 | 1.50 | 1.51 | 1.52 | 1.53 | 1.54 | 1.55 | 1.56 | 1.57 | 1.58 | 1.59 | 1.62 | 1.63 | 1.64 | 1.65 | 1.66 | 1.67 | 1.68 | 1.69 | 1.70 | 1.71 | 1.72 | 1.73 | 1.74 | 1.75 | 1.76 | 1.77 | 1.78 | 1.79 | 1.80 | 1.81 | 1.82 | 1.83 | 1.84 | 1.85 | 1.86 | 1.87 | 1.88 | 1.89 | 1.91 | 1.93 | 1.94 | 1.98 | 1.99 | 2.00 | 2.01 | 2.02 | 2.03 | 2.04 | 2.05 | 2.06 | 2.07 | 2.08 | 2.09 | 2.10 | 2.11 | 2.12 | 2.13 | 2.14 | 2.15 | 2.16 | 2.17 | 1.1.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Easy Social Box / Page Plugin 》Easy Social Box顯示Facebook專頁的Like Box外掛,在網站上讓Facebook專頁的擁有者吸引和獲取Like。Social Box讓使用者能看到專頁的Likes數、最新的發文、和L...。
  • rtMedia for WordPress, BuddyPress and bbPress 》rtMedia 是唯一完整適用於 WordPress、BuddyPress 和 bbPress 的媒體解決方案,並且符合 WordPress.com VIP 標準。, 該外掛採用了以行動裝置為主的設計,可以...。
  • Better Messages – Live Chat for WordPress, BuddyPress, PeepSo, Ultimate Member, BuddyBoss 》「Better Messages」是一款適用於 WordPress、BuddyPress、BuddyBoss 平台、Ultimate Member 和 PeepSo 等其他 WordPress 網站的即時私人訊息系統外掛程式。...。
  • Recently Registered 》此外掛會為使用者列表新增一個可排序的欄位,顯示他們註冊的日期和時間。, 主要適用於單站台(因為單站台中完全沒有這方面的顯示)。在多站台網路中,它會為...。
  • BuddyPress Multilingual 》這個外掛可使用WPML建置多國語言的 BuddyPress 和 BuddyBoss 網站,可適用於單網站或多網站安裝。主網站和子部落格皆可運行多國語言。, 客戶部落格可選擇語言...。
  • BuddyPress Docs 》BuddyPress Docs 為您的 BuddyPress 社群增添了協作工作空間。它是維基百科、文件編輯和共享 Dropbox 等多種功能的結合體。可以認爲這些文檔就像是大 G (if y...。
  • Ban Hammer 》我們都曾經遇到這樣的問題:一群來自 mail.ru 的垃圾郵件發送者正在註冊您的博客,但您希望保持開放的註冊方式。如何在不影響您的顧客的情況下消除這些垃圾郵...。
  • BP Classic 》總結:BP Classic 外掛由官方 BuddyPress 開發團隊開發和維護。它首先是為了提供向後兼容性,以適應配置中啟用了尚未準備就緒支援 BP Rewrites API(在 Buddy...。
  • BP Profile Search 》BP Profile Search是一個針對BuddyPress的成員搜尋和成員目錄外掛程式,它提供:, , 一個表單生成器,用於生成成員搜尋表單, [bps_directory]短碼以自訂Buddy...。
  • Spam Destroyer 》這個外掛能有效阻止自動化垃圾留言,並盡可能不對正常留言者造成干擾。 Spam Destroyer 外掛 設計上易於使用,只需安裝即可享受無垃圾留言的網站體驗🙂, 特別...。
  • MediaPress 》MediaPress是一個現代化的媒體圖庫解決方案,適用於WordPress和BuddyPress。目前,MediaPress幾乎是(我們需要您來決定)BuddyPress照片圖庫、BuddyPress視頻...。
  • BuddyPress & BuddyBoss Private Community with PMPro – Restrict Profiles, Groups, Messaging, Forum Discussions 》化,讓 Paid Memberships Pro 成為您自己的會員網站解決方案。, , 最受歡迎的專屬社群 WordPress 外掛程式, 使用 BuddyPress 或 BuddyBoss 結合 Paid Members...。
  • BuddyPress Xprofile Custom Field Types 》BuddyPress Xprofile Custom Field Types 插件為 BuddyPress 資料檔案新增了一些必要的欄位類型。, BuddyPress Xprofile Custom Field Types 與 BP Profile S...。
  • BuddyPress Global Search 》讓您的 BuddyPress 成員能夠透過統一的搜尋欄,搜尋每個 BuddyPress 組件,包括您選擇的頁面、文章和自訂文章類型,並立即獲得下拉式的即時結果。, 只需啟用...。
  • Social Articles 》使用 Social Articles 您可以從您的 BuddyPress 個人資料建立文章,附加精選圖片、設置類別和標籤等等!, 它支援所有 BuddyPress 主題,因此您不必成為專家就...。

文章
Filter
Apply Filters
Mastodon