[WordPress] 外掛分享: XMPP Enabled

前言介紹

  • 這款 WordPress 外掛「XMPP Enabled」是 2010-04-27 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2017-12-06,距離現在已有 2706 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sandfox |

外掛標籤

xmpp | jabber | library |

內容簡介

XMPP Enabled 提供一個給其他插件使用 Jabber/XMPP 協議的單一功能 API。
如果您想在通知中使用 XMPP 協議,請參閱 API 部分以獲取詳細信息。

GitHub 頁面:https://github.com/sandfoxme/xmpp-enabled

感謝

Mako N(日語翻譯和 i18n 支援)

插件 API
單一功能

發送 XMPP 消息的單一功能為 xmpp_enabled。它可以直接從任何 WordPress 插件中調用

xmpp_enabled($recipient, $message, $subject='', $type='normal');

$recipient 是收件人的有效(裸或完整)JID,如 ‘[email protected]
$message 是要發送的純文本消息
$subject 是消息的標題行。對於聊天類型的消息,通常省略
$type 是消息的類型。它可以是 ‘chat’、‘normal’ 或 ‘headline’。有關詳細信息,請參閱RFC 3921

例如:xmpp_send('[email protected]',"讀取我們的新文章:\nhttp://something.com/new-post",'新文章已發布','headline');

在 XMPP Enabled 部分中創建子菜單

XMPP Enabled 創建了自己的部分,您可以自由地在其中使用它為您的插件。代碼為 'xmpp-enabled'

例如:add_submenu_page('xmpp-enabled', 'Jabber Comment Notifications', 'Comment Notifications', 'administrator', __FILE__, 'jcommnotify_settings');

有關詳細信息,請參閱 WordPress Codex 中的添加管理菜單。

原文外掛簡介

XMPP Enabled provides a single function API for other plugins that use Jabber/XMPP messaging protocol.
See API section for details if you want to use XMPP protocol in your notifications.

GitHub page: https://github.com/sandfoxme/xmpp-enabled

Thanks to

Mako N (Japanese translation and i18n support)

Plugin API
The Single Function
The single function for sending XMPP Messages is xmpp_enabled. It can be called directly from any WordPress plugin
xmpp_enabled($recipient, $message, $subject='', $type='normal');

$recipient is a valid (bare or full) JID of the recipient like ‘[email protected]
$message is a plain text message to be sent
$subject is a title line for message. It is usually omitted for chat-type messages
$type is a type of message. It can be ‘chat’, ‘normal’ or ‘headline’. See RFC 3921 for details

Example: xmpp_send('[email protected]',"Read our new post:\nhttp://something.com/new-post",'New post is published','headline');
Create submenu in the XMPP Enabled section
XMPP Enabled creates it’s own section and you’re free to use it for your plugins. The code is 'xmpp-enabled'
Example: add_submenu_page('xmpp-enabled', 'Jabber Comment Notifications', 'Comment Notifications', 'administrator', __FILE__, 'jcommnotify_settings');
See Adding Administration Menus in WordPress Codex for further details

各版本下載點

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

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


0.3.0 | 0.3.1 | 1.0.0 | 1.0.1 | 1.0.2 |

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

  • XMPP Statistics 》透過使用 mod_http_api 模組的 ReST API,從 ejabberd XMPP 服務器檢視統計資料。當 XMPP 服務器位於另一台機器上時,這個外掛非常有用。這個外掛易於配置和...。
  • XMPP Authentication 》這個外掛有兩個主要功能:, , 站點上的任何讀者都可以發表評論,只要他們擁有即時通訊地址(XMPP協議,也稱為Jabber。Gmail或LiveJournal帳戶等都是這樣的標準...。
  • P3chat 》, 作者:Sergey S. Betke, 項目網址:http://sergey-s-betke.blogs.novgaro.ru/category/it/web/wordpress/p3chat, , 此外掛提供對線上聊天 p3chat 服務(線...。
  • Monitor.chat – Monitor WordPress with Instant Messages 》想像一下打開您的手機設備,立即查看從您的WordPress服務器發送的帶有重要信息的消息,這些信息涉及即時發生的事情。讓您了解網站的正常運行狀態、停機時間、...。
  • Ejabberd Account Tools 》提供一套對於 ejabberd 伺服器非常有用的工具,適用於在 WordPress 引擎上運行的網站前端和後端空間。您可以在任何頁面上放置例如新帳戶註冊表單、帳戶密碼重...。
  • ConverseJS 》Converse.js 是一個開源的 Web 聊天客戶端,可以在瀏覽器中運行,並可集成到任何網站中。, 它類似於 Facebook 聊天,但還支持多個用戶聊天室。, Converse.js ...。
  • ChatMe ShortCode 》這個外掛為 WordPress 新增 ChatMe Shortcode。, 欲瞭解更多資訊,請造訪 chatme.im 與 webchat。, 特別感謝:, , Neustradamus 提供法文翻譯, 我的教授提供...。
  • ChatMe Mini Messenger 》這個外掛會在你的 WordPress 上加入 ChatMe 小型信使 (Jabber/XMPP),並且會加入對應的 JavaScript 程式碼。, 這是一個基於 Jabber/XMPP 的類似 Facebook 聊...。
  • ChatMe Mini 》這個外掛為你的 WordPress 添加了 ChatMe Mini 的 JavaScript 代碼,一個基於 Jabber/XMPP 的群聊傳訊工具,類似Facebook的聊天室樣式。, 現在它支援自訂的 J...。
  • XMPP sender 》XMPP sender外掛允許使用XMPP協議(您知道的,這是jabber。例如,它在Google Talk中使用)發送有關博客中新評論的通知。您可以將其自定義為向博客管理員或(...。
  • Jabbernotification 》一款全面配置的WordPress外掛,可通過Jabber通知管理員有新評論。該外掛提供了點擊管理鏈接的便利設置。。
  • Jabber Feed 》his plugin enables a blog owner to publish their posts on an XMPP pubsub node, notifying anyone subscribed to the node through Jabber when a new po...。
  • ConverseJS for WordPress 》此外掛會在您的WordPress網站上新增一個開放原始碼的網路聊天客戶端Converse.js。, 欲知詳情,請參考conversejs網站。。
  • ChatMe Status Widget 》此外掛新增一個小工具,以顯示 ChatMe 使用者狀態。, 欲了解更多資訊,請參閱 chatme.im 和 webchat。, 特別感謝:, , 為法語翻譯的 Neustradamus, 我的教授...。
  • ChatMe Login Widget 》此外掛新增了一個小工具,可顯示 ChatMe 使用者登入表單。, 如需更多資訊,請參閱 chatme.im 和 webchat。, 特別感謝:, , Neustradamus 提供的法文翻譯。, ...。

文章
Filter
Apply Filters
Mastodon