该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Invitations for Slack

描述

Invitations for Slack lets you use convenient shortcodes to show “Join us on Slack.” buttons or Slack badges. Just add
your Slack token and use the shortcodes wherever you want your visitors to be able to invite themselves from.

Features:

  • Easy to use:
    • Visit https://api.slack.com/web to generate your Slack token.
    • Add the token to the plugin settings.
    • Use the [invitations_for_slack] or [invitations_for_slack_badge] shortcodes.
  • Invitations are performed using the WP REST API which in turn communicates with the Slack API. No page reloads.

Requirements:

  • A Slack team and the team’s access token.
  • A self-hosted WordPress website (Not a WordPress.com website.)

屏幕截图

  • Normal button version : [invitations_for_slack].
  • Badge version: [invitations_for_slack_badge].
  • Restricted to logged in users (as per settings).
  • Logged in user and alternate e-mail allowed OR unrestricted, anyone can register.
  • Already part of the team. Other errors have similar appearance.
  • Invitation sent successfully!
  • Plugin setup screen.

安装

To get Invitations for Slack working, please follow these steps.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate “Invitations for Slack” through the ‘Plugins’ screen in WordPress
  3. Once activated, click on the new “Invitations for Slack” menu item to configure your settings.
  4. Make sure you get your Slack API token from https://api.slack.com/web

Now just use the [invitations_for_slack] and/or [invitations_for_slack_badge] shortcodes where you want your users to register from.

评价

2017年5月24日
This plugin is great and it works as expected when you use Slack's legacy token API: https://api.slack.com/custom-integrations/legacy-tokens Just a hint for other users who can't get it to work. I was able to figure it out so I thought I'd pass on the link to the API this plugin uses. Thanks for a great plugin! It's exactly what I need. 🙂
2017年1月31日
Plugin doesn't work unfortunately. Have raised several issues in the support forum and still no response after months.
2016年9月3日
While the author is not responsible for Slack itself, having at least basic instructions on how to obtain a proper Slack Token would result in a much higher rating. Currently it works with a Test token, but that's not a proper setup.
阅读所有6条评价

贡献者及开发者

“Invitations for Slack” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Invitations for Slack”插件已被翻译至3种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Invitations for Slack”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • Better handling of channel names to join.
  • Reset link for invite form now shows and hides appropriately.

1.0.1

  • Popup now shows above elements with overflow set to hidden.

1.0.0

  • First public release.

0.1

  • Initial plugin release.