Hi there. I have this mod installed and Username Matching enabled in the addon CP, but in the discord channel it's not matching usernames. How can I fix this?
I've done this and it still only shows my Discord name.I think the users in the Discord have to associate their Discord as a connected account.
#0 src/addons/EWR/Discord/Entity/Post.php(45): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/deathwish...', 45, Array)
#1 src/addons/EWR/Discord/Entity/Post.php(17): EWR\Discord\Entity\Post->postPostToDiscord()
#2 src/XF/Mvc/Entity/Entity.php(1219): EWR\Discord\Entity\Post->_postSave()
#3 src/XF/Service/Thread/Replier.php(181): XF\Mvc\Entity\Entity->save(true, false)
#4 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save()
#5 src/XF/Pub/Controller/Thread.php(461): XF\Service\Thread\Replier->save()
#6 src/addons/KL/AutoMergeDoublePost/Pub/Controller/Thread.php(41): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(350): KL\AutoMergeDoublePost\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL)
#9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL)
#10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#12 src/XF.php(391): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}
array(4) {
["url"] => string(29) "/forum/threads/8812/add-reply"
["referrer"] => string(43) "https://forbiddense.com/forum/threads/8812/"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["message_html"] => string(27) "<p>Unique contribution!</p>"
["attachment_hash"] => string(32) "9a48886ffce97ee054c9d66b66138a95"
["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":8812},"hash":"9a48886ffce97ee054c9d66b66138a95"}"
["last_date"] => string(10) "1587367787"
["last_known_date"] => string(10) "1587367787"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(20) "/forum/threads/8812/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Hi,
@Jaxel
- ErrorException: [E_NOTICE] Undefined variable: parent
- src/addons/EWR/Discord/Entity/Post.php:45
Code:#0 src/addons/EWR/Discord/Entity/Post.php(45): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/deathwish...', 45, Array) #1 src/addons/EWR/Discord/Entity/Post.php(17): EWR\Discord\Entity\Post->postPostToDiscord() #2 src/XF/Mvc/Entity/Entity.php(1219): EWR\Discord\Entity\Post->_postSave() #3 src/XF/Service/Thread/Replier.php(181): XF\Mvc\Entity\Entity->save(true, false) #4 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Thread\Replier->_save() #5 src/XF/Pub/Controller/Thread.php(461): XF\Service\Thread\Replier->save() #6 src/addons/KL/AutoMergeDoublePost/Pub/Controller/Thread.php(41): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag)) #7 src/XF/Mvc/Dispatcher.php(350): KL\AutoMergeDoublePost\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag)) #8 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL) #9 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserActivity\XF\Pub\Controller\Thread), NULL) #10 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #11 src/XF/App.php(2184): XF\Mvc\Dispatcher->run() #12 src/XF.php(391): XF\App->run() #13 index.php(20): XF::runApp('XF\\Pub\\App') #14 {main}
Code:array(4) { ["url"] => string(29) "/forum/threads/8812/add-reply" ["referrer"] => string(43) "https://forbiddense.com/forum/threads/8812/" ["_GET"] => array(0) { } ["_POST"] => array(9) { ["message_html"] => string(27) "<p>Unique contribution!</p>" ["attachment_hash"] => string(32) "9a48886ffce97ee054c9d66b66138a95" ["attachment_hash_combined"] => string(86) "{"type":"post","context":{"thread_id":8812},"hash":"9a48886ffce97ee054c9d66b66138a95"}" ["last_date"] => string(10) "1587367787" ["last_known_date"] => string(10) "1587367787" ["_xfToken"] => string(8) "********" ["_xfRequestUri"] => string(20) "/forum/threads/8812/" ["_xfWithData"] => string(1) "1" ["_xfResponseType"] => string(4) "json" } }
Any idea whats causing this
Fixed a bug related to some leftover code from an older version.
Tell me how it goes, if you go down that road. From my experience Nix's Add-ons are quite excellent, however questions heavily lack responses and bugfixes need a couple of months (up to a year). Take a look at his board for reference.I think it's about time I start looking at @NixFifty's addon that does the same thing.
There are multiple users that are having those (and more) issues that never got fully addressed (and I don't think they ever will).The biggest issue I'm having with this addon is that a lot of my users associate their discord accounts
I get that the avatar changes constantly, so maybe it's best to change that to the users nick+ID and UserID instead.. such as:
I still can't reproduce any sync issues you guys are having.
Do you consider the "connected account info" thing to be a sync issue, too? I don't know the mechanisms of this and if this falls under sync issues or not.
I can second this. Assigned a new group in XF on August 18th, got synced to Discord on November 26th (yes, the user was on the Discord server before, didn't leave and got a different group earlier this year).
Jaxel updated XF2 [8WR] Discord Integration with a new update entry:
2.1.1.4 - CHANGELOG
Read the rest of this update entry...
The update is literally to fix your bug report...Seriously? You're just going to ignore me? that's me refunding my payment to you.
Read the last question on the FAQ.This is what frustrates me about your addons @Jaxel. I clearly said I read the FAQ, set everything up as per spec, and your version of 'support' is to just link the FAQ over and over again. It's lazy, and you know it.
I think it's about time I start looking at @NixFifty's addon that does the same thing.
I agree and have been working toward doing exactly that.This is what frustrates me about your addons @Jaxel. I clearly said I read the FAQ, set everything up as per spec, and your version of 'support' is to just link the FAQ over and over again. It's lazy, and you know it.
I think it's about time I start looking at @NixFifty's addon that does the same thing.
The update is literally to fix your bug report...
Read the last question on the FAQ.
Read the last question on the FAQ.
We use essential cookies to make this site work, and optional cookies to enhance your experience.