Hi kjell.ek,
Do you have a ChatProvider example for that (VB)?
- <%@ Application Language="VB" %>
- <%@ Import Namespace="CuteChat" %>
-
- <script RunAt="server">
- Private Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
- ChatProvider.Instance = New AspNetChatProvider()
- ChatSystem.Start(New AppSystem())
- End Sub
-
- Public Class AspNetChatProvider
- Inherits ChatProvider
-
- Public Overloads Overrides Function GetLogonIdentity() As AppChatIdentity
- Dim context As HttpContext = HttpContext.Current
-
- Dim userid As String = ToUserId("orlandoj")
- Return New AppChatIdentity("orlandoj", False, userid, context.Request.UserHostAddress)
- End Function
-
- Public Overloads Overrides Function FindUserLoginName(ByVal nickName As String) As String
- Return "orlandoj"
- End Function
-
- Public Overloads Overrides Function GetUserInfo(ByVal loginName As String, ByRef nickName As String, ByRef isAdmin As Boolean) As Boolean
- loginName = "orlandoj"
- nickName = "orlandoj"
- isAdmin = True
- Return True
- End Function
-
- Public Overloads Overrides Function ValidateUser(ByVal username As String, ByVal password As String) As Boolean
- Return True
- End Function
-
-
- End Class
-
-
- </script>
In Membership Database Integration i use the code from "Add web messenger button into web pages", but i have JavaScript error and nothing happens when I click on the link.
Please post the full error message here.
In Membership Database Integration i use the code from "Add chat admin button into web pages". I cannot find the folder (Admin) of "
CuteSoft_Client/CuteChat/"
admin folder in CuteChat is "CuteSoft_Client/CuteChat/ChatAdmin/"
If you still can not find it. Please download the package below, you can find all folders you need.
In Membership Database Integration i use the code from "Add chat rooms into web pages" but the ArrayList is emty?
Make sure you have already created some chat rooms. By default CuteChat does not contain a default chat room.
Regards,
ken