這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Flair Chat

描述

This WordPress plugin provides a live chat block for logged in users only,
and uses the pusher api pusher.com/channels/pricing, Your site will
probably do alright with the free tier.

Configuration

  1. Create an account with https://dashboard.pusher.com/accounts/sign_in
  2. After step 1 above, create a Channels app and click on the App Keys and note the app details ie; app_id, key, secret and cluster.
  3. From your wordpress plugins listing page, below the FlairChat plugin is the configuration link, click on that and fill in
    the form with the right information from step 2 above ie; app_id, key, secret and cluster.

螢幕截圖

  • Message thread mini view.
  • Mini view user list.
  • Mini view message list.
  • Minimized chat view.
  • Maximized chat view.
  • Maximized chat view.
  • Candido(example user) to Admin(example user) view.
  • Admin(example user) to Candido(example user) view.

安裝

  1. Install via the WordPress plugin repository or download and place in /wp-content/plugins directory
  2. Activate the plugin through the \’Plugins\’ menu in WordPress
  3. See this plugin’s configuration section.

常見問題

Are messages stored in a DB? Do you use websockets or long polling?

Yeah, messages are stored in the DB, and communication to front end via pusher api (I think they use we sockets under the hood).

Is it for admin & user/subscriber chat, or can any subscriber chat with this tool among them? I mean, a chat like FB chat?

With this release (1.0.0), anyone logged in can chat, but I will add an input to select the roles to exclude from chat in the next minor release.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Flair Chat” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Flair Chat 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

First version

1.0.1

Fixed invalid date, error on to_uid just sent message.

1.0.2

Updates total unread in the chat controls on new message.
Updates total unread when user opens message view and also on scrolls.
Plays notification sound when new message received.
Enables Admins to disable or enable new message sound notifications via the configuration form.

1.0.3

Included /vendor directory which was missing from previous git actions.

1.0.4

Downloaded the vendor items to be included in the 1.0.3 fix above.

1.0.5

Fixed count unread issue, when no users were found.

1.0.6

Added custom filter hooks, so developers can easily extend/build on this plugin.
These are;
* flair_chat_load_users:
* flair_chat_sent_message:
See docs.md for more details