Friday, October 23, 2009

Buddypress-Ajax-Chat 1.1.1

Author: David Aubin

This plugin will extend Buddypress to have an Ajax Chat client that works with the groups as well as other users.

You must have 2 things:

1. WordPress MU

2. Buddy Press

Installation:

New Install

Extract the entire contents of the plugin in to the to the /wp-content/plugins/ directory

You should have a bp-chat directory in the plugins directory.

Expected output: wp-content/plugins/bp-chat

Install Ajax-Chat:

The following is an excerpt from the instructions in the readme.txt in /wp-content/plugins/bp-chat/chat/readme.txt

A. Configuration settings

———————-

The primary configuration settings necessary for chat to function must be in the file /wp-content/plugins/bp-chat/chat/lib/config.php

You need to configure the following 4 variables.

$config['dbConnection']['host'] = ‘your_chat_database_hostname’;

$config['dbConnection']['user'] = ‘your_chat_database_username’;

$config['dbConnection']['pass'] = ‘your_chat_database_password’;

$config['dbConnection']['name'] = ‘your_chat_database_name’;

In most cases, chat will function with only these fields filled out and you can proceed to step 2.

If your host does not use mysqli you will need to change the connection type field:

$config['dbConnection']['type'] = null;

If this is set to “null” it defaults to “mysqli” if existing, else to “mysql”.

B. Creation of database tables

—————————

Execute the provided installation script by visiting the following URL with your browser:

http://example.org/path/to/chat/install.php

Replace example.org with your domain name in “http://example.org/wp-content/plugins/bp-chat/chat/install.php”

C. Delete the installation script

——————————

Delete the file install.php from the /wp-content/plugins/bp-chat/chat/ directory on your server.

You need to configure 6 parameters for custom low level database access in /wp-content/plugins/bp-chat/chat/lib/class/CustomAJAXChat.php

A. In the /wp-content/plugins/bp-chat/chat/lib/class/CustomAJAXChat.php configure the $bp_config parameters

Example:

$this->bpconfig['username'] = “”; //This is your wordpress-mu database username

$this->bpconfig['password'] = “”; //This is your wordpress-mu database password

$this->bpconfig['database'] = “”; //This is your wordpress-mu database name

$this->bpconfig['bpgrouptable'] = “wpbpgroups”; //This is the Buddypress group table name: default = wpbpgroups

$this->bpconfig['wpuserstable'] = “wpusers”; //This is the WPMU user table name: default = wpusers

$this->bpconfig['bpgroupsmembers'] = “wpbpgroupsmembers”; //This is the Buddypress group members table name: wpbpgroupsmembers

$this->bp_config['db'] = “127.0.0.1″; //This is your database IP address, or domain name

Last step

A. log in as admin to wordpress-mu

B. go to the plugins section to activate bp-chat

C. Click on Activate Buddypress Chat sitewide for the bp-chat plugin

Upgrade

Backup your config.php file in /wp-content/plugins/bp-chat/chat/lib as you’ll need to copy it over once the

upgrade is done.

Backup CustomAJAXChat.php file in /wp-content/plugins/bp-chat/chat/lib/class as you’ll need the database settings

once the upgrade is done.

Make sure your backups of the above files are not in /wp-content/plugins/bp-chat directory as this will get overwritten!

Extract the entire contents of the plugin in to the to the /wp-content/plugins/ directory

You should have a bp-chat directory in the plugins directory.

Expected output: wp-content/plugins/bp-chat

Copy the backed up config.php to /wp-content/plugins/bp-chat/chat/lib/config.php

Manually enter the Database settings in CustomAJAXChat.php file in /wp-content/plugins/bp-chat/chat/lib/class/CustomAJAXChat.php

Happy Chatting:)

faq:

I’m stuck. Where can I get help?

Buddypress Ajax Chat Support Group

Here, there is a group wire AND forum. I or someone trolling the forum will help you:)

I’m not techincal can you install it for me?

Yes, we can install it for you. Check out this link for more info:

Provide install support for a flat fee on Flat rate install

What if I want to remove the adsense code?

Please donate $5 to us and we’ll happily provide you a link to download the plugin without the adsense in it.

Just go here: Buddypress Ajax Chat No Adsense

I have a site that has questionable content can I install the free version?

No, we can’t allow Google Adsense on sites that have questionable material. Please

donate to us and you’ll instantly get an Adsense free version.

Just go here: Buddypress Ajax Chat No Adsense

I want my own adsense code in there. Can you install it for me?

Yes, for a small fee we can bundle up the code for you and email it to you.

Provide own adsense code Send me a version with my adsense code

Buddypress-Ajax-Chat 1.1.1

No comments:

Post a Comment