Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Chat and Cute Web Messeng...
»
Cute chat questions.
Cute chat questions.
Last post 11-22-2011, 8:37 AM by
Kenneth
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
11-22-2011, 3:11 AM
71574
shunman
Joined on 11-22-2011
Posts 1
Cute chat questions.
Reply
Quote
Hello Cutesoft.
I have some questions about Cute chat software.
1. Chat room makes in administration console page only?
2. Can i see the chat room list related to me, or set invisible chat room list not related to me?
thanks.
11-22-2011, 8:37 AM
71580
in reply to
71574
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Cute chat questions.
Reply
Quote
Hi shunman,
1. Chat room makes in administration console page only?
No, you can create the chat room by code too.
Example
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void button1_Click(object sender, EventArgs e)
{
CuteChat.IChatLobby lobby = CuteChat.ChatApi.CreateLobbyInstance();
lobby.Title = "room1";
lobby.Description = "room1";
lobby.MaxOnlineCount = 100;
lobby.SortIndex = 0;
lobby.AutoAwayMinute = 30;
lobby.MaxIdleMinute = 30;
lobby.HistoryCount = 20;
lobby.HistoryDay = 7;
lobby.Locked = false;
lobby.AllowAnonymous = true;
lobby.IsAvatarChat = false;
lobby.AvatarChatURL = "~/CuteSoft_Client/CuteChat/AvatarChat/CuteChat4.gif";
CuteChat.ChatApi.CreateLobby(lobby);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="button1" runat="server" Text="Create chat room" OnClick="button1_Click" /><br />
</form>
</body>
</html>
2. Can i see the chat room list related to me, or set invisible chat room list not related to me?
Yes, you can shows the chat room list programming.
Regards,
Ken