News:

Wondering if this will always be free?  See why free is better.

Main Menu

Discord Web Hooks

Started by vbgamer45, October 21, 2018, 12:26:05 PM

Previous topic - Next topic

vbgamer45

Update

2.0.1
+Pretty Urls support on messages posted to discord


Not tested but give that a try.
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

Yottabyte007

Hi there, I tried installing this mod into SMF forum, it says it was installed successfully. I then create a webhook of my channel, and put it into the discord settings on SMF forum. However, when making a new post, new topic, or new member registers there isn't anything posted to my channel on discord. I cannot find anything about errors or completion. How can I trouble shoot this?

vbgamer45

Anything in your forum error logs. It should log errors there I believe
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

Yottabyte007

I don't quite know how to upload the error log so I took photos.

hxxp:ibb.co/vhHL0Jq [nonactive]
hxxp:ibb.co/DDf0Qfs [nonactive]

vbgamer45

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

dendemeier

I installed the mod and set it up on my forum. So far it´s working :)

But the pretty url integration doesn´t seem to work. The Links posted within discord is like forum-url//index.php?topic=1827.msg22163#msg22163.

Do I have to manually activate it to get it working? If so, how? off Course pretty url is also installed in my forum.

vbgamer45

I don't believe i have added pretty urls support to it yet.
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

dendemeier

Quote from: vbgamer45 on January 21, 2021, 09:57:17 AMUpdate

2.0.1
+Pretty Urls support on messages posted to discord


Not tested but give that a try.

It was implemented by yourself sometimes ago. Although you didn´t test it, nobody said it doesn´t work.
But if it´s not working, it´s no problem at all :)

Senkusha

#68
This is probably a dumb question, but... I'm new to Discord, so I'm unfamiliar with how to answer the blanks in the configuration.  Could somebody please hold my hand, pretty please with a  cherry on top??? 8)

You cannot view this attachment.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

ZabiinoOo


ZabiinoOo

i have 2 suggerencies

the link for topics not is unike, the link add the .msg in url, this can not contain the .msg and post in discord bot only url unike, the link what show is this:


and the other

the hook boards not incluide category complete, only work by subforum and this need make 20 hook board for 1 or 2 seccions

work perfect this mod, congratulations for you @vbgamer45 the best, the animal 8)

aegersz

Hi, I am very new to discord.

I want to copy an entire board to a text channel - is that possible with this mod ?

I have no idea how to configure this mod yet, either. But it is installed but I have not configured it yet. Do you have any suggestions for me ?
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

aegersz

I got the interface working and it send messages when I create and new topic or post.

I Had to create a webhook via Discord and update the settings with it. I also selected the board I wanted to monitor.

All good. I guess I can't really use Discord as an archive for SMF but it was worth learning about it.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

CMOBOSS

Can you implement the option to use multiple webhooks for general/global api or will "," separation work in this situation?

vbgamer45

Commas separated doesn't work.
Not likely to add that feature.
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

aegersz

I want to thank you for not just the mod but for introducing me to the world of Discord.

My server is slowly growing and I am now far more social, having met a many good people.

My server is private but the invite link can be found in my signature on my forum (I am Chip) but it is a drug harm reduction site so be aware.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Advertisement: