Are you using a custom message color in your chat user settings?
Globally, you can change message text color from chat style properties under "Message text".
The default text color of the editor input is not the same color of the chat text color, unless you use a custom color when you post. The chat default text color can be set from the Chat style properties.So what happens is that I post in the darker version of the theme. The text color box says it is the color for the dark theme but then I when I hit submit it posts it in the lighter theme color.
If you select the color from the editor, it is expected. If you want to have the same color every time, you have to set it in your settings.The other thing that happens is if I do select a color, it will post it once and then it defaults for the next post without me doing anything.
You are a genius coder, by the way, thanks for your amazing clean work! My users are more than happy!
Is there an option where I can post in one room, and its get posted in the other room to?
As an example I have a general room and a news room, I post a piece of news in news room, and it gets automatically posted/copied to the generel room?
If not is it big effort to implement that?
Best regards
Glad to hear that.
I could add an option that allows you to post a message in selected rooms. You could also use bot messages to post scheduled messages in multiple rooms.
[LIST]
[*]ErrorException: [E_NOTICE] Trying to get property of non-object
[*]src/addons/Siropu/Chat/Repository/Conversation.php:62
[*]Generated by: Someone on my forum
[*]May 2, 2019 at 4:31 PM
[/LIST]
Stack trace
#0 src/addons/Siropu/Chat/Repository/Conversation.php(62): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/partial/directory/...', 62, Array)
#1 src/addons/Siropu/Chat/Pub/View/Chat.php(80): Siropu\Chat\Repository\Conversation->getConversationData(Object(XF\Mvc\Entity\ArrayCollection))
#2 src/XF/Mvc/Renderer/AbstractRenderer.php(91): Siropu\Chat\Pub\View\Chat->renderJson()
#3 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Siropu\\Chat:Cha...', '', Array)
#4 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('Siropu\\Chat:Cha...', '', Array)
#5 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#9 src/XF.php(390): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(620) "/index.php?chat/update&users%5B1%5D=322819%2C374676%2C69082%2C50977%2C115191%2C24316%2C105269%2C52463%2C406065%2C11011%2C74094%2C64239%2C406070%2C57786%2C406071%2C44834%2C73048%2C391623%2C62069%2C44376%2C30077%2C30594%2C71051%2C406050%2C406073%2C406074%2C52452%2C182995%2C406075%2C1%2C46554%2C58279%2C73047%2C24036%2C406076%2C85264&channel=room&room_id=1&last_id%5B1%5D=1069&conv_id=365&conv_only=0&conv_items=365&conv_last_active=1556809462&conv_last_update=1556811047&user_last_update=1556811087&is_chat_page=0&_xfRequestUri=%2F&_xfWithData=1&_xfToken=1556809462%2Cea28f86dcfbb02ececc357a55e38087c&_xfResponseType=json"
["referrer"] => string(25) "mysite.com/"
["_GET"] => array(16) {
["chat/update"] => string(0) ""
["users"] => array(1) {
[1] => string(225) "322819,374676,69082,50977,115191,24316,105269,52463,406065,11011,74094,64239,406070,57786,406071,44834,73048,391623,62069,44376,30077,30594,71051,406050,406073,406074,52452,182995,406075,1,46554,58279,73047,24036,406076,85264"
}
["channel"] => string(4) "room"
["room_id"] => string(1) "1"
["last_id"] => array(1) {
[1] => string(4) "1069"
}
["conv_id"] => string(3) "365"
["conv_only"] => string(1) "0"
["conv_items"] => string(3) "365"
["conv_last_active"] => string(10) "1556809462"
["conv_last_update"] => string(10) "1556811047"
["user_last_update"] => string(10) "1556811087"
["is_chat_page"] => string(1) "0"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1556809462,ea28f86dcfbb02ececc357a55e38087c"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
I second thatIt's be cool if reactions also worked with chat messages
This seem to happen when a user that has active chat conversations gets deleted. I will make some changes in the next release.Anyways I have something to report from the error logs of my community, hope you can help
By default, you don't need to touch the widget position settings.Turns out you need to enable the widget in the widget settings to display in the Chat page.
We use essential cookies to make this site work, and optional cookies to enhance your experience.