• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Problem with phpbb3 integration

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

Post a reply
5 posts • Page 1 of 1

Postby vitalic » Sun Apr 19, 2009 3:36 am

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">
...
Last edited by vitalic on Sun Apr 19, 2009 11:38 am, edited 1 time in total.
vitalic
New member
 
Posts: 3
Joined: Sun Apr 19, 2009 3:06 am
Top

Postby OldWolf » Mon Apr 20, 2009 8:29 pm

Can I see a link to your website...?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby vitalic » Mon Apr 20, 2009 9:55 pm

Yes of course

http://forum.e-sudoku.fr/ucp.php?mode=l ... ect=/chat/

thank you for your help
vitalic
New member
 
Posts: 3
Joined: Sun Apr 19, 2009 3:06 am
Top

Postby OldWolf » Tue Apr 21, 2009 10:57 am

Not particularly helpful when it's in another language that I can't read. :P

Can you create a test account for me to use please?
Signature:
Read before Posting: Forum Rules
Note: I am unable to offer support through PM/e-mail at this time.
OldWolf
Site Admin
 
Posts: 1918
Joined: Sun Sep 23, 2007 5:48 am
Top

Postby vitalic » Tue Apr 21, 2009 6:41 pm

Yes of course,

@: http://forum.e-sudoku.fr/ucp.php?mode=l ... ect=/chat/

Login (Nom d’utilisateur): phpfreechat

password (Mot de passe): phpfreechat

Thx!
Last edited by vitalic on Tue Apr 21, 2009 6:44 pm, edited 1 time in total.
vitalic
New member
 
Posts: 3
Joined: Sun Apr 19, 2009 3:06 am
Top


Post a reply
5 posts • Page 1 of 1

Return to phpBB, Simple Machines Forum (SMF), and Forum Software (v1.x)

Who is online

Users browsing this forum: No registered users and 7 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub