are there Room Administrators in Cute Chat?

Last post 08-26-2009, 10:00 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  08-26-2009, 8:32 AM 55063

    are there Room Administrators in Cute Chat?

    I am interested in Cute Chat as a platform for a chat in a big site.
    Is there an option to let the useres to open their own rooms?
    and is the an option in Cute Chat to define administrators for rooms?
    mostley, Room Administrators should be able to kick out and block abusive users.
     
    Thanks
    Ilana
  •  08-26-2009, 10:00 AM 55069 in reply to 55063

    Re: are there Room Administrators in Cute Chat?

    Ilana,
     
    You need use ChatApi class to maintain lobby list (create edit delete) , use lobby.Integration property to save your custom data.
     
    (or you make new table to store the relative data by the lobbyid)
     
    and then override this method of the ChatProvider :
     
    public virtual bool IsLobbyAdmin(IChatLobby lobby,string userid)
     
    , than use lobby.Integration or other relative data to return whether an user is room admin.
     
    ---
     
    CuteChat also allow developer to create runtime rooms , but that is more deep.
    Check the ChatSystem.Start() , ChatSystem.CreatePortalInstance(), ChatPortal.GetPlace(), etc..
     
     
    Regards,
    Terry
View as RSS news feed in XML