Vanilla Bean Slack Hooker

描述

*Automated notifications from your WordPress * to your Slack / Mattermost application channels and webhooks.

There is no limit to the ways you may integrate this plugin.

It supports all other Vanilla Bean plugins and is available for under-the-bonnet
use as well as shortcode access.

Some shortcode examples:

[slackhooker text="Here is a message from my wordpress"]

or

[slackhooker text="Here is a message" channel="general" username="My WordPress"]

or

[slackhooker text="Here is a message" channel="https://myorg.slack.com/services/xxoxlsodsfsfsdfds#channelname" username="My WordPress"]

Messages are queued last in the PHP process to insure your other page processing is not interrupted, but you can override:

[slackhooker text="Here is a message from my wordpress." sendnow="true"]

Multiple or custom Webhooks supported

[slackhooker text="Here is a message to multiple webhooks" alsoto="https://hooks.slack.com/services/T03TDTbUF/BBG9SQV6X/abcdefghij,https://hooks.slack.com/services/T03TDTbUF/BBG9SQV6X/abcxxxxxxx"]

Programmatic Examples

if(function_exists('\VanillaBeans\SlackHooker\vbean_slackhooker')){
    \VanillaBeans\SlackHooker\vbean_slackhooker('Here is my notification');
 }

if(function_exists('\VanillaBeans\SlackHooker\vbean_slackhooker')){
    \VanillaBeans\SlackHooker\vbean_slackhooker('Here is my notification','mychannel','Username',':specific_icon:');
 }

if(function_exists('\VanillaBeans\SlackHooker\vbean_slackhooker')){
    \VanillaBeans\SlackHooker\vbean_slacknotify(array('text'=>'Here is my notification','icon'=>':open_mouth:'));
 }

There are defaults for all except the message. You can specify:
`* text – required. This is your message
* endpoints – override defaults with a comma separated list of endpooints with optional channel and alert eg: endpoints=’https://endpoint.com#channel#here”
* channel – defaults to ‘general’ or your admin default specified channel – depracated
* username – the identity you would like displayed as the sender in the channel
* icon – any of the available emoji icons in the slack system
* sendnow – true or false. Defaults to false. True means that the message would be executed at the time it is called rather than at the end of page load.

Contact

We can be found at:
* (http://www.velvary.com.au/contact-us)
* Twitter: @VelvaryVanilla
* E: info@ or support@ velvary.com.au

螢幕截圖

  • Example of wordpress monitoring
  • Admin instruction page
  • Another example of wordpress monitoring
  • Screenshot of default options
  • Screenshot of Notification choices

安裝

Unzip into your plugins directory, install directly from
wordpress plugins site.

評價

2016年9月3日
Well, I'm the dev so I'm giving it 5 stars, but I will keep trying to improve it.
閱讀全部1個評價

貢獻者及開發者

“Vanilla Bean Slack Hooker” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Vanilla Bean Slack Hooker 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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