The BuddyPress-Ajax-Chat plugin installs a chat on your BuddyPress social network. Setting it up is not as complicated as it looks like. Just follow the developer’s instructions.
- Donwload the plugin. Do not try to install it automatically from the back-end as it will not be placed in the right directory.
- Unzip the archive, you will get a buddypress-ajax-chat directory which contains :

- Put the bp-chat dans wp-content/plugins. Do not activate it yet.
- Open /wp-content/plugins/bp-chat/chat/lib/config.php and give the suitable values :
// Database hostname, generally localhost but depends on your host : $config['dbConnection']['host'] = 'localhost'; // Database username: $config['dbConnection']['user'] = 'database_user_name'; // Database password: $config['dbConnection']['pass'] = 'database_password'; // Database name: $config['dbConnection']['name'] = 'database_name';
and if you want the chat in your language, let’s say german, go a little bit further down and :
$config['langDefault'] = 'de';
- Launch the following script in your browser to install database tables : http://my_site_name.com/wp-content/plugins/bp-chat/chat/install.php
- Delete install.php file in folder /wp-content/plugins/bp-chat/chat/
- Open /wp-content/plugins/bp-chat/chat/lib/class/CustomAJAXChat.php file and give suitable values (around line 45) :
$this->bp_config['username'] = "database_user_name"; $this->bp_config['password'] = "database_password"; $this->bp_config['database'] = "database_name"; $this->bp_config['bp_group_table'] = "wp_bp_groups"; // normally do not change $this->bp_config['wp_users_table'] = "wp_users"; // normally do not change $this->bp_config['bp_groups_members'] = "wp_bp_groups_members"; // normally do not change $this->bp_config['db'] = "monsite.com"; // put your site domain name
- Log-in to your back-end and activate the BuddyPress Chat component plugin sitewide.
The chat menu appears.
Once in the chat, you can choose which channel you want to join in. The channels’ names will be the BuddyPress groups’ names.


12 January 2010 at 7:39 pm
Very nice write up:)