• 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

New users and reload

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

Post a reply
7 posts • Page 1 of 1

Postby SyncMaster72 » Thu May 17, 2007 9:13 pm

Hi,

first of all: This peace of software is great !!!!!
But:
new Users have to reload the chat after their initial start, because they are not automatically connected. After the Reload, everything is fine (connect and join to 4 default-Rooms)

I´m using Version 1beta10 with the mysql-container.

Does anybody else also have this problem?
What might be the cause ?

Best Regards
JC
SyncMaster72
New member
 
Posts: 6
Joined: Thu May 17, 2007 9:08 pm
Top

Postby SyncMaster72 » Tue May 22, 2007 2:43 pm

Nobody ?
SyncMaster72
New member
 
Posts: 6
Joined: Thu May 17, 2007 9:08 pm
Top

Postby phpfreechat » Tue May 22, 2007 5:35 pm

Could you test with the file container ? Is it the same behavior ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby SyncMaster72 » Fri Jun 01, 2007 3:46 pm

Didn´t see your reply, so now i tested with filecontainer and it behaves the same way.

Any other ideas ?
SyncMaster72
New member
 
Posts: 6
Joined: Thu May 17, 2007 9:08 pm
Top

Postby phpfreechat » Thu Jun 07, 2007 11:08 am

Humm are you able to reproduce the problem on the official demo room ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby SyncMaster72 » Thu Jun 07, 2007 4:55 pm

No. Here is my Startup-Script.
Is there something wrong with it ?
It includes some own authentication and a readonly-postfilter.
I allready tried it without filter and the same problem arises.

<?php
/* my auth thingy */
include ("basic_config.inc.php");
$minUserLevel=$ok_read_chat;
include ("auth2.php");
include ("chkuser.php");

require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["title"] = "LS-Chat";

$params["nick"] = $login;

if ($userLevel <= $ok_write_chat){
$params["nickmeta"] = array("avatar" => "/profil/picker.php?x=$ulogin&thumb=1","readonly" => true);
} else {
$params["nickmeta"] = array("avatar" => "/profil/picker.php?x=$ulogin&thumb=1","readonly" => false);
}
$params["nickmeta_private"] = array("IP","readonly");
$params["frozen_nick"] = true;

if ($userLevel >= $ul_admin){
$params["isadmin"] = true;
} else {
$params["isadmin"] = false;
}

$params["serverid"] = "My_Chat";
$params["refresh_delay"] = 2500; // chat refresh speed is 10 secondes (10000ms)
$params["language"] = "de_DE-informal";
$params["channels"] = array("Room1","Room2","Room3","Room4");
$params["theme"] = "My";
$params["nickmarker"] = false;
$params["height"] = "300px";

$params["skip_proxies"] = array("censor");
$params["post_proxies"] = array("readonly");
$params["proxies_path"] = dirname(__FILE__).'/proxies';

$params["container_type"] = "mysql";
$params["container_cfg_mysql_host"] = "dbserver"; // default value is "localhost"
$params["container_cfg_mysql_port"] = 3306; // default value is 3306
$params["container_cfg_mysql_database"] = "mychatdb"; // default value is "phpfreechat"
$params["container_cfg_mysql_table"] = "chat"; // default value is "phpfreechat"
$params["container_cfg_mysql_username"] = "dbuser"; // default value is "root"
$params["container_cfg_mysql_password"] = "dbpassword"; // default value is ""

$chat = new phpFreeChat( $params );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="/black.css" rel="stylesheet" type="text/css">


</head>
<body>

<div class="content">
<? //include("popup.profil.inc.php"); ?>

<?php $chat->printChat(); ?>
</div>
<?php
/* echo "<h2>Debug</h2>";
echo "<pre>";
$c =& pfcGlobalConfig::Instance();
print_r($c);
print_r($_SERVER);
echo "</pre>";*/
?>
<a href=clear.php>Clear</a>
</body></html>

Regards
SyncMaster72
SyncMaster72
New member
 
Posts: 6
Joined: Thu May 17, 2007 9:08 pm
Top

Postby phpfreechat » Thu Jun 07, 2007 6:21 pm

Does the chat works without your auth system on the same server ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
7 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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