Re: Integration Woes

  •  09-05-2007, 2:56 PM

    Re: Integration Woes

    jlsmedia,
     
    You have problems with your integration code.

    Open global.asax and find the following code and make sure you return a user name array. By default, it shows "NOT IMPLEMENTED".
     
       Public Function ListUserUniqueName() As String() Implements CuteSoft.Chat.IHttpApplicationDataProvider.ListUserUniqueName
           
            'EXAMPLE 1 (IbuySpy):
            'Dim udb As New AdminDB
            'Dim sdr As SqlDataReader = udb.GetUsers()
            'Try
            '    Dim list As New ArrayList
            '    Dim pos As Integer = sdr.GetOrdinal("Email")
            '    Do While sdr.Read
            '        list.Add(sdr.GetString(pos))
            '    Loop
            '    Return CType(list.ToArray(GetType(String)), String())
            'Finally
            '    sdr.Close()
            'End Try
           
            'EXAMPLE 2 (DNN4):
            '   Dim names As New System.Collections.ArrayList
            '   For Each user As DotNetNuke.Entities.Users.UserInfo In New DotNetNuke.Entities.Users.UserController().GetUsers(CurrentPortal().PortalId, False, False)
            '        names.Add(user.UserID.ToString())
            '   Next
            '   Return CType(names.ToArray(GetType(String)), String())
            Return "NOT IMPLEMENTED"
        End Function

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread