Jump to the post that solved this thread.
Solved: 1 Year, 5 Months, 2 Weeks ago Discord Webhooks for MyBB - Not Working Anymore
#1
Solved: 1 Year, 5 Months, 2 Weeks ago
Hello,

I did everything right but still i cant see anything new from our forum. Its like plugin not works. Tried socket / curl too but no way. PHP 7.4 with all needed modules is active and im sure about my discord webhook url is correct

https://github.com/ryczypior/discord-web.../issues/38
Reply
#2
Solved: 1 Year, 5 Months, 2 Weeks ago
Hi,

In inc/plugins/discord_webhooks/Discordwebhook.php change:

if (preg_match('/^\s*https?:\/\/(ptb\.)?discordapp\.com\/api\/webhooks\//i', $webhookurl) == 0) {

to
if (preg_match('/^\s*https?:\/\/(ptb\.)?discord\.com\/api\/webhooks\//i', $webhookurl) == 0) {

That worked for me. Hopefully it works for you, too Smile
[Image: BloodTies.png]

[Image: Pern.png]
Reply
#3
Solved: 1 Year, 5 Months, 2 Weeks ago
(2021-02-18, 11:38 AM)ThistleProse Wrote: Hi,

In inc/plugins/discord_webhooks/Discordwebhook.php change:

if (preg_match('/^\s*https?:\/\/(ptb\.)?discordapp\.com\/api\/webhooks\//i', $webhookurl) == 0) {

to
if (preg_match('/^\s*https?:\/\/(ptb\.)?discord\.com\/api\/webhooks\//i', $webhookurl) == 0) {

That worked for me. Hopefully it works for you, too Smile


Hey,

Solved. Thnx!
Reply
#4
Solved: 1 Year, 5 Months, 2 Weeks ago
This solved my issue as well.

Thank you so much!
Reply
#5
Solved: 1 Year, 5 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
Still not working for me...
https://community.mybb.com/thread-218072...pid1378445
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)