• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

[FIX] IE show/hide smiley box broken

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
14 posts • Page 1 of 1

Postby mkoch » Wed Mar 29, 2006 9:06 pm

Hi,

On IE the show/hide smiley box is broken. If you click hide, the user list disappears. Clicking show brings nothing (no smiley box, no user list) back.

Using very latest SVN trunk.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby phpfreechat » Wed Mar 29, 2006 9:55 pm

Really sure ???
could you try to clos/open your IE, and also clear the cache ?

I can't reproduce the bug on my IE ... do you have a public url to your chat installation ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby mkoch » Thu Mar 30, 2006 10:33 pm

Yes perfectly sure.

I'm using this width/height of the chat:

$params["height"] = "220px";
$params["width"] = "555px";

And these CSS values for the boxes:

div#<?php echo $prefix; ?>smileys {
position: absolute;
bottom: 0;
right: 0;
padding: 0;
width: 20%;
height: 20%;
overflow: auto;
text-align: center;
border: 1px dotted black;
background-color: #fff;
}

div#<?php echo $prefix; ?>online {
position: absolute;
right: 0;
top: 0;
padding: 0;
overflow: auto;
border: black dotted 1px;
color: #000;
background-color: #fff;
width: 20%;
height: 77%;
}

Notice only the height changed of the boxes.

Perhaps the above width/height and CSS changes has to do with it not working.

My other index settings are as follows:

require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["serverid"] = md5(__FILE__);
$params["channel"] = iconv("ISO-8859-1", "UTF-8", $_GET['channel']);
$params["title"] = "OPI chat";
$params["nick"] = iconv("ISO-8859-1", "UTF-8", $_GET['nick']);
$params["frozen_nick"] = true;
$params["height"] = "220px";
$params["width"] = "555px";
$params["btn_sh_whosonline"] = false;
$params["btn_sh_smileys"] = true;
$params["max_msg"] = 0;
$params["data_private_path"] = "/dara/data/opi/phpfreechat_private_data";
$chat = new phpFreeChat( $params );

And I did clear the IE cache.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby Eminos » Thu Mar 30, 2006 11:14 pm

Yes, I have the same problem, but kerphi knew this already ;)
..the same problem applies then I connect/disconnect ..

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby Nemako » Fri Mar 31, 2006 8:52 am

Could you give an url to see it please ?
Thanks !
Nemako
Nemako
Member
 
Posts: 44
Joined: Fri Feb 10, 2006 1:52 pm
  • Website
Top

Postby phpfreechat » Fri Mar 31, 2006 9:12 am

Ok this strange IE bug take too much time to me for debuging.
But I found a workeround :
1. Do not use width parameter.
2. Add a <div> around the printChat like that :
Code: Select all
  <div style="width: 800px;">
    <?php $chat->printChat(); ?>
  </div>

3. Close/open your browser in order to clear the cached config in sessions.

Does it works ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Fri Mar 31, 2006 1:49 pm

Didn't work for me :( .. I even cleared the IE cashe ..

http://www.bihinternet.com
(this workaround is not applied though 'coz it didn't work)

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Fri Mar 31, 2006 1:58 pm

Can you copy this page and apply the workeround to it ?
(Don't forget to remove the width parameter into your parameters list.)

Then give me the url of this page.
Give me also the source code of your page.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Fri Mar 31, 2006 2:07 pm

Here is the page:
http://www.bihinternet.com/index2.php

Code: Select all
<?php

require_once dirname(__FILE__)."/chat/src/phpfreechatconfig.class.php";
$params["serverid"]           = md5(__FILE__); // calculate a unique id for this chat

$params["channel"]   = "bihinternet";

$params["language"] = "ba_BA";

$params["theme"]         = "bihinternet";

$ip = $_SERVER['REMOTE_ADDR'];
$params["nick"]               = $ip;
$params["prefix"]         = "myprefix_";
$params["frozen_nick"]    = false;     // do not allow to change the nickname
$params["shownotice"]     = 1;        // 0 = nothing, 1 = just nickname changes, 2 = 1+connect/quit
$params["max_nick_len"]   = 20;       // nickname length could not be longer than 10 caracteres
$params["max_text_len"]   = 200;      // a message cannot be longer than 50 caracteres
$params["refresh_delay"]  = 5000;     // chat refresh speed is 10 secondes (10000ms)
$params["timeout"]      = 60000;
$params["max_msg"]        = 13;       // max message in the history is 15 (message seen when reloading the chat)
$params["height"]         = "230px";  // height of chat area is 230px
$params["width"]          = "";  // width of chat area is 800px
$params["debug"]          = false;     // activate debug console
$params["debugxajax"]     = false;     // activate xajax debug (js popup)
$params["connect_at_startup"] = true;
$params["start_minimized"]    = false;
$params["nickmarker"]     = true;
$params["clock"]          = false;
$params["openlinknewwindow"] = true;
$params["btn_sh_whosonline"] = true;
$params["btn_sh_smileys"] = true;

// setup paths
$params["container_type"]         = "File";

$params["data_private_path"]   = dirname(__FILE__)."/chat/data/private";

$params["server_script_path"] = dirname(__FILE__)."/chat_server.php";

?>

Code: Select all
<?php

require_once dirname(__FILE__)."/chat/src/phpfreechat.class.php";
require_once "chat_config.php";
$chat = new phpFreeChat( $params );

?>



<?php
          
$order = $_GET['order'];
if ($order == "bitrate") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Bitrate DESC";
} elseif ($order == "location") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Location";
} elseif ($order == "maxusers") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.MaxUsers DESC";
} elseif ($order == "player") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Player";
} elseif ($order == "rate") {
$hamta = "SELECT s.*, ROUND(AVG(r.Rate), 2) as 'n' FROM Station s LEFT JOIN Rates r ON s.StationId = r.StationID GROUP BY s.StationId ORDER BY n DESC";
} else {
$hamta = "SELECT s.*, SUM(UNIX_TIMESTAMP(ss.End)-UNIX_TIMESTAMP(ss.Start)) AS 'listened', ROUND(AVG(r.Rate), 2) as 'n' FROM (Station s LEFT JOIN Statistics ss ON s.StationId = ss.StationId) LEFT JOIN Rates r ON ss.StationId = r.StationID GROUP BY s.StationId ORDER BY s.Name";
}
          
$resultat = mysql_query($hamta) or die("Det gick inte att hämta information från databasen!");
?>

<?php
function secs_to_string ($secs, $long=false)
{
  // reset hours, mins, and secs we'll be using
  $days = 0;
  $hours = 0;
  $mins = 0;
  $secs = intval ($secs);
  $t = array(); // hold all 3 time periods to return as string
   
  // take care of mins and left-over secs
  if ($secs >= 60) {
    $mins += (int) floor ($secs / 60);
    $secs = (int) $secs % 60;
         
    // now handle hours and left-over mins     
    if ($mins >= 60) {
      $hours += (int) floor ($mins / 60);
      $mins = (int) $mins % 60;

       // now handle days and left-over hours 
       if ($hours >= 24) {
            $days += (int) floor ($hours / 24);
            $hours = (int) $hours % 24;

    // we're done! now save time periods into our array
    $t['days'] = (intval($days) < 10) ? "0" . $days : $days;
    $t['hours'] = (intval($hours) < 10) ? "0" . $hours : $hours;
    $t['mins'] = (intval($mins) < 10) ? "0" . $mins : $mins;

$days2 = (intval($days) < 10) ? "0" . $days : $days;
$hours2 = (intval($hours) < 10) ? "0" . $hours : $hours;
$mins2 = (intval($mins) < 10) ? "0" . $mins : $mins;
   }
    }
  }

  // what's the final amount of secs?
  $t['secs'] = (intval ($secs) < 10) ? "0" . $secs : $secs;
   
  // decide how we should name hours, mins, sec
  $str_days = ($long) ? "day" : "day";
  $str_hours = ($long) ? "hour" : "hour";
  $str_mins = ($long) ? "minute" : "min";
  $str_secs = ($long) ? "second" : "sec";

  // build the pretty time string in an ugly way
  $time_string = "";
  $time_string .= ($t['hours']) ? $t['hours'] . " $str_hours" . ((intval($t['hours']) == 1) ? "" : "s") : "";
  $time_string .= ($t['mins']) ? (($t['hours']) ? ", " : "") : "";
  $time_string .= ($t['mins']) ? $t['mins'] . " $str_mins" . ((intval($t['mins']) == 1) ? "" : "s") : "";
  $time_string .= ($t['hours'] || $t['mins']) ? (($t['secs'] >= 0) ? ", " : "") : "";
  $time_string .= ($t['secs']) ? $t['secs'] . " $str_secs" . ((intval($t['secs']) == 1) ? "" : "s") : ""; 

  return empty($time_string) ? 0 : $time_string;
}

function secs_to_string_compact ($secs)
{

  $str = secs_to_string ($secs);
   

  if (!$str) return 0;
     
    $day_pos = strpos ($str, "day");
    $hour_pos = strpos ($str, "hour");
    $min_pos = strpos ($str, "min");
    $sec_pos = strpos ($str, "sec");
     
    $d = ($day_pos) ? intval (substr ($str, 0, $day_pos)) : 0;
    $h = ($hour_pos) ? intval (substr ($str, $hour_pos - 3, $hour_pos)) : 0;
    $m = ($min_pos) ? intval (substr ($str, $min_pos - 3, $min_pos)) : 0;
    $s = ($sec_pos) ? intval (substr ($str, $sec_pos - 3, $sec_pos)) : 0;
     
    $d = ($d < 10) ? "0" . $d : $d;
    $h = ($h < 10) ? "0" . $h : $h;
    $m = ($m < 10) ? "0" . $m : $m;
    $s = ($s < 10) ? "0" . $s : $s;
     
    //return ("$d dana $h:$m");
    return ("$days d $hours s $mins m $secs s");
}

?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

  <head>

   <meta http-equiv="Content-Type" content="text/html;charset=windows-1250"/>


      <title>BiH Internet Radio</title>
<link rev="made" href="mailto:none@none.com"/>
<meta name="keywords" content="bosna, hercogovina, hercegovacke, radio, internet, bosanski, bosanske, stainca, stanice, bh, bh radio internet stanice, bh1, bm, brcko, dobre vibracije, federacije bih, feral, kalman, kameleon, m, naba, q, slon, tnt, bih, direktan, prenos, direktan prenos, direktno, uzivo, utakmice, utakmica"/>
<meta name="description" content="Portal BiH Internet Radio je web stranica na kojoj se se mogu naci bosansko hercegovacke internet radio stanice. To su vecinom stanice što se prvenstveno slušaju lokalno (i šire) u gradovima BiH, ali se mogu slušati direktno i preko interneta. Jedan dio radio stanica na ovom portalu su stanice sto se samo prenose preko interneta.
Radio se direktno moze slušati sa portala, samo kliknite na ime stanice i on ce poceti da svira."/>
<meta name="author" content="None"/>
<meta name="robots" content="all"/>

<script language="javascript" type="text/javascript">
<!--

// Funktion att öppna nytt fönster

function popup(url,name,scr,wid,hei,pol,pot) {
window.open(url,name, "status=0, scrollbars="+scr+",width="+wid+",height="+hei+",left="+pol+",top="+pot+"");
}


// AJAX

// to come ...


//-->
</script>

    <?php $chat->printJavascript(); ?>
    <?php $chat->printStyle(); ?>



<!--
INCLUDE CSS!
-->
<link rel="stylesheet" type="text/css" href="default.css" title="TOCStyle"/>

</head>
   
<body class="body">

<div class="pagecontainer">





<br />

<div class="header">
BiH Internet Radio
</div>


<table width="800" border="1">
<tr class="tablemenu">
       <td>
      
       <a class="toplinks" href="index.php">Početna</a>
       |
      <a class="toplinks" href="#chat">Chat</a>
       |
      <a class="toplinks" href="javascript:popup('addstation.php','addstation',1,300,600,300,200);">Dodaj Stanicu</a>
       | 
      <a class="toplinks" href="javascript:popup('help.php','help',0,640,220,300,200);">Pomoć</a>
       <!-- | 
      <a class="toplinks" href="javascript:popup('chat/chat.php','chat',0,650,550,300,200);">Chat</a> -->
       |
      <a class="toplinks" href="javascript:popup('statistics.php','statistics',0,640,220,300,200);">Statistika</a>
       |
      <a class="toplinks" href="javascript:popup('about.php','about',0,640,220,300,200);">O Nama</a>
       |

</td>
</tr>

<tr><td>

 <table border="1">
 
 <tr class="tablecounters">
        <td width="266"> </td>
        <td width="266"><center><b>25/3 2006<br />Chat stavljen na dnu stranice!</b></center></td>
        <td width="266">
      <?php
include("config.php");
$get = mysql_fetch_array(mysql_query("SELECT * FROM pavsta_stats WHERE id = '1'"));
$get2 = mysql_fetch_array(mysql_query("SELECT * FROM pavsta_stats WHERE id = '2'"));
$getsql = mysql_query("SELECT * FROM pavsta_stats_log WHERE ip = '$REMOTE_ADDR'");
$getip = mysql_num_rows($getsql);
if($getip==0)
{
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '1'");
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '2'");
mysql_query("INSERT INTO pavsta_stats_log (ip) VALUES ("$REMOTE_ADDR")");
$totalhits = $get[number] + 1;
$totalu = $get2[number] + 1;print("
Broj Posjeta: $totalhits
<br />Broj Posjetilaca: $totalu
");
}
elseif($getip>=1)
{
mysql_query("UPDATE pavsta_stats SET number=number + '1' WHERE id = '1'");
$totalhits = $get[number] + 1;
print("
Broj Posjeta: $totalhits
<br />Broj Posjetilaca: $get2[number]
");
}

print("<br />Broj trenutnih korisnika: ");
include("onlinesql.php");
?>

      </td>
 </tr>
 </table>


</td></tr>

<tr class="tableregular">
<td>
      
<center>Pošto je ova stranica još uvijek u fazi izgradnje, informacije kao "maximalno slušalaca" i nove radio stanice (može i "privatni" internet radio kao DC hub radio) su dobro došle. Pošaljite mi sve što znate na <a class="menu" href="mailto:none@none.com">none@none.com</a>. Ako znate neku bosansko hercegovačku stanicu što nije ovdje u listi, kliknite na "Dodaj Stanicu". Hvala u naprijed.</center>

</td>
</tr>

</table>



<br />   


      
<table width="800" border="1">

<tr>
       <td>
      
      <?php
      
      
           print("<table border="0">");
           print("<tr class="tablemenu">");
          
           if ($order == "") {
           print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Stanica</u></td>");
           } else {
           print("<td width="100%"> <a href="index.php" class="menutable">Stanica</a> </td>");
           }
          
           if ($order == "location") {
           print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Lokacija</u></td>");
           } else {
           print("<td> <a href="index.php?order=location" class="menutable">Lokacija</a> </td>");
           }

           if ($order == "listened") {
           print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Vremena Slušano</u></td>");
           } else {
           print("<td> <a href="index.php?order=listened" class="menutable">Vremena Slušano</a> </td>");
           }
          
           //if ($order == "bitrate") {
           //print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Bitrate</u></td>");
           //} else {
           //print("<td> <a href="index.php?order=bitrate" class="menutable">Bitrate</a> </td>");
           //}
          
           //if ($order == "maxusers") {
           //print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Max. Slušalaca</u></td>");
           //} else {
                   //print("<td> <a href="index.php?order=maxusers" class="menutable">Max. Slušalaca</a> </td>");
                   //}
          
           // if ($order == "player") {
           // print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Player</u></td>");
           // } else {
           // print("<td> <a href="index.php?order=player" class="menutable">Player</a> </td>");
           // }
               
           if ($order == "rate") {
           print("<td width="100%"><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> <u>Prosjek Ocjena</u></td>");
           } else {
                   print("<td> <a href="index.php?order=rate" class="menutable">Prosjek Ocjena</a> </td>");
                   }
                     
              // print("<td> Comments </td>");
             
           print("<td> Informacije </td></tr>");
              // print("<td> Glasaj! </td></tr>");
          

           while($rad = mysql_fetch_array($resultat))
           {
          
              
               if($c == 1) {
              print("<tr class="row1"><td><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> ");
             
              if ($rad["Player"] == "wmp") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=wmp");
              print("','play");
              print($rad["StationId"]);
              print("',0,310,179,300,200);">");
             
              } elseif ($rad["Player"] == "real") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=real");
              print("','play");
              print($rad["StationId"]);
              print("',0,285,114,300,200);">");
             
              } elseif ($rad["Player"] == "winamp") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=winamp");
              print("','play");
              print($rad["StationId"]);
              print("',0,310,179,300,200);">");
              }
             
              $c = 2;
             
              } else {
              print("<tr class="row2"><td><img src="pil.gif" width="4" height="7" border="0" alt="arrow" /> ");
             
              if ($rad["Player"] == "wmp") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=wmp");
              print("','play");
              print($rad["StationId"]);
              print("',0,310,179,300,200);">");
             
              } elseif ($rad["Player"] == "real") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=real");
              print("','play");
              print($rad["StationId"]);
              print("',0,285,114,300,200);">");
             
              } elseif ($rad["Player"] == "winamp") {
              print("<a class="station" href="javascript:popup('play.php?id=");
              print($rad["StationId"]);
              print("&player=winamp");
              print("','play");
              print($rad["StationId"]);
              print("',0,310,125,300,200);">");
              }
             
              $c = 1;
              }
             
              print($rad["Name"]);
              print("</a>");
             
              print("</td><td>");
              print(" ".$rad['Location']." ");


              //print("</td><td>");

              //if ($rad["Bitrate"] == "0") {
              //print(" - ");
              //} else {
              //print(" ".$rad["Bitrate"]);
              //}
             
              //print("</td><td>");
             
              //if ($rad["MaxUsers"] == "0") {
              //print(" - ");
              //} else {
              //print(" ".$rad["MaxUsers"]);
              //}
             
              print("</td><td>");
             
             
              // if ($rad["Player"] == "wmp") {
              // print(" <img src="wmp.png" height="18" weight="18" alt="Windows Media Player" /> ");
              // } elseif ($rad["Player"] == "real") {
              // print(" <img src="real.png" height="18" weight="18" alt="Real Player" /> ");
              // } elseif ($rad["Player"] == "winamp") {
              // print(" <img src="winamp.png" height="18" weight="18" alt="Winamp" /> ");
              // }
             
              // print("</td><td>");

                 $pretty_string_short = secs_to_string_compact ($rad["listened"]);
              print(" ".$pretty_string_short." ");
              //print(" ".$rad["listened"]." ");


              print("</td><td>");

              if ($rad["n"] == "") {
              print(" - ");
              } else {
              print(" ".$rad["n"]);
              }
            
              // print("</td><td>");
              // print("<a class="readcomments" href="javascript:popup('comments.php?id=");
              // print($rad["StationId"]);
              // print("','readcomments',1,500,400,300,200);");
              // print("">Read Comments</a>");
              // print("<br>");
              // print(" 0 ");
              // print("<a class="writecomment" href="javascript:popup('addcomment.php?id=");
              // print($rad["StationId"]);
              // print("','writecomment',1,500,400,300,200);");
              // print("">Write Comment</a>");
              print("</td><td>");
               
              print("<center> <a href="javascript:popup('info.php?id=");
              print($rad["StationId"]);
              print("','info',1,470,250,300,200);");
              print(""><img src="info.png" width="18" height="18" border="0" alt="info");
              print($rad["Name"]);
              print("" /></a> </center>");
             
              // print("</td><td>");
              // print(" <a class="vote" href="javascript:popup('voter.php?id=");
              // print($rad["StationId"]);
              // print("','vote',0,215,80,300,200);");
              // print("">Glasaj!</a> ");
              print("</td></tr>");
           }
          
           mysql_free_result($resultat);
           ?>
          </table>
      
      </td>
</tr>
</table>




<br />





<table width="800" border="1">
<tr class="tablemenu">
<td>
 <a id="chat"></a>Chat
</td>
</tr>
<tr class="tableregular">
<td>
<div style="width: 800px;">
<?php $chat->printChat(); ?>
</div>
</td>
</tr>
</table>














<br />
<table width="800" border="1">
<tr class="tablemenu">
       <td>
 Copyright 2006 None None. All rights reserved.

       </td>
</tr>
<tr class="tableversion">
       <td>
Verzija 0.6 [u izgradnji] 
   </td>
</tr>
</table>

<div class="validbottom">
<img src="valid-xhtml.png" alt="xhtml valid" />
 
<img src="valid-css.png" alt="css valid" />
</div>

<?php
mysql_close($connection);
?>



</div>
</body> 
</html>

Code: Select all
.body {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
background-image: url(bg.gif);
}
.pagecontainter {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
}
.header {
color: #fabb00;
width: 800px;
font-weight: bold;
font-size: 20pt;
font-family: Verdana;
text-align: left;
}
.row0 {
background: #00cefa;
color: black;
font-weight: 100;
font-size: 9pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.row1 {
background: #98d2f4;
color: black;
font-weight: 100;
font-size: 8pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.row2 {
background: #bbecf3;
color: black;
font-weight: 100;
font-size: 8pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.tablemenu {
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
background-image: url(meny_yellowbg.gif);
}
.tableregular {
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
background-image: url();
}
.tableversion {
color: black;                         /* text color */
font-weight: 100;
font-size: 7pt;
font-family: Verdana;
text-align: right;
background-image: url();
}
.tablecounters {
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: right;
background-image: url();
}
.validbottom {
text-align: center;
margin: 10px auto;
width: 800px;
color: black;
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
}
.ratemenu {
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: center;
background-image: url(meny_yellowbg.gif);
}
.ratediv1 {
display: inline;
text-align: center;
margin: 0px 0px;
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
}
.ratediv2 {
display: none;
text-align: center;
margin: 0px 0px;
color: black;                         /* text color */
font-weight: 100;
font-size: 10pt;
font-family: Verdana;
text-align: left;
}


a:link.toplinks    { color: black }    /* unvisited links */
a:visited.toplinks { color: black }   /* visited links   */
a:hover.toplinks   { color: #0a5868 } /* user hovers     */
a:active.toplinks  { color: #07868d }   /* active links    */

a:link.menu    { color: black }    /* unvisited links */
a:visited.menu { color: black }   /* visited links   */
a:hover.menu   { color: #0a5868 } /* user hovers     */
a:active.menu  { color: #07868d }   /* active links    */

a:link.readcomments    { color: black }    /* unvisited links */
a:visited.readcomments { color: black }   /* visited links   */
a:hover.readcomments   { color: #0a5868 } /* user hovers     */
a:active.readcomments  { color: #07868d }   /* active links    */

a:link.writecomment    { color: black }    /* unvisited links */
a:visited.writecomment { color: black }   /* visited links   */
a:hover.writecomment   { color: #0a5868 } /* user hovers     */
a:active.writecomment  { color: #07868d }   /* active links    */

a:link.vote    { color: black }    /* unvisited links */
a:visited.vote { color: black }   /* visited links   */
a:hover.vote   { color: #0a5868 } /* user hovers     */
a:active.vote  { color: #0a5868 }   /* active links    */

a:link.station    { color: black }    /* unvisited links */
a:visited.station { color: black }   /* visited links   */
a:hover.station   { color: #0a5868 } /* user hovers     */
a:active.station  { color: #07868d }   /* active links    */

a:link.menutable    { color: black ;text-decoration:none }    /* unvisited links */
a:visited.menutable { color: black ;text-decoration:none }   /* visited links   */
a:hover.menutable   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.menutable  { color: #07868d ;text-decoration:none }   /* active links    */

a:link.rate1    { color: red ;text-decoration:none }    /* unvisited links */
a:visited.rate1 { color: red ;text-decoration:none }   /* visited links   */
a:hover.rate1   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.rate1  { color: #07868d ;text-decoration:none }   /* active links    */

a:link.rate2    { color: orange ;text-decoration:none }    /* unvisited links */
a:visited.rate2 { color: orange ;text-decoration:none }   /* visited links   */
a:hover.rate2   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.rate2  { color: #07868d ;text-decoration:none }   /* active links    */

a:link.rate3    { color: yellow ;text-decoration:none }    /* unvisited links */
a:visited.rate3 { color: yellow ;text-decoration:none }   /* visited links   */
a:hover.rate3   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.rate3  { color: #07868d ;text-decoration:none }   /* active links    */

a:link.rate4    { color: #66CC99 ;text-decoration:none }    /* unvisited links */
a:visited.rate4 { color: #66CC99 ;text-decoration:none }   /* visited links   */
a:hover.rate4   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.rate4  { color: #07868d ;text-decoration:none }   /* active links    */

a:link.rate5    { color: #00BB00 ;text-decoration:none }    /* unvisited links */
a:visited.rate5 { color: #00BB00 ;text-decoration:none }   /* visited links   */
a:hover.rate5   { color: #0a5868 ;text-decoration:none } /* user hovers     */
a:active.rate5  { color: #07868d ;text-decoration:none }   /* active links    */

Code: Select all
div#<?php echo $prefix; ?>container * {
  border: 0;
  margin: 0;
  padding: 0;
}

div#<?php echo $prefix; ?>container {
  <?php if ($width!="") { ?>width: <?php echo $width; ?>;<?php } ?>
  border: black solid 0px;
  color: #338822;
  background-color: #d9edd8;
  background-image: url(<?php echo $c->getFileUrlFromTheme('images/bg.gif'); ?>);
  background-position: right;
  background-repeat: repeat;
  padding: 7px;
  min-height: 20px;
}

#<?php echo $prefix; ?>minmax {
cursor: pointer;
}

div#<?php echo $prefix; ?>content {
  <?php if ($height!="") { ?>height: <?php echo $height; ?>;<?php } ?>
  position: relative;
  margin-top: 1.5em;
  width: 100%;
}

div#<?php echo $prefix; ?>chat {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid black;
  overflow: auto;
  width: 79%;
  height: 100%;
  background-color: #FFF;
}

div#<?php echo $prefix; ?>smileys {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0;
  width: 20%;
  height: 58%;
  overflow: auto;
  text-align: center;
  border: 1px solid black;
  background-color: #FFF;
}

div#<?php echo $prefix; ?>online {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid black;
  color: #000;
  background-color: #FFF;
  width: 20%;
  height: 39%;
}
div#<?php echo $prefix; ?>online ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-left: 8px;
  margin-right: 8px;
  white-space: nowrap;
}
div#<?php echo $prefix; ?>online li {
  border-bottom: 1px solid #DDD;
  font-weight: bold;
  font-size: 90%;
}

h2#<?php echo $prefix; ?>title {
  display: none;
  float: left;
  font-size: 110%;
}

img#<?php echo $prefix; ?>minmax {
  display: none;
  float: right;
}

.<?php echo $prefix; ?>invisible {
  display: none;
}

div.<?php echo $prefix; ?>message {
  background-color: #FFF;
  margin: 0;
}
.<?php echo $prefix; ?>words {
  font-size: 90%;
}

div.<?php echo $prefix; ?>oldmsg {
  background-color: #FFF;
}

span.<?php echo $prefix; ?>heure, span.<?php echo $prefix; ?>date {
  color: #bebebe;
  font-size: 80%;
}

span.<?php echo $prefix; ?>nick {
  color: #fbac17;
  font-weight: bold;
}

div#<?php echo $prefix; ?>input_container {
  margin-top: 5px;
}
div<?php echo $prefix; ?>input_container table {
  width: 100%;
}

input#<?php echo $prefix; ?>words {
  border: black solid 1px;
  width: 100%;
  height: 1.3em;
}

div#<?php echo $prefix; ?>cmd_container {
  position: relative;
  margin-top: 5px;
  width: 100%;
}

input#<?php echo $prefix; ?>handle {
  border: black solid 1px;
  padding: 0 4px 0 4px;
  color: black;
  <?php if ($nick!="") { ?>background-color: #CCC;<?php } ?>
  text-align: center;
  margin-bottom: 5px;
}

a#<?php echo $prefix; ?>logo {
  position: absolute;
  right: 0;
  top: 0;
}

div.<?php echo $prefix; ?>btn {
  display: inline;
  cursor: pointer;
}
div.<?php echo $prefix; ?>btn img {
  border: 1px solid #393; /* same as container color */
  cursor: pointer;
}
div.<?php echo $prefix; ?>btn img:hover {
  border: 1px solid #000;
  background-color: #CCC;
  cursor: pointer;
}

p#<?php echo $prefix; ?>errors {
  display: none;
  margin-top: 5px;
  padding: 2px;
  height: 18px;

  border: black solid 1px;
  color: red;
  background-color: #FFF;
  text-align: center;
  font-style: italic;
  font-weight: bold;
}

/* commands */
.<?php echo $prefix; ?>cmd_msg {
  color: black;
}
.<?php echo $prefix; ?>cmd_me {
  font-style: italic;
  color: black;
}
.<?php echo $prefix; ?>cmd_notice {
  font-style: italic;
  color: #888;
}

div#<?php echo $prefix; ?>color {
  display:none;
}
Last edited by Eminos on Mon Oct 15, 2007 11:30 pm, edited 1 time in total.
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby phpfreechat » Fri Mar 31, 2006 2:38 pm

Thank you,
You are right the bug is here ...
Can you try to update index.php with this pre version :
http://www.phpfreechat.net/download/php ... re1.tar.gz
http://www.phpfreechat.net/download/php ... 1-pre1.zip
I think it could fix problems.

keep me informed.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby Eminos » Fri Mar 31, 2006 4:57 pm

I don't really know what you mean with "update index.php" but I've installed the 9.1-pre, and there is no difference. And besides that, the focus_on_connect parameter doesn't work ..

[EDIT]
Sorry, a cashe flush was needed for the focus_on_connect to work ..

/E
Last edited by Eminos on Fri Mar 31, 2006 5:26 pm, edited 1 time in total.
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby mkoch » Sun Apr 02, 2006 8:52 pm

Using latest SVN version show/hide smiley box works in IE.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby Eminos » Mon Apr 03, 2006 2:05 am

I don't know what you mean with "latest SVN version", I use the 9.1-pre and it DOES NOT work.

http://www.bihinternet.com/index2.php

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top

Postby Eminos » Mon Apr 03, 2006 9:05 pm

There seem to be a "major" bug these "hiding boxes" .. when I have a lot of users connected, like 10 or so, then the userbox is hidden already from start when I connect ..

/E
Eminos
Member
 
Posts: 61
Joined: Fri Mar 24, 2006 3:23 am
Top


Post a reply
14 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 11 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub