Chat 2 by Siropu

Chat 2 by Siropu [Paid] 2.5.1

No permission to buy (€29.99)
@Siropu When I scroll the screen on mobile, if user (accidentally) scroll on tool bar editor, the screen on mobile will not scroll, this makes very annoying to members
Could you fix this ?
 
Well, I don't have an option to upload images in chat, for whatever reason
In order to upload images, you have to add the Chat upload button to the editor from Admin Control Panel > Content > BB code button manager > Click to edit the toolbars

On the toolbar edit page, drag and drop the Chat upload icon from the top toolbar to the bottom one and save.

Yes even worries with all browsers
It's very strange that you are the only user on your board to have this issue.

Could you fix this ?
It's not a bug.
 
In order to upload images, you have to add the Chat upload button to the editor from Admin Control Panel > Content > BB code button manager > Click to edit the toolbars

On the toolbar edit page, drag and drop the Chat upload icon from the top toolbar to the bottom one and save.


Ah, thank you. I never cared about enabling it before, but wanted to try it out to see if I could duplicate the problem. I'm glad to say it works for me. You do have to click on the image after uploading, though, to choose it, and then once it's checked you can insert or delete it. If you don't click the image first, you don't see any other options. Maybe this is what's creating the confusion for one or two other people here.

EDIT: After rereading a couple of those posts, I guess that was not the problem. Whatever. All I can say is that it works for me. (y)
 
Last edited:
TIP:

Hi, supplement for the "Button Solution";)
So that even with mobile phones the button is not broken is a "white-space: nowrap;" necessary.
Here again the complete code:

CSS:
/* chat-Button - Räume auswählen */
#siropuChatTabs a[data-target="room-list"] {
    color:red;
    border:1px solid red;
    background-color:#ffff99;
    border-radius:10px;
    padding: 3px 5px;
    white-space: nowrap;
}
#siropuChatTabs a[data-target="room-list"] i::before {
    color:#222222;
}

LG: Tammy
 

Attachments

  • TJB_Freitag, 16. August 2019_12h57m18s_006_.webp
    TJB_Freitag, 16. August 2019_12h57m18s_006_.webp
    36.4 KB · Views: 14
@Siropu

Looks like there's an incompatibility with TH Reactions addon.

Error: Call to a member function getProperty() on null in src/addons/ThemeHouse/ReactPlus/XF/Template/Templater.php at line 106
  1. ThemeHouse\ReactPlus\XF\Template\Templater->fnReactions()
  2. call_user_func_array() in src/XF/Template/Templater.php at line 936
  3. XF\Template\Templater->func() in src/XF/Template/Templater.php at line 906
  4. XF\Template\Templater->fn() in src/addons/Siropu/Chat/Service/Room/ActionLogger.php at line 28
  5. Siropu\Chat\Service\Room\ActionLogger->logMessageAction() insrc/addons/Siropu/Chat/Entity/Message.php at line 562
  6. Siropu\Chat\Entity\Message->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1208
  7. XF\Mvc\Entity\Entity->save() in src/XF/Reaction/AbstractHandler.php at line 107
  8. XF\Reaction\AbstractHandler->updateContentReactions() in src/XF/Repository/Reaction.php at line274
  9. XF\Repository\Reaction->rebuildContentReactionCache() in src/XF/Entity/ReactionContent.php at line198
  10. XF\Entity\ReactionContent->rebuildContentReactionCache() in src/XF/Entity/ReactionContent.php at line 140
  11. XF\Entity\ReactionContent->_postSave() insrc/addons/DBTech/Credits/XF/Entity/ReactionContent.php at line 63
  12. DBTech\Credits\XF\Entity\ReactionContent->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1208
  13. XF\Mvc\Entity\Entity->save() in src/XF/Repository/Reaction.php at line 189
  14. XF\Repository\Reaction->insertReaction() in src/XF/Repository/Reaction.php at line 142
  15. XF\Repository\Reaction->reactToContent() insrc/addons/ThemeHouse/ReactPlus/XF/Repository/Reaction.php at line 35
  16. ThemeHouse\ReactPlus\XF\Repository\Reaction->reactToContent() insrc/XF/ControllerPlugin/Reaction.php at line 65
  17. XF\ControllerPlugin\Reaction->actionToggleReaction() insrc/addons/ThemeHouse/ReactPlus/XF/ControllerPlugin/Reaction.php at line 50
  18. ThemeHouse\ReactPlus\XF\ControllerPlugin\Reaction->actionToggleReaction() insrc/XF/ControllerPlugin/Reaction.php at line 19
  19. XF\ControllerPlugin\Reaction->actionReact() in src/XF/ControllerPlugin/Reaction.php at line 12
  20. XF\ControllerPlugin\Reaction->actionReactSimple() insrc/addons/Siropu/Chat/Pub/Controller/Message.php at line 241
  21. Siropu\Chat\Pub\Controller\Message->actionReact() in src/XF/Mvc/Dispatcher.php at line 321
  22. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
  23. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
  24. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
  25. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2178
  26. XF\App->run() in src/XF.php at line 390
  27. XF::runApp() in index.php at line 20

Can you have a look as it means we can't use TH enhanced reactions with your addon.

Looks like @Lukas W. has already looked into this as per github issue below:
 
I have contacted them regarding the issue and haven't got a response.

Thanks.

Couple of issues, just got your addon.

As an admin user (member of only administrative group NOT registered) your addon defaults chat to all page positions (stuck to the bottom of the page). It seems that I'm unable to change this. I've set it to custom and am only showing it above nodes in widget options which works perfectly for non-admin users i.e. any other group but not for administrator.

Bigger issue I'm find in chrome at least is that when Chat is set to all page position (at bottom) chat tab bar does not maximize on click, it's stuck closed on forum list only. No console errors or anything. Going to any view other than forum list seems to fix this but it's weird and annoying.

A question, can users minimize the widget? Right now leaving rooms is not enough if I'm to keep the large widget front and center on my forum list. I prefer to give users the option to minimize it as much as possible so as to keep the forum clean for those not interested.

A suggestion, for all page position consider a floating action button with a counter instead of a bar as it's a lot less intrusive especially on mobile.

@Siropu
 
Last edited:
@Siropu

Another small bug, when a thread is linked to a chat room replies to that thread that go into the approval queue (moderated) are not respected and are directly shown on the chat page.
 
I've set it to custom and am only showing it above nodes in widget options which works perfectly for non-admin users i.e. any other group but not for administrator.
Probably due to the permission that allows you to change display mode from chat user settings.

A question, can users minimize the widget?
They have the option to hide it in their settings.

Bigger issue I'm find in chrome at least is that when Chat is set to all page position (at bottom) chat tab bar does not maximize on click, it's stuck closed on forum list only. No console errors or anything.
Depending on the changes you have made in the widget itself, you might have ended up with two chat instances on the same page.

A suggestion, for all page position consider a floating action button with a counter instead of a bar as it's a lot less intrusive especially on mobile.
The purpose of the bar is to display the last message. With some css changes you can make it how you want it.

when a thread is linked to a chat room replies to that thread that go into the approval queue (moderated) are not respected and are directly shown on the chat page.
Will look into it.
 
Probably due to the permission that allows you to change display mode from chat user settings.


They have the option to hide it in their settings.


Depending on the changes you have made in the widget itself, you might have ended up with two chat instances on the same page.


The purpose of the bar is to display the last message. With some css changes you can make it how you want it.


Will look into it.

Thanks for the tips. You're right I have 2 instances of my chat for my admin user. Registered users have one widget. So what did I mess up :)?
 
Select the default Chat positions in the widget and change display mode from the admin options to "Above forum list" if you want it to display above nodes.
 
Select the default Chat positions in the widget and change display mode from the admin options to "Above forum list" if you want it to display above nodes.

No you misunderstood, I have that already selected. I have 2 chat widgets showing up on my forum list for my admin user and one for regular registered users.
 
You said above that you have changed the positions in the widget and set Display mode to "Custom". If you set it to "Custom", then in widget options you only select one position. You do that only when you want to use a position that is not available by default in admin options under "Display mode".
 
You said above that you have changed the positions in the widget and set Display mode to "Custom". If you set it to "Custom", then in widget options you only select one position. You do that only when you want to use a position that is not available by default in admin options under "Display mode".

OK, I feel there's a small bug here. If I change display mode to Default on the Front End then it respects all custom (or default) widget positions. If I change display mode to anything BUT default it appears to create a duplicate chat session. At least for my admin user.
 
Another bug in Mobile view I cannot see or use Private conversations. I can type away but text is not shown nor can I invite anyone. Same issue with both Compact and Regular View from what I can tell.
 
Back
Top Bottom