Table of Contents

Parameters

This page is for 1.x phpfreechat versions. For 2.x versions, check this page

Changing the Parameters

Making changes to parameters is easy, and allows you to customize how your chat works. To change them, first open index.php in the root of your Php Free Chat folder. Look for several lines that start with $params; this is your parameters list. The parameters list is set into the $params array and passed into the class. To add a new parameter, simply follow the same syntax as the others:

$params['parameter_name'] = [parameter value, either as a string or array depending on the parameter];

After making a change to a parameter, the system may not reflect the new value. This is due to the PFC caching system. In order to tell PFC to correctly update to the new parameter values, you may need to rehash. The basic form of rehashing is to assure you have admin rights, and use the command ”/rehash” in the chat. More information can be found on the Rehash Your Chatroom page.

Global parameters list

Containers parameters list

File container

This is the default container.

Mysql container

Proxies parameters list

Phpfreechat supports command proxies. These proxies can be compared to plugins. Some proxies are provided with the phpfreechat source code and can be configured. Please have a look to the proxies documentation to know the available parameters.