MyBB Community Forums

Full Version: MyBB and Slack Integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Slack is like IRC but with a more user-friendly interface. It has channels feature and commands function. I think its idea is IRC but with simplicity.

It has a very flexible and simple API.

This is the standalone chat widget: http://improvi.github.io/slack-chat/

It really looks simple to code!

Lightbulb It can be used as web chat for our forum.

I've tested and it seems like you can view messages of other frontend users too.

What I expect:
  • single sign-on, meaning the username in chat is based on the forum account's username
  • able to select specific channel for users in specific group
  • ability to switch channels based on the groups of the user has access to.
    e.g. Group 1 has access to channel A. Group 2 has access to channel B. If the user is associated in Group 1 and Group 2, the user can have access to channel A and B.
  • if possible, set online/offline status
  • ability to view all users online
https://api.slack.com/methods

Perhaps let me show you the preview in case you've never used before Slack thus don't have API token and Channel ID to see the demo.

[attachment=35667]

DemoUser = the user that messages using the chat widget
Admin = anybody that messages in the same room, but using slack.com
Noob = (can only be seen in the channel in slack.com, it's basically the name of the bot delivering frontend msg)

This is how it looks like in the backend.

[attachment=35668]

Cool right? In the backend, it may not look good. But what if it's only used in frontend? Use as a community chat?

It's free, lightweight and simple!
(2015-12-25, 01:47 AM)XP Mai Wrote: [ -> ]Slack is like IRC but with a more user-friendly interface. It has channels feature and commands function. I think its idea is IRC but with simplicity.

It has a very flexible and simple API.

This is the standalone chat widget: http://improvi.github.io/slack-chat/

It really looks simple to code!

Lightbulb It can be used as web chat for our forum.

I've tested and it seems like you can view messages of other frontend users too.

What I expect:
  • single sign-on, meaning the username in chat is based on the forum account's username
  • able to select specific channel for users in specific group
  • ability to switch channels based on the groups of the user has access to.
    e.g. Group 1 has access to channel A. Group 2 has access to channel B. If the user is associated in Group 1 and Group 2, the user can have access to channel A and B.
  • if possible, set online/offline status
  • ability to view all users online
https://api.slack.com/methods

Perhaps let me show you the preview in case you've never used before Slack thus don't have API token and Channel ID to see the demo.



DemoUser = the user that messages using the chat widget
Admin = anybody that messages in the same room, but using slack.com
Noob = (can only be seen in the channel in slack.com, it's basically the name of the bot delivering frontend msg)

This is how it looks like in the backend.



Cool right? In the backend, it may not look good. But what if it's only used in frontend? Use as a community chat?

It's free, lightweight and simple!

Cool idea! +1