Loading...
 
Skip to main content

Features / Usability


Slider position in chat room problem

The chat room function is easy to set up and seems to do a good basic job. Once I had enough messages to fill the screen, though, the slider appeared and cut off about half of the active window, squeezing all the messages into a narrow column to the left.

Is there any way to reposition the slider so that the message window retains its original width (or close to it)?

Thanks in advance to those who put this chat functionality into Tiki.

Will

Are you using a 3-column theme? You might consider going to Admin-Features, then admin layout by section. When you get to chat, get rid of one of your side columns. That should free more space for the chat room.

> The chat room function is easy to set up and seems to do a good basic job. Once I had enough messages to fill the screen, though, the slider appeared and cut off about half of the active window, squeezing all the messages into a narrow column to the left.
>
> Is there any way to reposition the slider so that the message window retains its original width (or close to it)?
>
> Thanks in advance to those who put this chat functionality into Tiki.
>
> Will


> The chat room function is easy to set up and seems to do a good basic job. Once I had enough messages to fill the screen, though, the slider appeared and cut off about half of the active window, squeezing all the messages into a narrow column to the left.
>
> Is there any way to reposition the slider so that the message window retains its original width (or close to it)?
>
> Thanks in advance to those who put this chat functionality into Tiki.
>
> Will

I found the setting in the chatroom.tpl file: the width for the chatroom is set at 50% and when the scroll bar is set to "auto" it sits in the middle of the chat box. I reset the width to 100% and that fixed the problem.


Thanks TypeAI tried your suggestion. I am actually running a two column themeKubrick--and shutting down the sidebars didn't help. It's like the slider/scroller shows up when there are enough messages, and it cuts the text box in half. Before that, the text box is full width, no problem.

Any other thoughts?

> Any other thoughts?

Looks like the problem is caused by "iframe name='chatdata' width='50%'..." at about line 7 of tiki-chatroom.tpl. I guess this was specified with the thinking that the 50% was relative to the center column width, but it seems to be interpreted as the width of some narrower element. Anyway, I changed that to 100% in a test and the narrowing when the scrollbar appeared didn't happen. You can try that edit and see if it works for you. (After this edit,
I didn't check to see what happens when the chat window doesn't have enough text to cause the scrollbar.)

-- Gary