Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Discord Webhooks for MyBB
#1
Hi everyone!
Discord Webhooks plugin goes to the stable Big Grin

Ok, what is this and what is this for? This plugin allows you to send information about new threads and new posts to your Discord channel using Webhooks. You are also be able to push information about new users registrations.

Features:
  • Sending information about new users registrations, new threads and new posts on forum to discord using webhooks,
  • Many (too many?) customization options for info messages - you can send Info message, rich message, compilation of these two's, use username as discord bot name, etc. etc.
  • Use different webhooks for sending information about new posts, threads or registrations,
  • Creating own parametrized info messages,
  • Filtering what to send to discord webhook by: selected and ignored boards, selected and ignored usergroups, thread prefixes, enabled/disabled options for thread, posts and user registrations

Instalation:
  • Get the ZIP file from https://community.mybb.com/mods.php?acti...6&bid=3217 or clone project's GitHub repository from https://github.com/ryczypior/discord-webhook-for-mybb
  • Copy all folders and files from inc folder into MyBB inc directory.
  • In your forum's ACP Panel go to plugins section and install Discord Webhooks for MyBB plugin
  • Go to your Discord channel's settings page to generate Webhook URL endpoint (click on gearwheel icon next to the channel's name, and there should be the "Webhooks" option)
  • Copy generated URL to clipboard
  • In your forum's ACP config section (plugin settings) select "Discord Webhooks for MyBB" and paste webhooks url into "Discord Webhooks URL" field
  • In this section you also need to specify which forum threads and posts are being sent to the Discord Webhook, you may also change other properties.

After you save these settings, you should see new threads and posts from selected forums on your Discord channel.

You can also download multi-instance version of this plugin from GitHub project page (https://github.com/ryczypior/discord-webhook-for-mybb) which allows you to use another settings and different discord webhooks.

Requirements:
  • MyBB 1.8+
  • curl - for HTTP requests to Discord
  • Multibyte String (mb_* string) for multibyte string manipulation
Possible conflicts with other plugins: Download URL: https://community.mybb.com/mods.php?acti...6&bid=3217

GitHub: https://github.com/ryczypior/discord-webhook-for-mybb

Feel free to propose new features you want to see in next releases of this plugin!
Reply
#2
Thank you very much! I have been using this plugin since the first beta version, really useful!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#3
Thank you very much. I appreciate your work. I was really in need of this kind of plugin.
Reply
#4
(2018-06-10, 10:58 PM)ryczypior Wrote: Hi everyone!
Discord Webhooks plugin goes to the stable Big Grin

Ok, what is this and what is this for? This plugin allows you to send information about new threads and new posts to your Discord channel using Webhooks. You are also be able to push information about new users registrations.

Features:
  • Sending information about new users registrations, new threads and new posts on forum to discord using webhooks,
  • Many (too many?) customization options for info messages - you can send Info message, rich message, compilation of these two's, use username as discord bot name, etc. etc.
  • Use different webhooks for sending information about new posts, threads or registrations,
  • Creating own parametrized info messages,
  • Filtering what to send to discord webhook by: selected and ignored boards, selected and ignored usergroups, thread prefixes, enabled/disabled options for thread, posts and user registrations

Instalation:
  • Get the ZIP file from https://community.mybb.com/mods.php?acti...6&bid=3217 or clone project's GitHub repository from https://github.com/ryczypior/discord-webhook-for-mybb
  • Copy all folders and files from inc folder into MyBB inc directory.
  • In your forum's ACP Panel go to plugins section and install Discord Webhooks for MyBB plugin
  • Go to your Discord channel's settings page to generate Webhook URL endpoint (click on gearwheel icon next to the channel's name, and there should be the "Webhooks" option)
  • Copy generated URL to clipboard
  • In your forum's ACP config section (plugin settings) select "Discord Webhooks for MyBB" and paste webhooks url into "Discord Webhooks URL" field
  • In this section you also need to specify which forum threads and posts are being sent to the Discord Webhook, you may also change other properties.

After you save these settings, you should see new threads and posts from selected forums on your Discord channel.

You can also download multi-instance version of this plugin from GitHub project page (https://github.com/ryczypior/discord-webhook-for-mybb) which allows you to use another settings and different discord webhooks.

Requirements:
  • MyBB 1.8+
  • curl - for HTTP requests to Discord
  • Multibyte String (mb_* string) for multibyte string manipulation

Download URL: https://community.mybb.com/mods.php?acti...6&bid=3217

GitHub: https://github.com/ryczypior/discord-webhook-for-mybb

Feel free to propose new features you want to see in next releases of this plugin!

You might want to mention the possible conflicts with other plugins (Such as CoderMe Donation plugin) with the Discord webhooks.

You can put the fix in your original thread or link it to your Github link regarding this issue.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#5
You're right, thanks! I've just updated first post.
Reply
#6
(2018-06-13, 12:38 PM)ryczypior Wrote: You're right, thanks! I've just updated first post.

Cool Cool
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#7
Great plugin. What would be really nice is if you could bind hooks to different forums.

MyBB Trash Bin
MyBB Form Creator
Reply
#8
@Burnacid, you actually can do it using multiinstance version. Please see GitHub plugin's page for more details: https://github.com/ryczypior/discord-webhook-for-mybb
Reply
#9
(2018-06-13, 06:10 PM)ryczypior Wrote: @Burnacid, you actually can do it using multiinstance version. Please see GitHub plugin's page for more details: https://github.com/ryczypior/discord-webhook-for-mybb

Thanks, sure a method to do it might implement it that way but it would be nice to have it configurable from ACP.

MyBB Trash Bin
MyBB Form Creator
Reply
#10
I installed this plugin today but I can't understand, first I thought it's only ignoring admin messages, (it succesfully worked on 3 user messages), then I thought it's also not working on moderator messages, but now I am seeing its not working on user messages... No idea what's going on.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)