• 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

prob avec free

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

Post a reply
5 posts • Page 1 of 1

Postby cajl » Tue Nov 21, 2006 5:36 pm

bonsoir

je desespere que faire fonctionner ce super chat avec free

cajl.free.fr/phpchat/chat.php


dois je creer le rep sessions dans cajl.free.fr ou dans cajl.free.fr/phpchat ??

j'ai l'impression qu'a aucun endroit cela focntionne

merci
cajl
Member
 
Posts: 10
Joined: Thu Nov 16, 2006 8:26 pm
Top

Postby phpfreechat » Tue Nov 21, 2006 7:16 pm

l'url ne fonctionne pas...
en tout cas ton problème est peutetre semblable a celui la : http://www.phpfreechat.net/forum/viewtopic.php?id=847
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cajl » Tue Nov 21, 2006 8:12 pm

c'est repare pour le chat

http://cajl.free.fr/phpchat/chat.php

mais pas tres bien compris le lien

voici ma codification
__________________________________________________________________________________
<?php

require_once dirname(__FILE__)."/src/phpfreechat.class.php";

$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["language"] = "fr_FR"; // mettre en francais
$params["title"] = "ICI ON CAUSE";
$params["max_privmsg"] = 1;
$params["nickmeta"] = array("avatar" => "demo50_data/avatar".rand(1,10).".jpg");
$params["themepath"] = dirname(__FILE__)."/demo50_data";
$params["theme"] = "msn";
$params["quit_on_closedwindow"] = true;
$params["max_nick_len"] = 20; // nickname length could not be longer than 20 caracteres
$params["max_text_len"] = 50; // a message cannot be longer than 50 caracteres
$params["height"] = "500px"; // height of chat area is 500px
$params["width"] = "1000px"; // width of chat area is 1000px
$params["refresh_delay"] = 10000; // chat refresh speed is 10 secondes (10000ms)
$params['admins'] = array('cajl' => 'jlca', 'jlca' => 'cajl');
$params["max_msg"] = 5;
$params["shownotice"] = 3; // 0 = nothing, 1 = just nickname changes, 2 = connect/quit, 3 = nick + connect/quit
$chat = new phpFreeChat( $params );

?>
<!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=utf-8" />
<title>Mon CHAT à MOI</title>

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

</head>

<body>

<div style="text-align: center"><b><h3><a href="http://krysosforum.free.fr/forumkr" target="_blank"><img src="coffre.jpg" border="0" width="50" height="50" alt="le coffre" align="middle"> Pour retourner au FORUM</a></h3></b></div>
<?php $chat->printChat(); ?>


</body>
</html>
cajl
Member
 
Posts: 10
Joined: Thu Nov 16, 2006 8:26 pm
Top

Postby phpfreechat » Tue Nov 21, 2006 11:00 pm

Bein c'est le même problème que le lien que je t'ai donné plus haut. Pour résoudre le problème suffit de remplacer la ligne 78 dans le fichier src/pfccommand.class.php :
if (file_exists($cmd_filename)) require_once($cmd_filename);
par
if (@file_exists($cmd_filename)) require_once($cmd_filename);
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby cajl » Wed Nov 22, 2006 11:40 am

cela fonctionne merci
je m'attaque a l'integration dans phpbb
cajl
Member
 
Posts: 10
Joined: Thu Nov 16, 2006 8:26 pm
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 14 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