Vanilla Bean Slack Hooker

설명

*Automated notifications from your WordPress * to your Slack 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"]

또는

[slackhooker text="Here is a message" channel="general" 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('Send nudes','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
* channel – defaults to ‘general’ or your admin default specified channel
* username – the identity you would like displayed as the sender in the Slack 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 php load.
* postto – overrides default webhook setting – comma separated webhook urls
* alsoto – extra webhooks on top of default webhook

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

설치

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

후기

2016년 September 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로 구독하십시오.

변경이력

2.55

  • Added toggle option for help

2.47

  • Enabled inheritance of <v2.46 channel default for alerts

2.46

  • Enabled channel selection for default alerts

2.45

  • Fixed test msg typo

2.44

  • Added default notification options for when plugins are installed, updated etc
  • Tested against WP 5.3
  • Tested against Corona virus

2.20

  • Changed Curl to http-api

2.14

  • Changed @channel syntax to work with latest api

2.13

  • Fixed bug of slack plugin validation updating incorrectly
  • added programmatic examples to settings page

2.12

Updated Icon

2.11

Added missing menu icon

2.10

Tested against php7.1 and wordpress 4.7

2.0

  • Added repetition prevention functionality
  • Added support for multiple slack webhooks

1.50

Fixed issue with specified icon not displaying in notice

1.42

Set delayed send to flag slack as working

1.41

Moved slack message to immediate cron job so that it does not delay page load

1.24

Tested against wp 4.5

1.23

Updated 404 test

1.22

Updated common functions

1.21

Added support for default icon

1.2

Added default comment alert

1.1

Fix broken plugin download link

1.01

Shortcode in admin documentation bugfix

1.0

초기 릴리즈