• 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

Screen Goes Blank

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

Post a reply
21 posts • Page 1 of 2 • 1, 2

Postby sbtrules » Wed Sep 13, 2006 9:19 am

First of all ia m new here so hi to all.....

and hats off for the admin.... great job !!

comming to my problem...

i had been using beta4 in arabic when i noticed taht the screen goes blank from time to time...... but when u release beta5 i was thinking that it might be fixed...but ...actually its still there...
certain characters cause this to happen....and speacially when they are in the channel name or nick name..... i didnt check but does the chat maintain the encodings for the channel/nick text ??


hope you shall sort this soon !...i know u did somthing similar for the chinese problem.... so i am quite confident..


Thanks alot in advance...
sbtrules
New member
 
Posts: 2
Joined: Wed Sep 13, 2006 9:13 am
Top

Postby phpfreechat » Wed Sep 13, 2006 10:07 am

This blank screen problem occurs only on IE6. It works well on Firefox.

I know that it is a blocking bug but I'm sorry I didn't found yet a solution.
I think it's related to font family but the change I made in lastest 1.0-beta5 didn't fix the problem (or maybe just for chinese characteres).

Currently I'm lost, this is a very hard bug :(
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby phpfreechat » Wed Sep 13, 2006 7:00 pm

Today, I passed 3 hours on this bug and I think I fixed the bug !

Try this patch :
Code: Select all
Modified: trunk/src/client/pfcgui.js
===================================================================
--- trunk/src/client/pfcgui.js  2006-09-13 07:09:16 UTC (rev 759)
+++ trunk/src/client/pfcgui.js  2006-09-13 17:58:11 UTC (rev 760)
@@ -256,10 +256,14 @@
    var div_online  = this.getOnlineContentFromTabId(tabid);
    div_content.appendChild(div_chat);
    div_content.appendChild(div_online);
-
+
    $('pfc_channels_list').appendChild(li_title);
    $('pfc_channels_content').appendChild(div_content);

+    // force the height of the chat/online zone in pixel in order fix blank screens on IE6
+    div_chat.style.height   = ($('pfc_channels_content').offsetHeight-1)+'px';
+    div_online.style.height = ($('pfc_channels_content').offsetHeight-1)+'px';
+
    return tabid;
  },


Modified: trunk/themes/default/style.css
===================================================================
--- trunk/themes/default/style.css      2006-09-13 07:09:16 UTC (rev 759)
+++ trunk/themes/default/style.css      2006-09-13 17:58:11 UTC (rev 760)
@@ -33,7 +33,6 @@
  background-color: #FFF;
  margin-top: 5px;
  height: 300px;
-  font-family: serif; /* needed by IE6 in order to display correctly chinese characteres */
 }
 div.pfc_content {
 }
@@ -90,7 +89,8 @@
  top: 0;
  left: 0;
  width: 80%;
-  height: 100%;
+/* WARNING: do not fix height in % because it will display blank screens on IE6 */
+/*  height: 100%;*/
  overflow: auto;
 }

@@ -101,7 +101,8 @@
  padding: 0;
  overflow: auto;
  width: 20%;
-  height: 100%;
+/* WARNING: do not fix height in % because it will display blank screens on IE6 */
+/*  height: 100%;*/
  color: #000; /* colors can be overriden by js nickname colorization */
  background-color: #FFF;
  background-image: url("proxy.php?p=default/images/online-separator.gif");
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Thu Sep 14, 2006 9:27 pm

Kerphi,

I'm also having the same problem with the screen going blank in IE.

I recently reinstalled the latest version of phpfreechta and got it looking the way we like.

WE LOVE THIS CHAT CLIENT!!! But the IE screenblanking problem is so troublesome to so many of our members that we can't use it.

It sounds like you've figured out how to correct the bug, but I don't understand what I should do to implement this fix (I'm not a programmer).

Can you please tell me in a bit more literal/plain English terms how to implement this fix?

Thank you in advance!
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby phpfreechat » Thu Sep 14, 2006 10:12 pm

if you are not a programmer, it's simplier for you to wait for next 1.0-beta6 release (this weekend I hope.)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Thu Sep 14, 2006 11:43 pm

Oh dear, I fear I will have a nervous breakdown if I have to reinstall this chatware again! <g> Plus, we really would prefer not to wait.

We'd like to just use the one we have--are you sure you can't help me get this fix installed?

That code you listed above... is that something I can just copy and paste in one of the files? Could you possibly walk me through that?

Pretty please!!!
Last edited by gritty on Fri Sep 15, 2006 12:46 am, edited 1 time in total.
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby gritty » Tue Sep 19, 2006 3:22 am

Has the latest fix been updated yet?

Please, can someone help me get my chatroom fixed?!

Kerphi, are you there?
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby phpfreechat » Tue Sep 19, 2006 7:29 am

Yes, I repeat my advice : please wait for next release (the delay is one week) it will fix blank screens.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Sat Sep 23, 2006 5:37 pm

Hi, Stéphane,

I see that the new release is out and I've downloaded it. I'm very excited!

However, I'm not sure how to install it without messing up the look of my chat room. I spent MANY, MANY hours tediously getting it to look the way we want and I do not want to mess that up.

Can you tell me how to best do this?
Last edited by gritty on Sat Sep 23, 2006 5:38 pm, edited 1 time in total.
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby phpfreechat » Sat Sep 23, 2006 5:42 pm

did you create a customized theme ? if yes, just keep your theme directory and copy it in the new chat installation.
Take care and keep a backup of your old chat install ;)
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Sat Sep 23, 2006 5:44 pm

No, I didn't. I couldn't ever figure out how to do that and make it work. What I ended up doing is just customizing the default theme.
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby phpfreechat » Sat Sep 23, 2006 8:10 pm

this is a bit explained here : http://www.phpfreechat.net/customize.en.html
I will write more doc for the final release. As pfc 1.x is still beta, I prefere do not write doc that will change too much before final version.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Sat Sep 23, 2006 8:43 pm

Okay, I got it installed and I think I got that part figured out.

However, I can not figure out how to change where it says "My Chat." I have changed the title and got the param set up, but it will won't change.

Also, no matter what I do, the color of that text should be white, but it stays black.

This is driving me batty :)

Can someone tell me how to fix this? Thanks!
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Postby phpfreechat » Sat Sep 23, 2006 9:39 pm

rehash your chat when you change a parameter : http://www.phpfreechat.net/faq.en.html#rehash
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby gritty » Sat Sep 23, 2006 9:41 pm

Rehash? I don't know what that means.
gritty
Member
 
Posts: 50
Joined: Wed May 03, 2006 7:39 pm
Top

Next

Post a reply
21 posts • Page 1 of 2 • 1, 2

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 7 guests

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