• 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

$params[\"height\"] doesn\'t work

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

Post a reply
5 posts • Page 1 of 1

Postby newbigmir » Fri Oct 19, 2007 2:28 am

$params["height"] ="800";
and
$params["height"] ="800px";

doesn't work at all, what to do?
newbigmir
New member
 
Posts: 4
Joined: Fri Oct 19, 2007 2:26 am
Top

Postby OldWolf » Fri Oct 19, 2007 5:08 am

Did you rehash the chat after setting the parameter?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby ninjaw » Sat Oct 20, 2007 11:01 pm

same here, width never worked also
ninjaw
Member
 
Posts: 49
Joined: Thu Oct 04, 2007 10:40 pm
Top

Postby OldWolf » Sun Oct 21, 2007 7:20 am

Width is no longer a parameter.
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby Look » Sat Jan 19, 2008 8:35 pm

Ok, I searched the code and it seems that the height-parameter doesn't really matter at all.
To change this, put the following lines in pfcglobalconfig.class.php in function pfcGlobalConfig( $params = array() )

// setup height
if ((isset($params["height"]))&&($params["height"]>0) )
$this->height = $params["height"];

This should do the trick and the height parameter should be considered by the program again.

Anyway demo2_simple_with_params.php is really a joke:

1) The height-parameter is not considered. (Fix: Apply the patch above!)
2) The width-parameter is no parameter in version 1 (Fix: Remove the parameter. If you need a certain width, wrap the Container in a DIV)
3) The debug-option is set, but version 1 has no debug folder with the necessary files. (Fix: Take the debug-folder from version 0.93)

(I'm no php-programmer, but it works for me now.)

Somebody should either fix or remove this demo. It's really annoying if even the demos don't work.

Ah, and there's still a dead link on the "Required configuration"-page in the last line.

Look
Look
New member
 
Posts: 4
Joined: Fri Jan 04, 2008 12:57 am
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 20 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