![]() |
nice work, thank you.
Do that work on vb 5.5? |
Quote:
|
Thanks for your answer Dave
|
In cyb_chatbox_bit template, change:
Code:
<td style="font-size:$cybcb_textsize"> Code:
<td style="font-size:$cybcb_textsize;color: #FFFFFF"> |
Valter and Cybernetec are the same person, the same coder. So the code is probably the same. The modification I suggested to you works under version 3.8.x that I am using. Check the content of the template again.
|
Hi,
I read several demands about how to change the default font color when typing a message, and didn't find any answer or else. Does anybody know how to change this ? We have a dark skin and the background of the entermessage is dark too, and when typing in black (which is the default font color)... nobody is able to read it. The very first color available in the drop-down menu is AntiqueWhite, which is... almost white :D so the problem seems to be elsewhere. Thank you for your answers ! :) |
Hope I get the right code lines.
First short look into code shows - default color is value of style var "body_color" (to change in admincp / manage style vars) and only if unset it is the first color value in the available color list of the mod. So if changing of option "Colors available in drop-down menu" shows no result change style var. And if that is not possible go to hook "VSa - ChatBox - IL" and edit the php code Change Code:
if (vB_Template_Runtime::fetchStyleVar('body_color')) Code:
$vsacb_color_acplist = explode(",",str_replace(" ","",$vbulletin->options['vsachatbox_textcolors'])); |
Why, thank you very much, Shka, the trick to modify the PHP file works perfectly ! :up:
|
Hi,
Since we recently activated the reverse display for the chatbox, we experimented the scroll bar problem that occurs when someone posts a message in the chatbox (which seems to be a good usage of the mod :D) or when the chatbox refreshes itself. So I asked some help to a friend of mine (his nickname is Elzen, many thanks to him !!!) who has some JavaScript knowledges, and he found that solution : 1) load the vsa_chatbox template. 2) find these lines : Code:
vsacb_MessagesDiv = fetch_object('vsacb_messagearea'); 3) replace them with those five : Code:
vsacb_MessagesDiv = fetch_object('vsacb_messagearea'); 4) in the same template, locate those lines : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> 5) replace them by those : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> 6) save and enjoy :) Bonus : if you use some smileys which are too big to fit in the chatbox lines, that can cause those lines to be shifted a bit (or more). Elzen also provided a solution : 7) find the three lines showed in 5) : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> 8) replace them with these : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> According to his demand, this patch is licensed under the WTFPL. |
I love this chatbox, the only thing I miss is sound when someone shouts.
Is that possible to do? |
All times are GMT. The time now is 12:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|