| Author |
Message |
sidd1066

Joined: Jun 20, 2008
Posts: 4
|
Posted:
Mon Jun 23, 2008 11:57 pm |
|
my live chat is working fine but i don't see the borders its just a one black window without borders in between separating the left chat side and the right username side
borders are visible when i pop it out
they are also visible when i change the theme to a light colored one
its at the bottom as center block http://missflowerzone.clanservers.com/phpnuke/index.php
it is also not showing the updating/idle line at the top with even the light theme
how to fix the borders ? they are of the same color as background color of my theme
i also want to know how to change background color
a variable named $bgcolor2 is used in the code but i am not able to track where it is initialized |
| |
|
|
 |
Guardian

Joined: Dec 09, 2006
Posts: 335
|
Posted:
Tue Jun 24, 2008 2:22 pm |
|
Tried to look at the site but it keeps timing out for me.
$bgcolor is set in your themes theme.php file |
_________________ Code Authors Nuke Reviews |
|
|
 |
xt-wax

Joined: Jun 15, 2008
Posts: 8
|
Posted:
Tue Jun 24, 2008 4:26 pm |
|
Open modules/Live_Chat/lib/class.chat.php
At or around line 149 find.
| Code: |
$chatBox .= '
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" style="width: 100%;">
<div id="scroll" style="border: 1px solid '.$bgcolor2.';position: relative; height: 260px; overflow: auto; padding: 2px; text-align: justify;"></div>
</td>
<td valign="top" style="width: 140px;">
<div id="online" style="margin-left: 2px; border: 1px solid '.$bgcolor2.';position: relative; width: 138px; height: 260px; overflow: auto; padding: 2px; text-align: justify;"></div>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<div style="border: 1px solid'.$bgcolor2.'; margin-top: 2px; padding: 4px;" align="center">
<div style="margin-bottom: 4px;">
Font Size: '.$size_select.'
Font Color: '.$color_select.'
|
You can change " 1px solid '.$bgcolor2.'; " to a larger number like 2 or 3. If that doesn't make it show up you can also change " 1px solid '.$bgcolor2.'; " to something like " 1px solid #0000FF; "
You want to do this for all three times to make the main chat and the other 2 windows match.
You can find color codes by googleing "HTML Color Code" |
_________________ www.RaveNuke.com (phpnuke themes, blocks, etc)
www.SquadOnline.com (FREE Squad or not web hosting)
www.xtsquad.com (My Squad Homepage) |
|
|
 |
xt-wax

Joined: Jun 15, 2008
Posts: 8
|
Posted:
Tue Jun 24, 2008 4:40 pm |
|
P.S. Just keep in mind that if you change the color setting, if your users are allowed to change their Themes... the color choice may not match the theme they choose.
You can open themes/YourTheme/style/style.css and change the color of " $bgcolor2 " to something different. Seems your theme has the background and border colors the same color. |
_________________ www.RaveNuke.com (phpnuke themes, blocks, etc)
www.SquadOnline.com (FREE Squad or not web hosting)
www.xtsquad.com (My Squad Homepage) |
|
|
 |
sidd1066

Joined: Jun 20, 2008
Posts: 4
|
Posted:
Thu Jun 26, 2008 4:24 pm |
|
thanks, i will try it  |
| |
|
|
 |
|
|