YesCan members chat in the discord directly from the chat page using this addon?
YesCan members chat in the discord directly from the chat page using this addon?
I don’t recall there being any email integration with this add-on.I purchased this a while ago, can someone tell me how to get in touch with the creator? The email sending is not working with any of their support aliases.
Or if you mean contacting the author. Your best bet is here on xenforo @JaxelI purchased this a while ago, can someone tell me how to get in touch with the creator? The email sending is not working with any of their support aliases.
\src\addons\EWR\Discord\Entity\Post.php lines 112-117:$content = str_ireplace(
['{user}', '{title}', '{node}', '{url}'],
['{user}', '{title}', '{url}'],
[$thread->username, str_replace('@', '@', $thread->title), $thread->Forum->title, $url],
$discord['threads']['message']
);
$content = str_ireplace(
['{user}', '{title}', '{node}', '{url}'], // search
[$thread->username, str_replace('@', '@', $thread->title), $thread->Forum->title, $url], // replace
$discord['threads']['message'] // subject
);
str_ireplace has the args in the wrong order. The 4th param gets passed in (which is the $count out param), and the replacement array repeats the placeholders instead of the values. Thus, $content becomes an array instead of a string, so Discord rejects the payload.So this explains why whenever we make a new thread/post after updating (all of our messages with threads and posts are a bit modified from the ones that are set by the addon itself) suddenly we're not seeing any of them get pushed through to Discord anymore....As a side note: Posting new threads to Discord is broken if a custom message has been provided.
Fix:
\src\addons\EWR\Discord\Entity\Post.phplines 112-117:
->PHP:$content = str_ireplace( ['{user}', '{title}', '{node}', '{url}'], ['{user}', '{title}', '{url}'], [$thread->username, str_replace('@', '@', $thread->title), $thread->Forum->title, $url], $discord['threads']['message'] );
The call toPHP:$content = str_ireplace( ['{user}', '{title}', '{node}', '{url}'], // search [$thread->username, str_replace('@', '@', $thread->title), $thread->Forum->title, $url], // replace $discord['threads']['message'] // subject );str_ireplacehas the args in the wrong order. The 4th param gets passed in (which is the$countout param), and the replacement array repeats the placeholders instead of the values. Thus,$contentbecomes an array instead of a string, so Discord rejects the payload.

upstream connect error or disconnect/reset before headers. reset reason: connection timeoutHi, I have using years of this awesome add-on and very happy about it, but some reason it does not work right now.
Users can't currently get discord roles when registering to the forum.
It gives me this error:
upstream connect error or disconnect/reset before headers. reset reason: connection timeout
Thanks!
That's an error on Discord's side, I believe. I had that same issue overnight with my Discord widget bots on my website. It's corrected itself this morning.
While I've noticed some of my connectivity between XF and Discord is not happening as it use to, that's been the case for a bit. Haven't had a chance to post here or ask @Jaxel about it. Could be Discord made some changes...l not sure..
But that above, is the EXACT error I had last night from my widgets.
We use essential cookies to make this site work, and optional cookies to enhance your experience.