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

BuddySlack

外掛說明

This bare-bones plugin takes activities generated by the BuddyPress members, profile, member, and/or groups components and posted them to your Slack team. You can choose to have this stream of posts go to a particular channel, private group, or even a user on your Slack team. The plugin also can provide an optional “Slack” settings panel for users in their BuddyPress profile which gives them control if they want their activities posted in Slack or not.

In order for this plugin to work you MUST login into your Slack settings and set up an incoming webhook integration in your Slack team. Here’s the quick way to do that.

  1. Login as admin of your Slack team and go to https://api.slack.com/incoming-webhooks.
  2. Click the ‘Set up an incoming webhook integration in your Slack team to try it out’ link that is near the top.
  3. Choose a channel (or create a new channel) under “Post To Channel”. Note that this is the default channel and the plugin can override this to post to another channel, group, or user.
  4. You’ll be provided a webhook URL. Grab the provided webhook URL and use that in the plugin settings.

Needless to say, without a correct webhook the plugin won’t work.

Please note that if you have a busy site, your Slack channel might fill up quickly. Use responsibility. Don’t do drugs. Stay in school.

螢幕擷圖

  • BuddySlack Settings Screen

安裝方式

This section describes how to install the plugin and get it working.

  1. Extract and upload the buddyslack folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in the WordPress admin panel
  3. Setup an incoming webhook for your Slack team (see instructions in the description).

常見問題集

This plugin needs [fill in a feature here]

This is a bare-bones plugin that was built in a day. It uses the WordPress plugin boilerplate (http://wppb.io/) and should be updatable by a knowledgable developer. If you wish to pay to have features added to plugin, please reach out to David Bisset (davidbisset.com). Either way, I would love to hear what suggestions you might have or if you have a pull-request.

What are the most likely future features to be added?

The plugin only allows you to pick from four hard-coded default BuddyPress components. This should be more robust, not to mention consideration for custom BuddyPress components. After that allowing the user to customize the message sent to Slack seems to be next logical feature to add.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈BuddySlack〉的開發相關工作。

參與者

將〈BuddySlack〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial release. Bare-bones.