Chat 2 by Siropu

Chat 2 by Siropu [Paid] 2.3.4

No permission to buy (€29.99)
how can i keep the typing even with long and short usernames in the chat.
Try the following. Go to siropu_chat_room_message_helper template and find:
Code:
<xf:else />
    {$richUsername}:
</xf:if>

Replace with:
Code:
<xf:else />
    <xf:set var="$repeatCount" value="{{ 10 - strlen($message.message_username) }}" />
    {$richUsername}: {{ $repeatCount > 0 ? repeat('.', $repeatCount) : '' }}
</xf:if>
 
Latest update shows variable names in the text entry box and on browser notifications. Also, the same message will give multiple browser notifications over a period of time.
191278
191279
 
Last edited:
I have made the changes but it doesn't look right, file attached.191284




This is how would like like it to look like below, you can see it has a wide empty gap between usernames and chat text, if i can get it like that would be awesome.
I have hidden names and links from the public eyes.



191289
 
Last edited:
Latest update shows variable names in the text entry box and on browser notifications. Also, the same message will give multiple browser notifications over a period of time.
See if there are any errors in the browser console. If so, go to Chat admin options and just hit save without changing anything.

I have made the changes but it doesn't look right, file attached.
You can try changing the 10 value in the code to 15 or more.
 
I have already done that set the 10 to 15 and all that did was make an extra 5 dots ..... and I really don’t won’t any dots because it looks really unusual.
is there anything else we can try?
 
After:
XFiLeS: ......................Hi and welcome to movideon
SeanMcDonald:......Hi how are you xfiles
According to your post, I thought that is what you wanted. You can try replacing the this part of the code '.' with '&#xA0;' for an empty space but it won't look any better.
 
Sorry Siropu but i had to put the dots in because i left even spaces to show you, but when i posted the reply it put all the text together bunched up.
 
OK i replaced the code like this:
<xf:else />
<xf:set var="$repeatCount" value="{{ 10 - strlen($message.message_username) }}" />
{$richUsername}: {{ $repeatCount > 0 ? repeat('&#xA0;', $repeatCount) : '' }}
</xf:if>

it now shows like this:
XFiLeS: &#xA0;&#xA0;&#xA0;&#xA0; Hi just doing a chatbox test
XFiLeS: &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; Hi and welcome to movideon
tub tester: Hi mem i am doing the same thing you are lol
 
Try this instead:

Code:
<xf:else />
    <xf:set var="$repeatCount" value="{{ 10 - strlen($message.message_username) }}" />
    {$richUsername}: {{ $repeatCount > 0 ? repeat('&#xA0;', $repeatCount)|raw : '' }}
</xf:if>
 
Hi,
again the question:
Can I embed the chat (simply) as a shoutbox on the page, or is it just a separate page?
The shoutbox is too lean. People want to format, colored text, bold, italic etc and do not play with BB code.
I would like the chat - maybe 200px high - under the breadcrump or navigation.

LG: Tammy
 
Thanks, I just bought it.

Has anyone here in the forum already a German translation?
I'm going crazy with the description.
Copy - in google Translate - copy - rewrite - next phrase ... the 800x! Boahhhhh - I hate english! The language is SO FEARBY!

LG: Tammy
 
The chat is good. Thanks for the good work!

The German language file is almost finished. It still needs to be tested for suitability, something optimized by the language and meaning. I think it will be available from Monday or Wednesday. If you want to pre-order, you can write an Email to Administratorin@starker-turm.com (preferably please German!).
800 lines take some time. I've been on it every day for 14 hours. The fine work also needs so much time again.
It's not perfect, but working in German is well possible

LG: Tammy
 
Hi, the bot "spins" something;)
You can enter multiple answers. I saved 2 He should respond to Hello and Hi.
His answer is never random. Here's an example:








And no matter if I wait 5 minutes.
What will be the selection of the answer?

Also, the line for the bot name is not enough to format it with CSS. He formats - but cuts off the name;)

<span style="color:red;font-weight:bold;">www.starker-turm.com</span>

save to:

<span style="color:red;font-weight:bold;">www.star

Display:

www.star

and:

Archiv: How does this work?

option.siropuChatMessageContentReplacementCharacter

Message content replacement character
Replace message content characters with anything you want.

LG: Tammy
 
Last edited:
And there's no turning back from Top Chatters or archive to the chat.
if I click on all 6 options I have to click back in the browser 7x or reload the forum :(

And it is confusing for the users:
The help states: / command
But you also have to work with blank characters: / command (z.B. / whisper)

The variable {dice} is crazy: "1d6" .. or with option: "1d6 +6 --5".
or do I understand the 1d6 only in German not?

{user} rolls {dice} and gets {result}.
Tammy rolls 1d6 and gets 5
I can do that for 3 minutes - and only then comes another amount.

LG: Tammy
 
Last edited:
His answer is never random.
I don't know if that's bad luck or the code the picks them not working as expected on your site. Can you please show me the settings of that response?

Also, the line for the bot name is not enough to format it with CSS. He formats - but cuts off the name
There is a limit of 50 characters. I suggest using css classes in this case and style it in extra.less

<span class="botName">Bot Name</span>

CSS:
.botName
{
     color: red;
     font-weight: bold;
}

Or you can use this instead: <b style="color: red;">Bot name</b>

And it is confusing for the users:
The help states: / command
But you also have to work with blank characters: / command (z.B. / whisper)
The help page explains how to use them. In case you do something wrong, you will get an error with an explanation.

The variable {dice} is crazy
Working fine for me:
191507
Please note that the 1d6 part is optional for the default /roll command and if you want to configure the dice, you can do that from ACP > Chat > Commands > roll
 
Top Bottom