Advertisement:

Author Topic: Discord Web Hooks  (Read 9213 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #40 on: October 09, 2020, 09:25:51 AM »
Would have to see if there is a setting for that. It shows that text since that topic is off limits to the discord bot when it tries to view the page as text
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline JUNK de LUXE

  • Semi-Newbie
  • *
  • Posts: 11
Re: Discord Web Hooks
« Reply #41 on: October 09, 2020, 11:53:21 AM »
I've looked it up and if the link is surrounded by <>-signs like this:

Code: [Select]
<www.link.tld>
then it should disable the embedding.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #42 on: October 09, 2020, 12:05:12 PM »
Hmm ok that's a little tricky would have to pull out of links/convert html to that
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline JUNK de LUXE

  • Semi-Newbie
  • *
  • Posts: 11
Re: Discord Web Hooks
« Reply #43 on: October 09, 2020, 01:09:30 PM »
do it if you want to, and if not I'll survive :)

we're only a small buddies discord and nothing fancy.


another solution might be if it's somehow possible for the bot to be a user of the forum so it can show the previews.. hmm.

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #44 on: December 31, 2020, 02:25:50 AM »
Thank you, this is pretty great

Offline Anger22

  • Newbie
  • *
  • Posts: 3
Re: Discord Web Hooks
« Reply #45 on: January 13, 2021, 03:43:30 AM »
Love this mod. Would it be possible to add a feature to allow different boards to be connected to different webhooks? I have many restricted boards that only certain members should see. It would be cool if "admin boards" for example could be connected to a different webhook, so those comments only post to the "admin" discord channels.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #46 on: January 13, 2021, 08:38:22 AM »
It would be possible just takes time to add.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #47 on: January 15, 2021, 11:45:37 PM »
I second this option, to provide more purpose, if you could setup a table like structure where you could direct posts from smf -> a certain discord channel, it would greatly expand it's purpose. I'll buy you a coffee if you need an incentive? :)

Offline Anger22

  • Newbie
  • *
  • Posts: 3
Re: Discord Web Hooks
« Reply #48 on: January 17, 2021, 02:15:49 PM »
I'd also be willing to throw a few bucks at it  8)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #49 on: January 17, 2021, 02:26:46 PM »
Ok well i might just work on it then. Settings per board level.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #50 on: January 17, 2021, 11:12:52 PM »
Update:
2.0
+Added options to set custom discord post urls on a board level
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Anger22

  • Newbie
  • *
  • Posts: 3
Re: Discord Web Hooks
« Reply #51 on: January 18, 2021, 03:01:03 AM »
Working flawlessly as far as I can tell. Thank you for your work! Where can I send a contribution?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #52 on: January 18, 2021, 08:24:26 AM »
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #53 on: January 18, 2021, 10:46:14 PM »
Here is a link:
https://paypal.me/vbgamer45

Fantastic and a fast update too, enjoy your Coffee(s)


Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #54 on: January 18, 2021, 10:48:00 PM »
Thanks!
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #55 on: January 18, 2021, 10:49:48 PM »
Would like to see Botname per custom webhook too, would make it interesting to stylise individual discord channels.

Have you also considered doing a discord -> SMF forum mod e.g. when a message is done in discord, it's created in a thread or as a new thread? That would provide a true integration experience.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #56 on: January 18, 2021, 11:12:31 PM »
I have thought about discord to SMF, have to look at the API some more to see how it is possible.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #57 on: January 19, 2021, 09:22:47 PM »
Tried to setup an individual hook in a child board and not seeing it trigger the webhook, is there something else we need to do to make it trigger?

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,610
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Discord Web Hooks
« Reply #58 on: January 19, 2021, 09:41:56 PM »
You have to make sure the board is selected on the main page as well of the settings.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Discord Web Hooks
« Reply #59 on: January 21, 2021, 04:25:56 AM »
You have to make sure the board is selected on the main page as well of the settings.

Seems to work if you do that, thanks.

Any chance of also getting prettyurl support for the outputs?