this is a brilliant extension. it works so well. i'm going to try adding a list of chatting users to the panel as well. edit: works as above. fantastic.
Yeah, I like the current users in the chat list... But would it be possible to add like a little icon to there name in the "Whos Online" extension? That would be swell.
I might of just missed something, but...
It looks like this would work well if it was at the top of every page, you know with that little minimize thing. So people no matter where they are on the forum can expand that and chat. Is there an option for this? Or how can I get it to display on like the discussions list at the top of the page just below the banner?
Thanks
I tried to put it in a nugget, but couldn't figure out how exactly. I tried a couple of different things but they didn't work.. Anyone know how to do this?
I edited the code and got the Chat tab working also with guest config option, just add this code before the: "// Don't make changes below this line." on line 23 of the default.php file
// Add a link to the chat page at the top bar (keep in mind guest permissions) $Context->Dictionary['Chat'] = 'Chat'; //Allow guests? 1 for yes 0 for no $eChatConfig['AllowGuests'] = '0';
Its working on my site, but it is displayed only for registered users.
If you want it to be accessible for all your users, including unregistered, change $eChatConfig['AllowGuests'] = '0'; to $eChatConfig['AllowGuests'] = '1';
So I was redirected to this thread for a problem with PFC...
I have the chat installed and ready to go, but when I open the page, it sits there and displays 'chat loading' for ever. Do you think this is a problem with the phpfreechat or my browser (same thing happens in IE and Netscape)?
Thanks for you help.
You can see it at http://moonbeams.us/sacredcircles/extension.php?PostBackAction=PFC
Use TestTestTest to sign in and testtesttest for the password.
I've found on my site that you cannot use a single-quote when you are typing. If I go directly to the install of PFC, and not through Vanilla, it works fine.
Has anyone gotten PFC 1.0 Final to work with this extension? I'm running Vanilla 1.1.3 and PFC 1.0 beta 11 (I think it came with this extension). When I try to get it to work with PFC 1.0 Final, the 'Chat loading..' comes up and doesn't go away. Does another parameter (server_script_url) need to be set in default.php? What should it be set to?
I got the same as zovall. I even looked at some of the internal code of phpFreeChat, and nothing jumped out at me. It looks like 90% of this extension creates a new phpFreeChat Object (which, in layman's terms, is the chat window you see). So whatever variables are being passed, they must be read differently from FINAL and BETA 11.
However, even knowing that, I couldn't hack a fix. I've never worked much with Object Oriented PHP though, I prefer procedural. So that's one strike against me hacking either phpFreeChat or the PFC extension.
Includes the 1.0-final release of phpFreeChat, which now works properly (some paths had changed between 1.0-beta11 and 1.0-final). Sorry for the delay.
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?
thanks for help...
Comments
edit: works as above. fantastic.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •// Add a link to the chat page at the top bar (keep in mind guest permissions)
$Context->Dictionary['Chat'] = 'Chat';
//Allow guests? 1 for yes 0 for no
$eChatConfig['AllowGuests'] = '0';
if(isset($Menu) && $Context->Session->UserID > 0 && $eChatConfig['AllowGuests'] == 0) {
$Menu->AddTab($Context->GetDefinition('Chat'), $Context->GetDefinition('Chat'), GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PFC'), $Attributes = '', $Position = '50', $ForcePosition = '50');
}
elseif(isset($Menu) && $eChatConfig['AllowGuests'] == 1) {
$Menu->AddTab($Context->GetDefinition('Chat'), $Context->GetDefinition('Chat'), GetUrl($Configuration, 'extension.php', '', '', '', '', 'PostBackAction=PFC'), $Attributes = '', $Position = '50', $ForcePosition = '50');
}
Its working on my site, but it is displayed only for registered users.
If you want it to be accessible for all your users, including unregistered, change
$eChatConfig['AllowGuests'] = '0';to
$eChatConfig['AllowGuests'] = '1';- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •If I want to post something on the PFC Chat - Field, I always get the message
"You must be connected to send a message".
I'm not shure what to do. I tried to give 777 - access to all PFC - Files and folders, but it did not help ...
I saw "VAZ" having the same problem ... could you solutionate that?
thanks
Flozi
PS: you find my application at:
http://www.icaros.ch/Vanilla-1.1.3/extension.php?PostBackAction=PFC
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •However, even knowing that, I couldn't hack a fix. I've never worked much with Object Oriented PHP though, I prefer procedural. So that's one strike against me hacking either phpFreeChat or the PFC extension.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •thank you for this extension (and at least for your time).
i only have one question; is there a trick or a snippet of code to get a link (memberbar/o.t. right side) to the userprofiles (vanilla)
thanks in advance :D
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I tried your php code to make a list of who's in the chat, but its not showing any names.
Any idea as to what may be happening, or did 1.0 break your code?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Also, PFC is now part of the Vanilla Friends project.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://www.matthewlbailey.com/forum/extension.php?PostBackAction=PFC
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •