• 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

$privmsg problems.

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

Post a reply
1 post • Page 1 of 1

Postby lsophiel » Mon Apr 23, 2007 2:56 pm

Hi all,

Thx for this so nice chat !

I have a little problem with the parameter :
var $privmsg = array();
// the joined private chat when opening the chat (the nicknames must be online)

I'm using SESSIONs and i want to open a new private window with the other person like MSN Messenger.
For this, i see the $privmsg parameter wich seems to be good for me.
But when i'm using it i have this error message :

"Can't join "pseudoname" because the channel list is restricted".

Here my parameters :

session_start();
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["title"] = "A simple chat with multiple/dynamic channels (rooms)";
$params["channels"] = array("room1");
$params["frozen_channels"] = array("room1", "room2");
$params["frozen_nick"] = true;
$params["nick"] = $_SESSION['pseudo'];
$params["privmsg"] = array($my_friend);
$params["theme_path"] = dirname(__FILE__)."/demo50_data";
$params["theme"] = "mytheme";

$chat = new phpFreeChat( $params );


Someone know how to resolve my problem? or there is an another solution to open a new dialog chat in private message like MSN Messenger?

(sorry for my bad english i'm french)

Thanks you :)
Sophie.
lsophiel
New member
 
Posts: 1
Joined: Mon Apr 23, 2007 2:47 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

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