Home
Cute Chat / Web Messenger Developer's Guide Prev Page Prev Page
Getting Started
Features of Cute Chat
Features of Web Messenger
Chat Requirements
Web Messenger Requirements
License
Deployment & Integration
Installing Chat/Messenger Standalone
Community Server CS 2.1 Integration
Community Server CS 2.0 Integration
Community Server CS 1.x Integration
Dotnetnuke 4.x Integration
Dotnetnuke 3.x Integration
Dotnetnuke 2.x Integration
IbuySpy(C#) Integration
IbuySpy(VB) Integration
Snitz forum Integration
Rainbow Portal Integration
FAQ
Overview
Run Cute Chat from different folder
Customization
Set up Cute Chat banner ads
Set up Web Messenger banner ads
Add a time stamp to each message
Embed mode
Run Cute Chat in embed mode
Run Web Messenger in embed mode
Localization
Specify the custom culture name
Add a new language file
Oracle and Access
Use Oracle as Data Source
Use Access as Data Source
Integration with an existing user membership database.
Integration with an existing user membership database (C#).
Integration with an existing user membership database (VB).
General Installation Instructions
Cute Chat and Cute Web Messenger

General Installation Instructions

  • Step 1: Install the Cute Chat database

  • Step 2: Deploy the Cute Chat assembly and license file

  • Step 3: Deploy the Cute Chat client files

  • Step 4: Add the chat rooms in your web pages

  • Step 5: Add the chat admin button in your web pages

  • Step 6: Add the messenger button in your web pages



    Step 1: Install the Cute Chat database


    Open your client copy of SQL Server Query Analyzer from within Enterprise Manager. Once you have successfully connected to your SQL Server or MSDE database within query analyzer or other query tool, open and execute the following SQL files: 

          SQLScripts\cutechat3.sql

    Step 2: Deploy the Cute Chat assembly and license file


    Copy the CuteSoft.Chat.dll, CuteChat.lic, CuteMessenger.lic and CuteLiveSupport.lic to the project \bin directory.

     

    Step 3: Deploy the Cute Chat client files


    CuteSoft_Client folder and all file it contains should be deployed to Project_FOLDER\. 
    Global.asax file should be deployed to Project_FOLDER\.

     

    Step 4: Add the chat rooms in your web pages


    Get the chat rooms collection from the database, then databind the results to a DataGrid/imagesList/Reapter server control in your web page.

    To get the chat rooms collection:

    C#:

       ArrayList lobbies=new ArrayList();
       foreach(CuteChatLobby lobby in ChatApi.GetLobbyArray())
       {
           if(lobby.IsHidden)
              continue;

           lobbies.Add(lobby);
       }

       VB:

    Dim lobbies As New ArrayList()
    For Each CuteChatLobby as lobby In ChatApi.GetLobbyArray()
         If Not lobby.IsHidden Then
              lobbies.Add(lobby)
         End If
    Next
        

    Step 5: Add the chat admin button in your web pages

    <%if (CuteSoft.Chat.ChatWebUtility.CurrentIdentityIsAdministrator)
    {%>
     <Asp:HyperLink runat=server NavigateUrl="~/CuteSoft_Client/CuteChat/Admin/" ID="Hyperlink1" NAME="Hyperlink1">Chat Admin</Asp:HyperLink>
    <%} %>

     

    Step 6: Add the messenger button in your web pages

        <%="<"%><%="script"%><%=" src='"%><%=resolveurl("~/CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx")%><%="'"%><%=">"%><%="<"%><%="/script"%><%=">"%>
       <img src="<%=resolveurl("~/CuteSoft_Client/CuteChat/images/icon_invite.gif")%>" align=absmiddle><a href="###" onclick="JavaScript:Chat_OpenMessenger()" >Messenger</a>
       

  • The CHM file was converted to HTML by chm2web software.