To Install ZBit Chat please copy all the files from a zip package that you receive
from us on purchase to a directory on your server. By default it is a "/chat/" directory
off of you site’s root. Images for the chat are stored in "/images/chat/" directory from
the root of the site. In the last directory that you need to put in the root of your site
is "sound". The easiest thing to do is to just extract the entire content of the archive into
the root directory of your site and everything will fall into correct places automatically.
You will find most of the settings in file called "settings.asp". Each constant
has a comment to explain the details of how it works. Please Do take a look at this file and
edit its content - you will get a lot of questions answered this way.
Previous requirements for modifying "global.asa" file are no longer applicable. You do
NOT need to make any changes to "glabal.asa" anymore. However, if you would like to,
you can still add the following code to your "global.asa" file and remove ghost check in
"server.asp". That might slightly improve performance:
<!--#include file=chat/chatapi.asp-->
<script language=vbscript runat=server>
Sub Session_OnEnd
call LogOffUser(ChatSessionUidGet(),false)
End Sub
</script>
In order to enable user authentication please set “USE_AUTHENTICATION”
in settings.asp to 1. We provide you a sample database in the package. Please rewrite
“UserAuthenticate” function to authenticate against your existing database if
you have one.