Using CR with another Web Server

Using a Combination of ConferenceRoom's and Another Web Server

This method allows you to serve the java client from the ConferenceRoom web server but use your web server to create the actual web page that it's embeded in. It's very simple to embed the java client in another web page. There are three steps to doing this:

  1. Copy the applet code
  2. Put in your proper host name and port
  3. Configuring your params or ssp file.

Step1

To do this you just have to make sure that you put in the proper host name and port. Here is the applet code as it appears from one of our theme pages. Place this code in an HTML page that is served from any other system but our web server. You can even save it locally and load it from there.

<!-- Cut from here -->

<applet
      archive="/java/cr.zip"
      codebase="/java/"
      code="ConferenceRoom.class"
      name=cr
      width=500
      height=300>
      <param name=ssp value="/params/def.prm">
      <param name=channel value="#lobby">
      <param name=nick value="guest">
      <center>
      This application requires Java suport.<BR>
      </center>
</applet>

<!-- To here -->

Step 2

The next step is to place your host name and servers port

<applet
      archive="http://chat.webmaster.com:8000/java/cr.zip"
      codebase="http://chat.webmaster.com:8000/java/"
      code="ConferenceRoom.class"
      name=cr
      width=500
      height=300>
      <param name=ssp value="http://chat.webmaster.com:8000/params/def.prm">
      <param name=channel value="#lobby">
      <param name=nick value="guest">
      <center>
      This application requires Java suport.<BR>
      </center>
</applet>

Notice that I've just inserted the hostname and port where ConferenceRoom is running, in this case http://chat.webmaster.com:8000.

Step 3

Next we customize the java client. You have two choices, one is to run a server side parameter file, the other is to list each param in HTML. The above sample uses a ssp (Server Side Param) file to configure the java client. First I would copy the def.prm (or other param file from one of our themes that is closer to what you want) to another name, in this case we'll call it foo.prm. Now that we have done that we have to change one line of our code above:

From: <param name=ssp value="http://chat.webmaster.com:8000/params/def.prm">
To: <param name=ssp value="http://chat.webmaster.com:8000/params/foo.prm">

Now you can open up foo.prm and edit the param file to create the look and feel of the java client. For more information about java parameters look at http://support.conferenceroom.com/ for the latest param sheet.

Using Another Web Server

In some cases you may want to serve off the java client from another web server. A good reason to do this is to secure the java client, or to more fully embed it with your community. See the notes about using the java client and CGI below. As long as the other web server is on the same box as the chat server you should have no problems at all in using the other server.

There are basically three steps to doing this.

  1. Copying the files
  2. Configuring the applet code
  3. Customizing the client

Step 1

First you should copy the /java directory to your other server. Grab all the files and sub-directories from /java and you can place this on any accessible directory on your side. If you're using a server side param file rather than list the params in the HTML pages then you should also grab the param file that is closes to what you want. Those files are located in the /params directory.

Step 2