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