Excuse for my English I advise to add in file default.php following parameter
$params['time_offset'] = 60*60*3; // offset in seconds
Where number 3 is a displacement of time on a server For example in Russia and me local time rather than across Greenwich is convenient to display my site
I installed PFC and setup the configuration, but I don't see anything when I try to view my PFC chat. Can you take a look at it and tell me what you think is wrong?
First, sorry for my english. I have the same problem with the message "You must be connected to send a message" like Jayx. What can i do? Has anyone an idea?
2point3turbo: You can find the chat at http://yoursite.com/path/to/vanilla/extension.php?PostBackAction=PFC
Everyone else, I know it doesn't always come up right away. I did identify one problem that is a bug in phpFreeChat:
When phpFreeChat first starts, it loads some images from ImageShack. This is a deeply retarded idea, because the chat itself won't actually start until those images finish loading. If ImageShack is down or busy, you will have to wait for the image load to time out before your chat actually starts. Why the images aren't part of the package completely blows my mind, but there you go.
The same goes for the "phpFreeChat" logo that you have to display in order to use phpFreeChat without buying a license. Let's not store that 5 kB PNG file locally, no! Let's download it from phpfreechat.net instead, even though it's disabled more often than Ken Griffey, Jr.
There's a new 1.1 version of phpFreeChat. I'll roll that into the package along with some other fixes and we'll see if the next version of PFC can solve these problems.
And with this, I announce my intention to abandon PFC.
I simply don't use it anymore (my users never really cared for it, ha). It would be better if PFC were maintained by someone who uses it, ideally someone familiar with the phpFreeChat code. I have built the extension to what I feel is a "finished" state. If nobody else picks it up, I will continue to update it whenever I get a chance but it won't be a priority for me.
All of the code is checked into the Vanilla Friends repository and licensed LGPL. It should be no trouble for someone else to jump in.
You don't have to speak up right now. Wait until there's a new release of phpFreeChat or some new feature you want to add, make the changes yourself and then contact me about transferring the extension to your name.
What browser are you using? Some weird issue with a new browser is all I can think of. If it's getting logged then the chat is getting to the server, obviously. I'll take a look at it.
This is why I need to hand off PFC to someone who actually uses it. Way too much work to fix problems like this from a standing start.
Worked fine two months ago, doesn't work now. During that time I've upgraded to Firefox 3.0, but I think there's also been at least one patch to Apache so I couldn't immediately say which is the problem.
Nothing about this on the phpFreeChat forums. That doesn't exactly surprise me; there's not much of anything useful on those forums.
I guess the next step is to try a standalone clean install of phpFreeChat. Don't have time for that now, stay tuned.
hi i just installed the PFC addon but i was having problem with the logging in... i just updated the phpfreechat1.1 to 1.2 ... just open the 1.1 and copy the same folders from 1.2 and it works smooth ..
Yeah, phpFreeChat version 1.2 has some fixes for funky file locking problems. I'll update to the new version.
By the way, I just deleted the entire extension directory and unpacked it fresh from the zip file I downloaded from this site. To my surprise, everything worked. I can no longer reproduce the problem I was seeing on June 22. If you are having this problem, I suggest you try blowing away your PFC directory and re-installing it.
All I can think of is that maybe this was caused by files in phpfreechat/data/private getting out of sync. I'm not exactly shy about nuking the cache whenever any setting changes, maybe that's not smart? I've added code to also nuke the contents of phpfreechat/data/private/chat whenever the cache is deleted, hopefully that will help.
Recent chats are now deleted whenever the cache is cleared, hopefully this fixes the strange problem of "phantom chats" that appear in the log but not in the chat window
Various small code cleanups
I'm still hoping to hand off PFC to someone else. Contact me if you have the skills and the interest.
I've been trying to use the Who's Online code mentioned earlier with the new version of PFC, and I'm not getting any names. Poking around, and using getError() function to see the errors, I'm finding that the error is: "Array error".
I use this chat between 5 people at the most. After installing the latest update I get kicked for flooding from posting 2 msg's right after eachother. Is there a way to set the limit or turn it off?
@retoid looks like its in src/phpglobalconfig.class.php I'm playing with it now.
Then in the chat room, if you are the admin/mod for the site, type /identify . Your user name should get a shield next to it. After this, type /rehash to make changes take affect.
this line is inside a class so we need to use context also $Context->Configuration['BASE_URL'] is incorrect cos' GetUrl($Context->Configuration, 'extension.php', '', 'PostBackAction', 'PFC') gives a full url already. At least on my instalation.
the line 234 is proper, we'r outside of class so we'v got $Configuration.
I had same issue, I do not know vanilla that well, but this is what I found in documentation. http://lussumo.com/docs/doku.php?id=vanilla:frameworkfunction void GetUrl ( &$Configuration, $PageName, [ $Divider = ''], [ $Key = ''], [ $Value = ''], [ $PageNumber = ''], [ $Querystring = ''], [ $Suffix = ''])
@rikin: Your fix wont work probably, cos adding & with parameter is deprecated, even if its still usable U try to get a refference from udefined variable, so U probably get null.
sorry you propably mentioned it before and i am just blind and i didn`t see it. My problem is i installed it fresh. If i click on "chat room" the chat is loading perfectly but than the problem starts. i write something and than if i click on send or press return nothing happens. The message is not showing up
I had hoped this problem was fixed but obviously not.
Can you install phpFreeChat somewhere on your site? Don't use PFC, just download the package from http://www.phpfreechat.net/, install it, and tell me if the problem still exists.
I have not been able to reproduce this bug myself. I need to find out if it's a problem with the PFC extension or with phpFreeChat itself.