Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 191
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 200
Total: 200

Author Topic: [Mod]Discord Web Hooks  (Read 27930 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
[Mod]Discord Web Hooks
« on: September 09, 2018, 03:40:54 pm »
Discord Web Hooks




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=212

Adds support for posting of new topics and messages to discord.
Also supports posting when a new user registers.

You can customize the messages posted for these actions, along with the name of the bot that posts the message.

Uses either cURL or fsockopen to make the post.
« Last Edit: October 22, 2018, 06:23:48 am by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dan4ever

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod]Discord Web Hooks
« Reply #1 on: March 17, 2023, 01:35:44 am »
Is this mod working on 2.1?

/Dan

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod]Discord Web Hooks
« Reply #2 on: March 17, 2023, 08:48:30 am »
yes
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dan4ever

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: [Mod]Discord Web Hooks
« Reply #3 on: September 22, 2023, 03:48:45 pm »
This error has coming upp!

PHP Fatal error:  Uncaught Exception: cURL error (3):
 URL using bad/illegal format or missing URL in /home/...../forum/Sources/discord2.php:146
Stack trace:
#0 /home/...../forum/Sources/discord2.php(188): discord_sendCURL('{"username":"El...', '')
#1 /home/...../forum/Sources/discord2.php(301): discord_send('', 'Elias N\xC3\xA4bbg\xC3\xA4d...', '@Elias N\xC3\xA4bbg\xC3\xA4...')
#2 /home/...../forum/Sources/Subs-Post.php(2031): discord_send_post(51849)
#3 /home/...../forum/Sources/Post.php(2427): createPost(Array, Array, Array)
#4 /home/...../forum/index.php(184): Post2()
#5 {main}
  thrown in /home/...../forum/Sources/discord2.php on line 146

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: [Mod]Discord Web Hooks
« Reply #4 on: September 22, 2023, 03:57:28 pm »
What does the post look like ? Emoji's/special characters?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
6062 Views
Last post February 15, 2021, 11:02:21 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal