[WordPress] 外掛分享: Login alert by e-mail

WordPress 外掛 Login alert by e-mail 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Login alert by e-mail」是 2023-02-15 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2023-02-16,距離現在已有 1105 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ruicruzpt |

外掛標籤

alert | email | login | Login Alert |

內容簡介

簡述:
這是一個 WordPress 的外掛,它會寄送電子郵件通知網站管理員關於成功或失敗的登入嘗試,其中包含使用者名稱、IP 地址及瀏覽器資訊。

專業解說:
這個 WordPress 外掛透過連接 ‘wp_login’ 及 ‘wp_login_failed’ WordPress 行動,分別觸發 ‘send_login_notification’ 和 ‘send_login_failed_notification’ 函式。成功的登入會由 ‘send_login_notification’ 函式寄出電子郵件通知管理員,失敗的登入會由 ‘send_login_failed_notification’ 函式寄出類似的通知。

‘send_login_notification’ 函式會寄送電子郵件到指定的管理員電子郵件地址,其中包含成功登入的使用者名稱、IP 地址及瀏覽器資訊。而 ‘send_login_failed_notification’ 函式則會寄送類似的電子郵件通知管理員,但報告的是失敗的登入。

這個外掛使用 wp_mail 函式寄出電子郵件,所有訊息會以 HTML 格式呈現以方便閱讀。此外掛同時使用 PHP 內建的跳脫字元函式來防止 XSS (跨站腳本攻擊)等潛在的安全漏洞。

總結來說,這個外掛提供了管理員一個簡便的方法來瞭解網站上使用者的登入狀況,同時確保顯示的敏感資訊是安全的。

原文外掛簡介

TLDR:
This is a plugin for WordPress websites that sends email notifications to the website admin for successful and failed login attempts. The email includes details like the username, IP address, and browser information.
Geek description:
This WordPress plugin sends email notifications upon successful and failed logins to the website’s admin. The plugin functions by hooking into the ‘wp_login’ and ‘wp_login_failed’ WordPress actions, and triggering the ‘send_login_notification’ and ‘send_login_failed_notification’ functions respectively.
The ‘send_login_notification’ function sends an email to the admin email address specified in the ‘admin_email’ option. The email includes details such as the successful login username, IP address, and browser information. The ‘send_login_failed_notification’ function sends a similar email to the admin, but for failed login attempts.
The plugin uses the wp_mail function to send the emails, and the messages are formatted as HTML for easy readability. The plugin ensures that the data being displayed, such as the username and IP address, is escaped using PHP’s built-in escape functions. This is done to prevent potential security vulnerabilities, such as XSS (Cross-Site Scripting).
In summary, this plugin provides an easy way for website administrators to stay informed of user login activity on their site, while also ensuring that sensitive information is displayed securely.

各版本下載點

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

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


最新版本

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

  • VK Blocks 》這是一個擴充 Gutenberg 模塊的外掛。, [ 模塊 ], , 成員, 外框, 警示, 常問問題, 氣球, 流, 按鈕, 公關模塊, 公關內容, 邊框盒, 標題(帶副標題), 響應間距...。
  • Customize WordPress Emails and Alerts – Better Notifications for WP 》Better Notifications for WP 是一個簡單而強大的外掛,可讓您使用所見即所得的編輯器和短代碼自訂 WordPress 發送的電子郵件通知。所有預設的 WordPress 電...。
  • WP Notification Bars 》WP Notification Bars 是一款用於 WordPress 的自訂通知和警示欄外掛程式,非常適合用於推銷促銷、警示、增加點擊其他頁面等等功能。, 為什麼要使用 MyThemeS...。
  • Notification – Custom Notifications and Alerts for WordPress 》ation, , User:, , New user registration notification, , Comment:, , New comment notification, Comment approved notification, Comment marked as spam...。
  • Magee Shortcodes 》Magee 短代码是一款提供一系列短代码的 WordPress 外掛。它基於 Bootstrap 平台編寫,使用 HTML5 和 CSS3 語言編寫,可以在桌面和移動設備上實現完全響應式。...。
  • Popup Box – Easily Create WordPress Popups 》精美的WordPress彈出視窗,並提供即時預覽, Popup Box是一個WordPress外掛程式,提供易於創建、並且可即時預覽的彈出視窗。透過多項樣式選項和顯示選項,您可...。
  • WP Post Disclaimer 》在內容的頂部、底部和內部添加有關文章/頁面/自定義文章類型的免責聲明/條款/警告, 功能, , 在文章/頁面或自定義文章類型上添加免責聲明, 定制選項, 自定義 C...。
  • TJ Shortcodes 》這個外掛增加了一組短代碼,以提升你的網站。你可以輕鬆地添加按鈕、警告、欄位等等,無需編程知識!, 短代碼包括, , 警告, 按鈕, 欄位, 選項卡, 翻轉, 首字...。
  • Simple Image Popup 》這是一款簡單易用的外掛,可在您的網站上顯示彈出式圖像,並不使用 cookies。, 如果您需要顯示促銷、警告或消息,這個簡單的外掛將允許您:, , 啟用/停用彈出...。
  • Disclaimer Popup 》這個外掛可以快速創建彈出視窗,當網站開啟時會顯示免責聲明。您可以控制彈出窗口的許多圖形部分,還可以決定 cookie 有效期限,再次要求顯示彈出視窗之前的...。
  • WP Notification Bell 》為您的網站上的使用者提供鈴鐺通知。通過手動創建通知或通過觸發器(新文章/cpts、WooCommerce、新評論回覆、bbPress 等)顯示在網站上的通知提醒。, WP Noti...。
  • Product Notices for WooCommerce 》在你的 WooCommerce 商店中更好地展示和顯示通知, 想要在你的網站產品頁面上顯示通知、警告、公告或一般通知嗎?Product Notices for WooCommerce 可以輕鬆幫...。
  • Email Alerts 》這個外掛是為了讓管理員分享審核留言和發佈被標記為“等待審核”的文章的任務。它並不是為了通知非管理員訂閱者有關新留言或文章的訊息。 , 此外掛在WordPress...。
  • Cookie Monster 》這款外掛可以顯示 Cookie 通知,讓訪客能夠知曉並接受使用 Cookie。, 支援 WPML,可以自定義通知的位置、背景和文字顏色,甚至自定義 CSS 樣式。, 有英文、西...。
  • Admin Notice 》Admin Notice 是一個非常簡單的外掛,允許你在 WordPress 後台顯示自定義公告,對所有使用者都可見。, 你可以從外掛的設定頁面控制公告文字和樣式。, 開發人...。

文章
Filter
Mastodon