Hi,
I'm integrating with phpbb3, using code from another thread here and i have a problem with the phpbb3 integration.
I have thought clear the cache.
But something is still not working.
The problem is that chat is loading but it does not start...
What am I doing wrong?
Please help
Thank You!
-----------------------------
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '/home/esudok78/public_html/forum/'; // See phpbb_root_path documentation
$phpEx = substr(strrchr(__FILE__, '.'), 1); // Set the File extension for page-wide usage.
include($phpbb_root_path . 'common.' . $phpEx); // include the common.php file, this is important, especially for database connects.
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');
get_username_string ;
echo $user->data [username];
$oog = $user->data [username];
// redirect to phpBB logon page if the user is not logged in
if ($oog == "Anonymous")
{
header("Location: http://forum.e-sudoku.fr/ucp.php?mode=l ... ect=/chat/");
}
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array ( );
$params["title"] = "Chat E-sudoku";
$params["theme"] = msn ;
$params["nick"] = $user->data [username]; // setup the intitial nickname
$params["channels"] = array("Chat Principal");
$params['skip_proxies'] = array('noflood');
//$params["nick"] = iconv("ISO-8859-1", "UTF-8", $bdd_nickname); // setup the intitial nickname
//$params["isadmin"] = true; // do not use it on production servers
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["shownotice"] = 3 ; // 0 = nothing, 1 = just nickname changes, 2 = connect/quit, 3 = nick + connect/quit
$params["language"] = "fr_FR";
$params["frozen_nick"] = true;
$params["debug"] = true;
//$params [ 'proxies_cfg' ] [ 'no flood ' ] [ 'charlimit' ] = 50000
//$params [ 'proxies_cfg' ] [ 'no flood ' ] [ 'msglimit' ] = 9000
//$params [ 'proxies_cfg' ] [ 'no flood ' ] [ 'delay' ] = 60000
$chat = new phpFreeChat( $params );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
...