Chat 2 by Siropu

Chat 2 by Siropu [Paid] 2.3.5

No permission to buy (€29.99)
Usernames in message content (mentions, bot notifications) cannot be rich.

What add-on have you installed that adds the avatar in mentions?

Why cant it be? I remember Lucke add-on for chat supports rich username. Im not talking about mention. Im talking about when user post a new post or thread where it says "username has posted a new thread called...in.... This user-name doesn't appear rich according to their username colour.

https://xenforo.com/community/resources/taigachat-pro-realtime-chat-shoutbox.1224/

Here is the ads-on

https://xenforo.com/community/resources/xenconcept-mini-avatar-with-tag.5861/
 
Because the chat displays the username using the [USER] BBcode which doesn't support rich usernames. Unless I use a custom BBCode instead. We'll see.

If this can be done through template modification please point out the right template and right code to make it functions
 
It cannot be done using TMS since it doesn't uses a template, it uses a BBCode within a phrase.
 
Use the CSS class: .siropuChatDateTime

Example (add in extra.less template):
CSS:
.siropuChatDateTime
{
    background: gray;
    color: black;
}
 
Hey, just want to report a bug.
So - our error log gets spammed:
sQEh2lH.png


I hope the stuff below will help
Code:
Stack trace
#0 src/addons/Siropu/Chat/Pub/View/Chat.php(31): XF::handlePhpError(8, '[E_NOTICE] Unde...', 's...', 31, Array)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(77): Siropu\Chat\Pub\View\Chat->renderJson()
#2 src/XF/Mvc/Renderer/Json.php(60): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Siropu\\Chat:Cha...', '', Array)
#3 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Json->renderView('Siropu\\Chat:Cha...', '', Array)
#4 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#6 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state
array(4) {
["url"] => string(22) "/index.php?chat/update"
["referrer"] => string(61) "https://XXX.XX/resources/resource.6/"
["_GET"] => array(1) {
["chat/update"] => string(0) ""
}
["_POST"] => array(11) {
["channel"] => string(4) "room"
["room_id"] => string(1) "1"
["last_id"] => array(1) {
[3] => string(3) "198"
}
["conv_id"] => string(1) "0"
["conv_only"] => string(1) "0"
["conv_last_active"] => string(10) "1512382592"
["is_chat_page"] => string(5) "false"
["_xfRequestUri"] => string(45) "/resources/resource.6/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Code:
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', 's...', 564, Array)
#1 src/XF/Template/Templater.php(564): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(519): XF\Template\Templater->getTemplateData('public', 'alert_siropu_ch...')
#3 src/XF/Template/Templater.php(1229): XF\Template\Templater->getTemplateCode('public', 'alert_siropu_ch...')
#4 src/XF/Alert/AbstractHandler.php(67): XF\Template\Templater->renderTemplate('alert_siropu_ch...', Array)
#5 src/XF/Entity/UserAlert.php(67): XF\Alert\AbstractHandler->render(Object(XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(920): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s6/public/alert_macros.php(18): XF\Template\Templater->method(Object(XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(643): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s6/public/account_alerts.php(28): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1230): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts', Array)
#13 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#14 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#17 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#18 src/XF.php(328): XF\App->run()
#19 index.php(13): XF::runApp('XF\\Pub\\App')
#20 {main}


Request state
array(4) {
["url"] => string(15) "/account/alerts"
["referrer"] => string(28) "https://XXX.XX/login/login"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
We did not make any updates and it sais Version 2.0.0 (We uninstalled the chat from XF1.5 and then installed the 2.0.0)
We will try to uninstall and reinstall later this evening. Maybe that will help. I will reply here later.
 
If you want to delete all room messages, use the prune command. /prune
Make sure that you have the chat moderator permissions to prune the chat.
This and other commands are found in the help section of the chat.
 
Just installed the addon, awesome experience I must say. Two questions about the chat bar at the bottom:

1) Can I have this as well as the chat window above the forum list?

2) Can I add custom links to that chat bar?

1512761084884.webp
 
Hello, in some times whisper do not work correct, if member send a whisper it not a convert and all see a

/whisper [Nickname] test of message
 
That seem to happen when using the command wrapped in bbcode. Will be fixed in the next release.
 
Top Bottom