Getting started with the May 2007 Alpha release

Installation:

Running the source code:

Download the solution containing the two projects on CodePlex. You’ll need Visual Studio 2005 Standard or greater to run the solution. Web Developer Express will not work for the operator console application, since it’s a Windows Forms project type.

Running the binary version:
  1. Download the website and the operator console from CodePlex
  2. Unzip the website anywhere on your disk, and create an IIS Virtual Directory (ex: LiveChat)
  3. Unzip the operator console anywhere on your disk, and modify the .config file and change the WebService url from: http://localhost:1096/website/ to http://localhost/LiveChat.
  4. You can log in with those credential: operator / operator. To change the username / password edit the web.config file of the website, and locate the operatorService section.
Also change the value in the appSettings keys, your email and your SMTP server.

*** If you have any error try removing the tagMapping section of the web.config.

How to add the chat image to your website?

You have to create a Virtual Directory and add the javascript found on the default.aspx demo page to every pages of your website where you want to log the visitor’s visit or accept chat request. Here is an example for my web site http://www.dominicstpierre.com/

<script type="text/javascript">
function openChat()
{
var win = window.open('http://www.dominicstpierre.com/LiveChat/Chat.aspx', 'chat', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=603,height=510');
win.focus();
win.opener = window;
return false;
}
</script>
<script type="text/javascript">
document.write('<a href="javascript://" onclick="openChat();"><img id="_imgLC" src="http://www.dominicstpierre.com/LiveChat/ProcessImage.ashx?referrer=' document.referrer '" border="0" alt="Click here for live chat" /></a>');
</script>

Now start the operator console, make sure to edit the WebService url to point to your website and you should see visitor activity, and chat request coming from this site.

Last edited May 8, 2007 at 8:19 PM by dstpierre, version 1