Re: Total # of Chatters in all Rooms

  •  01-22-2008, 5:45 PM

    Re: Total # of Chatters in all Rooms

    Terry,
     
    I also gave the code above a try using CuteChat 4.0 and Community Server 2007. The only thing that would display using that bit of code was something like " response.write = "  something or other..
     
    So I found this code in one of the Cute Chat files and gave it a try. It now lists all 6 rooms I have with the number of chatters in each room. I am ok with that. EX.

    Public Conference Room #1
    ( 1 chatting)
     
    My question is, How would I only display or filter to show either by LobbyID or RoomName. Say if i only want LobbyId -3, -5, and -7 .  Here is the code i have on my home page in CS 2007:

    <table cellspacing="1" border="0" cellpadding="5" width="50%">

    <tr><td><ASP:DataList id="DataList_Lobbies" CellSpacing="3" Width="100%" RepeatColumns="1" runat="server">

    <ItemTemplate>

    <asp:Label ID="lnkLobby" Runat="server">

    <%="<"%><%="script"%><%=" src='"%><%=ResolveUrl("/Chat/IntegrationUtility.js.aspx")%><%="'"%><%=">"%><%="<"%><%="/script"%><%=">"%>

    <nobr>

    <%#DataBinder.Eval(Container.DataItem, "Name")%></nobr>

    <br />

    (

    <asp:Label ID="lblOnlineChater" Runat="server"></asp:Label>

    chatting)

    </asp:Label></ItemTemplate></ASP:DataList> </td></tr></table>

    Thanks for your time, Jay

    Filed under:
View Complete Thread