Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
AUTHORS.txt | 2015-11-12 11:51 | 174 | ||
COPYING.txt | 2015-11-12 11:52 | 788 | ||
SetList.ini | 2015-11-12 11:52 | 2.6K | ||
default.php | 2015-11-12 11:51 | 9.0K | ||
phpfreechat-1.2/ | 2015-11-12 11:52 | - | ||
PFC is a Vanilla extension that integrates phpFreeChat with a Vanilla forum. This is surprisingly easy thanks to the simple design of phpFreeChat. There are no database modifications necessary, you really can just unzip and go.
PFC integrates your Vanilla forum with a phpFreeChat chat room running on your own server. The phpFreeChat library is a decent AJAX-based chat room that plays quite nicely with Vanilla, even down to the look of the default theme. phpFreeChat uses flat files for storage which makes it drop-dead easy to set up, though it might not scale well for very busy forums. And, like any PHP chat script, it could greatly increase the load on your server. Your mileage may vary.
This version of PFC should be pretty capable but it has not been tested much. Not only that, it relies on phpFreeChat version 1.2 which may have its own bugs. It works for me but it might not work for you. If not, I probably can't help. Good luck.
In order for Vanilla to recognize an extension, it must be contained within its own directory within the extensions directory. So, once you have downloaded and unzipped the PFC files, you can then place the folder containing the default.php file into your installation of Vanilla. The path to PFC's default.php file should look like this:
/path/to/vanilla/extensions/PFC/default.php
You may also need to make the following directories world-writable (using
chmod 777
or chmod o+rw
or similar):
/path/to/vanilla/extensions/PFC/phpfreechat-1.0-final/data/private/
Once this is complete, you can enable PFC through the "Manage Extensions" form on the settings tab in Vanilla.
If you haven't installed the Set List extension, I highly recommend you do so now. It's not required, but if you install Set List you can then go to the Vanilla settings page and see a nice, easy form for PFC settings in the panel under "Extension Options".
There are two parts to the PFC configuration. First, you will notice two
new permissions in your permissions list: "Use chat room" and "Chat room
administrator". Roles without "Use chat room" can not use the chat room,
obviously. Any role with the "Chat room administrator" permission can become
an admin in the chat room by using the phpFreeChat command
/identify
with no additional password necessary.
If you don't use Set List, you can change the following PFC settings by
editing Vanilla's conf/settings.php
file:
After you enable PFC and give yourself the "Use chat room" permission, you should see a "Chat Room" link appear in your panel. Click on the link and you are chatting.
Had enough? Just disable the PFC extension in Vanilla and delete the PFC directory from the extensions directory. That's all.
PFC was written by squirrel. Updates are available at the Vanilla add-ons site. Part of the Vanilla Friends project.
phpFreeChat was written by Stephane Gully <stephane.gully@gmail.com>