Chat by Siropu

Chat by Siropu [Paid] 1.25.1

No permission to buy (€29.99)
Error:

Code:
ErrorException: Argument 1 passed to XenForo_ViewPublic_Helper_Message::bbCodeWrapMessages() must be of the type array, null given, called in /home/fdsafdsa/public_html/xenforo/library/Siropu/Chat/ViewPublic/Public.php on line 19 and defined - library/XenForo/ViewPublic/Helper/Message.php:103
Generated By: Unknown Account, Today at 11:12 AM
Stack Trace

#0 /home/fdsafdsa/public_html/xenforo/library/XenForo/ViewPublic/Helper/Message.php(103): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/home/xeno/publ...', 103, Array)
#1 /home/fdsafdsa/public_html/xenforo/library/Siropu/Chat/ViewPublic/Public.php(19): XenForo_ViewPublic_Helper_Message::bbCodeWrapMessages(NULL, Object(XenForo_BbCode_Parser))
#2 /home/fdsafdsa/public_html/xenforo/library/XenForo/ViewRenderer/Abstract.php(227): Siropu_Chat_ViewPublic_Public->renderHtml()
#3 /home/fdsafdsa/public_html/xenforo/library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('Siropu_Chat_Vie...', 'Html', Array, 'siropu_chat_mes...')
#4 /home/fdsafdsa/public_html/xenforo/library/XenForo/FrontController.php(586): XenForo_ViewRenderer_HtmlPublic->renderView('Siropu_Chat_Vie...', Array, 'siropu_chat_mes...', NULL)
#5 /home/fdsafdsa/public_html/xenforo/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#6 /home/fdsafdsa/public_html/xenforo/index.php(13): XenForo_FrontController->run()
#7 {main}

Request State

array(3) {
  ["url"] => string(45) "https://website.com/index.php?chat/refresh"
  ["_GET"] => array(1) {
    ["chat/refresh"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
@Siropu

It will be great if you can add an envelop to send PM like this:

Capture_d_cran_2015_07_15_00_31_28.png
 
Another thing will be great Siropu if you can add it.
A possibility to replace the module by a message which will appears for guest users.
I don't know if it's possible but I read a template edit about this but it was for the module Taigachat...

I don't know if you can make it for your add-on and at the same time for us. :)
 
If a user is given permission to view and search archives, they can only search on rooms that they're allowed into right?
 
Just bought the add-on. Thanks for developing this @Siropu.
Though I notice that there's a tiny chance for having double message. Refreshing the page restores it back to normal though.
 
Same issue for me but it is not all the time.
Yeah, so far I've only encountered it once. The other staff on my forums also did once. But that's all until now.

EDIT: It's getting worse on populated chat. I successfully reproduced it a couple of times. When I send message at the same time it fetch a new message, that new message will be duped right before my message.
 
Last edited:
A possibility to replace the module by a message which will appears for guest users.
If you give "View" perms but not "Use" to guests, the chat editor and input will be replaced with a message. If you don't want to display the chat and leave a message to guests, you could use XF's notices.
If a user is given permission to view and search archives, they can only search on rooms that they're allowed into right?
Right.
Though I notice that there's a tiny chance for having double message. Refreshing the page restores it back to normal though.
I think this could happen if the server response is slow and refresh takes place at the same time as the response is finally returned. I have added an extra check in 1.15.0 hopefully it won't happen again.
 
Also, is it possible to have extra permission to use chat color? I'd like to make chat color available only for staff and premium user as an extra permission for them. But since there's no permission for that yet, I've to enable it to everybody.
 
By the way, it seems like users that are tagged on chat rooms that they're not allowed into (for example, the room uses usergroup limit) will still get an alert. And that alert will bring the user to the chat archive page that says "There are no messages". I guess it's better to allow tagging but omit the alert if the tagged user is not allowed into it, so that we can at least tag users on the private rooms for reasons like linking the user's profile to the others who have access into the chat room.
 
Delete all messages isn't visible (doesn't fit) if the message color thing is enabled:

Screen Shot 2015-07-16 at 12.48.21.webp



Also would be cool to have user group permission for message color option.
 
Can I somehow make the chat box taller (in pixels) in the "Below Forums" view?

TaigaChat did have height setting in pixels, but I don't see such setting here.

Why is the maximum number messages limited to 50? I'd like 100.

Also, the second row of the buttons ("Smilies" in my case) in mobile responsive view should have a little margin to the first row, now it looks bad:

Screen Shot 2015-07-16 at 13.16.37.webp
 
Last edited:
Another issue...

When "Enable avatars in messages" is enabled, the username goes to utmost right of the row when there is a long message posted.

When the above setting is disabled, the username stays on the left.

See below pics:

Screen Shot 2015-07-16 at 13.29.57.webp

Screen Shot 2015-07-16 at 13.30.46.webp
 
Screen Shot 2015-07-16 at 13.48.27.webp

The feature which outputs new threads in the chat seems to not work when thread title contain "

It instead shows it as "
 
If Display Mode: Below Forums is chosen in ACP Options, any and all users' default display option still seems to be All Pages.

I mean it's just a display issue; it isn't actually using All Pages mode, it only shows the All Pages as chosen in the drop down (in the user's Chat Options), even when it actually is Below Forums:

jep.webp

If Below Forums is chosen in admin ACP, Display Mode drop down should also reflect that in the user's Options panel (unless they have customized it themselves, but in this they hadn't as I tested this with a test account).


Another question:
Is it possible to enable chatters list in the Admin ACP, yet make it by default "hidden", so that users can enable it manually, but it isn't shown by default?
 
Last edited:
Yet another suggestion:

could the message color chooser has a color picker instead of a list of names of colors? Visually seeing the color you are about to pick is much better than a text list of color names.


Also, wouldn't these buttons look better with colorful icons?

Screen Shot 2015-07-16 at 23.05.49.webp
 
Last edited:
Also would be cool to have user group permission for message color option.

Coming in 1.15.0 I believe.

Can I somehow make the chat box taller (in pixels) in the "Below Forums" view?

TaigaChat did have height setting in pixels, but I don't see such setting here.

Why is the maximum number messages limited to 50? I'd like 100.

Also, the second row of the buttons ("Smilies" in my case) in mobile responsive view should have a little margin to the first row, now it looks bad:

View attachment 111468

I believe editing the following in siropu_chat.css will do what you want,

Code:
.siropuChatForumsList.siropuChatMaximized #siropuChatContent, .siropuChatPage.siropuChatMaximized #siropuChatContent {
    height: 400px;
}


Yet another suggestion:

could the message color chooser has a color picker instead of a list of names of colors? Visually seeing the color you are about to pick is much better than a text list of color names.


Also, wouldn't these buttons look better with colorful icons?

View attachment 111552

You can enable fontawesome icons in style properties > Chat
 
Back
Top Bottom