• 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

phpBB integration: Disconnected users

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

Post a reply
3 posts • Page 1 of 1

Postby sabreofsd » Thu Feb 08, 2007 10:10 pm

Hello all,
I have PFC integrated into my forums through two separate frames. Basically, the screen is split horizontally with the top half being the forums and the bottom being PFC.

Everything works great except for one problem. When the user first approaches the website, I have the following code catch that they are not logged in:
Code: Select all
    $chatroom = $chat->printChat('true');
}
else
{
    $chatroom = "Please login to access the Chatroom and press F5.";
}

This instructs them to login and then hit F5, after which PFC grabs the username and assigns this to their nick. The problem I am having is when they logout of the forums. After about a second or two (presumably when PFC gets a XML response), I get a almost full screen JS error (It looks like it prints out the style sheet). I presume this is because there is no catch in PFC for when the nick or session in phpbb is dropped.

I've tried my best to come up with a way to check this, but nothing I've tried thus far seem to be working. Any idea's?

Thanks in advance!
Julian
--------------
Sabre
sabreofsd
New member
 
Posts: 5
Joined: Wed Nov 08, 2006 5:14 pm
Location: Washington, DC area
  • Website
Top

Postby sir fice » Fri Feb 16, 2007 12:13 am

i'm also having this same problem.. using different forum software, but having the same problem none the less..
sir fice
Member
 
Posts: 13
Joined: Wed Oct 18, 2006 8:06 pm
Top

Postby phpfreechat » Fri Feb 16, 2007 9:53 am

Maybe a solution is to tear apart the ajax calls script from the init script.
Have a look to the demo3.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

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