****************
* ASP Live Support *
****************
Written by Thomas Gullen
www.iAXX.com
--------------------
Features
--------------------
- Lists all users browsing site, with IP address
- Lists all users waiting in chat room for operator to respond
- Lists the time each user was last active and when they first entered the site
- Click requst button and next time user opens a page a popup box will appear saying that you requested a chat with them
- Secure admin login to control pannel
- Change operator name and enable and disable the live support remotly from the control pannel
- Easily change text that appears on each page by editing one page
- Easy to setup and integrate on your website
- Visitors can request chats
--------------------
Capabilities
--------------------
- Create better customer relationships, talking to a live person helps increase sales
- Go one better than your rivals, offer a service they dont have
--------------------
Setup
--------------------
1) Place the folder 'chat' in your main directory (keep folder name the same or script wont work)
2) Place the files checkchat.asp and LiveSpport.mdb in your main folder (1 below the chat folder)
3) Through your web browser run the page chat/login.asp
4) Enter the admin password which is set to 'changeme' (without the speach marks and case sensitive)
5) Click on the control pannel link
6) Go to the bottom of the page and make the appropriate configurations to operator name, password and company name
7) Open up your HTML editor
8) On all your webpages in the same directory as checkchat.asp add the following line of code to the TOP of the page above ANY HTML
9) On these pages eneter the following line of code into your HTML where you want a link displayed showing if live support is avaliable or not avaliable:
<%' BEGINNING OF CODE%>
<%
Dim data
Dim str_online
set data = server.createobject("ADODB.RecordSet")
data.activeconnection = cString
data.source = "SELECT * FROM tblsettings "
data.open
str_online =data("online")
data.close
IF str_online = "5" THEN Response.write("Live Support: Avaliable ") ELSE Response.write("Live Support: Unavaliable ") end if%>
<%' END OF CODE%>
10) Thats it! Simply login to the admin pannel whenever you are online and set chat status to avaliable and visitors can talk to you.
--------------------
Mainainance
--------------------
Every now and then its best to compact and repair the database to speed it up, (open datanase press tools Option> compact and repair
Its also best to delete all records in the table tblChat every once in a while
--------------------
Other
--------------------
If you move or rename the database open up checkchat.asp (main folder) and common.asp (in chat folder) and go down to the lines:
'------------------------------------------------------------------------------------
'Change this value to the path of the database
strDataBasePath = "../LiveSupport.mdb"
'------------------------------------------------------------------------------------
You will need to change the database path and name to your new one.