{"desc":"The ChatBox is comming soon. It will be available in version 3.6."}

WordPress Integration

IndexTutorial: How to connect the chat to your WordPress user accounts.

where is it
This tutorial applies to version through

If you have version 3.0 or newer, refer to this tutorial.

If you have version between 2.2.6 and 2.2.12, please refer to this tutorial.

If you have a version earlier than 2.2.6, refer to this tutorial.

This tutorial describes how you can connect your users’ wordpress accounts to the chat.

In this mode of operation, when a user visits your site and logs in, they will be simultaneously signed in to the chat with the same user name (and avatar) as their site account. This mode is best suited to a larger site, where your visitors are accustomed to logging in. For a small site, with only a few visitors, it is not recommended to use this mode.

Also, this is only going to work if your user accounts are being managed by the default wordpress software. If you are using some other system of user registration and account management, it will not work.

Ok, here are the steps that you must take to set up the link, you should already have FCChat Installed and running before proceding:

1) First, sign in to wordpress with the account you use for administration.

2) Next, go to a web page on your site and click “Open ChatCenter”. Sign in to the chat with your FCChat administrative account.

3) Click on your screen name and click ‘mod’ to go to the FCChat administration panel.

4) Once in the administration panel, type in a secret key where it says, ‘Set secret key’ and press enter. You may choose any secret key you wish. A good secret key is both long and hard to guess.

4) Once in the administration panel, where it says ‘CMS Type’, select wordpress. Where it says ‘Administrative account’, enter the name of your wordpress administrative account. This must be the account you signed in as in step one.

6) After this, you must open the file fcchat/proxies/fcchat_wordpress_proxy.php with a text editor. Within this file, set the secret key parameter to match the value you entered in step 4, as follows:

Find the line that says:

define(‘SECRET_KEY’, ‘OqO,X:20=V6a^FkQ9N!8′);

and set accordingly.

5) Next, go to Settings -> FChatSettings in your wordpres adminstration.

6) Find the variable forum_proxy and set it exactly as follows:

window['fc_chat_path'] + 'proxies/fcchat_wordpress_proxy.php'

7) Find the variable startText and set it as follows:

To begin chatting, please <b>Sign In</b>

8) Now load up a page on your web site with your browser. You may have to refresh the page a couple of times in order your the new settings to ‘catch’.

9) Ok, your done!

If you want to go back to the ‘default user registration mode’, simply reverse the changes you made in the Settings -> FCChat Settings page, by setting forum_proxy to an empty string.

You will now be able to access the FCChat administration panel with your wordpress administrative account. (The account you designated in step 5)

If you have a pre-sales question, submit your inquiry via our sales contact page. For general, non-sales inquiries, contact us at support@fastcatsoftware.com.

Solution Graphics