• 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

PHPBB3 integration (again)

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

Post a reply
25 posts • Page 2 of 2 • 1, 2

Postby maxim » Tue Oct 18, 2011 5:54 pm

Hi,

that was quick :-)

I have no error loggings The only server logs i have is giving me non-information about what time events are carried out (none) . (QNAP TS 210). I scanned the wholelog for today and yesterday but no interesting messages.

The whole data folder is '777' (and the subfolders and files as well)

Image


and the current code is:

Code: Select all
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
require($phpbb_root_path . 'common.' . $phpEx);
$params = array();
require_once dirname(__FILE__) . "/src/phpfreechat.class.php";
$user->session_begin();
$auth->acl($user->data);
$user->setup();
//get_username_string();
$oog = $user->data ['username'];
if ($oog == "Anonymous")
    {
     header("Location: http://" . $_SERVER['SERVER_NAME'] ."/Foruma/ucp.php?mode=login&redirect=/Foruma/chat/");
    }
$params["debug"] = true;
$params["isadmin"] = false;
$params["title"] = "Quick chat";
$params["nick"] = $user->data['username_clean'];
$params["serverid"] = md5(__FILE__); // used to identify the chat
$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>phpFreeChat demo</title>
    </head>
    <body>
      <?php $chat->printChat(); ?>
    </body>
  </html>
Last edited by maxim on Tue Oct 18, 2011 5:56 pm, edited 1 time in total.
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby re*s.t.a.r.s.*2 » Tue Oct 18, 2011 11:04 pm

Hi,

I have tested the code that you provided, and it seems to work fine form me , now can you tell me what package you have as a server, that's not a unix system is it?

I have tested the script and chat in xampp php package, can you provide information about your environment?

please try to provide as much information and also try to download a fresh copy and try it...
the code so far its working correctly ..

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby maxim » Wed Oct 19, 2011 7:06 am

Thankx Restars2,

Good to hear that the code is ok. I almost went crazy abou it , youre confirmation is a relief.

I use a Qnap TS-210 system with embedded software.
I cant do a query on versions of the software, unfortunaltely. I had hoped for that because it would have given much more specification.

Anyway, below is all i puzzled out.

Operating System
• Embedded Linux
Supported Operating System
• Microsoft Windows 2000, XP, Vista (32/ 64 bit), Windows 7 (32/ 64 bit), Server 2003/ 2008
• Apple Mac OS X
• Linux & Unix
Supported Web Browsers
• Internet Explorer 7 & 8 or later
• Firefox 3 or later
• Safari 3 & 4 or later
• Google Chrome
Networking
• TCP/IP (IPv4 & IPv6: Dual Stack)
• Gigabit LAN with Jumbo Frame
• DHCP Client, DHCP Server
• Protocols: CIFS/SMB, AFP (3.2), NFS (v3), FTP, HTTP, HTTPS, Telnet, SSH, iSCSI and SNMP.
• Network Service Discovery (UPnP, Bonjour)
Web Server
• HTTP/ HTTPS Connections
• Supports WebDAV Connection
• Support Virtual Host
• Importable SSL Certificate
Database Server
• Built-in MySQL Server
Applications
• Web File Manager
• Multimedia Station
• Download Station
• Surveillance Station
• iTunes Server
• Apache Web Server
• MySQL Server



Restars2,
If you come to a point that supports stops (since the code is ok) pls say so.
I now understand that, since the code is ok, its the environment i use that might be doing something unexpected.

Maxim
Last edited by maxim on Wed Oct 19, 2011 7:35 am, edited 1 time in total.
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby re*s.t.a.r.s.*2 » Wed Oct 19, 2011 1:38 pm

Hi,

try to download a copy of lite xampp , its very light and might help you to check if is your package the culprit of this behavior..

please inform us if that is so..

best regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby maxim » Thu Oct 20, 2011 7:38 am

Hi ,

Since Linux is embedded on my Qnap system is not that easy to reach the linux prompt.
I figured out that it is possible but it will take some time for me to figure out how exactly.

So, i will come back later, give me some days.

Regards,
maxim
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby maxim » Tue Oct 25, 2011 6:58 pm

Few days further.....

I am not able to install xampp. In a way my embedded system blocks some commands.
tried several metods but not bringing me anywhere.

I think its the end of the road.
I would like to thank OldWolf and you Re*stars*2 for all te help and time spend on me and this topic.
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby re*s.t.a.r.s.*2 » Tue Oct 25, 2011 8:34 pm

hi,

I am sad to hear that you wont use this great chat script... hope you find a better alternative..


best wishes fellow.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby maxim » Fri Oct 28, 2011 7:01 pm

Its a pitty,


I choosed this one because it use a small footprint and give all the functionality i need.

Its not that i am not using it by choice. Its more that my Qnap server wont cooperate in an easy way ( i dont know anything about coding)
In my search to found out how to resolve this i walked into the same problem with coppermine photo galery. Coppermine also supports a login through one's forum.
But after i log in, it ends up the same way as pfc.
So its not the chat. :-)

My chat choice was right!
Last edited by maxim on Fri Oct 28, 2011 7:02 pm, edited 1 time in total.
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby maxim » Sat Oct 29, 2011 2:09 pm

Ha !

I thought, if it is the Qnap server that is blocking, and oldwolf and you declared the script ok, why not test it against a forum at a hosting service provider.

Ques what??

It runs like a train !!!

(Obviously i had to do a tiny change in the if ($oog == "Anonymous") statement with the proper values for the new environment.)

Thanks !
maxim
Member
 
Posts: 13
Joined: Wed Oct 12, 2011 7:13 pm
Top

Postby re*s.t.a.r.s.*2 » Sat Oct 29, 2011 3:48 pm

Hi,

I am glad you find out the issue good for you..

best regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Previous

Post a reply
25 posts • Page 2 of 2 • 1, 2

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

Who is online

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