• 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

Some parameters work, some don't?

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

Post a reply
3 posts • Page 1 of 1

Some parameters work, some don't?

Postby JayInPA » Fri Jan 11, 2013 10:51 pm

Hi,

For some reason, only some of my parameters seem to be working, and I can't figure out why. Here's the relevant section of my web page code:

Code: Select all
require_once dirname(__FILE__)."/phpchat/src/phpfreechat.class.php";
$params = array();
$params["title"] = "Habs Fan Summit";
$params["nick"] = "";
$params["clock"] = false;
$params["admins"] = array('JayInPA' => 'passwordredacted');
$params["timeoffset"] = "3600";
$params["shownotice"] = "7";
$params["height"] = "640";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = false;
$params["channels"] = array("Summit");
$chat = new phpFreeChat( $params );

I can /identify and my password will be accepted. However, it doesn't seem to be accepting the values of the TITLE, CLOCK, TIMEOFFSET, HEIGHT, or CHANNELS parameters.

Any ideas? Thanks to anyone who can help out.
JayInPA
New member
 
Posts: 5
Joined: Fri Jan 11, 2013 10:39 pm
Top

Re: Some parameters work, some don't?

Postby re*s.t.a.r.s.*2 » Sat Jan 12, 2013 1:02 am

Some parameters are cached, so you need to /rehash the chat room so it takes those parameter that aren't volatile in account.. admins parameter aren't cached that's why it worked without rehashing..

regards
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Re: Some parameters work, some don't?

Postby JayInPA » Sun Jan 13, 2013 7:20 pm

That did it! Thanks so much!
JayInPA
New member
 
Posts: 5
Joined: Fri Jan 11, 2013 10:39 pm
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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