Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
sidd1066
Newbie
Newbie



Joined: Jun 20, 2008
Posts: 4

PostPosted: Tue Jun 24, 2008 2:57 pm Reply with quote

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 Confused

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
View user's profile Send private message
Guardian
Mr. Awesome



Joined: Dec 09, 2006
Posts: 234

PostPosted: Wed Jun 25, 2008 5:22 am Reply with quote

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
View user's profile Send private message
xt-wax
Newbie
Newbie



Joined: Jun 15, 2008
Posts: 8

PostPosted: Wed Jun 25, 2008 7:26 am Reply with quote

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)
View user's profile Send private message
xt-wax
Newbie
Newbie



Joined: Jun 15, 2008
Posts: 8

PostPosted: Wed Jun 25, 2008 7:40 am Reply with quote

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)
View user's profile Send private message
sidd1066
Newbie
Newbie



Joined: Jun 20, 2008
Posts: 4

PostPosted: Fri Jun 27, 2008 7:24 am Reply with quote

thanks, i will try it Very Happy
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT + 10 Hours
Forums ©