Re: AspNetForums set up & customization

  •  12-14-2004, 11:26 PM

    Re: AspNetForums set up & customization

    We realize that the document  is lagging behind, and we will included more instructions into the developer guide in the next minor release.


    I think the live support feature will work for your situation.

    If the Moderator has logged on, the live help message will be available, otherwise it will show "leave a message".

    To set up the live support for the ASPNET forums 2.0, please following the steps below.

    Step 1Copy the following code at the top of your page:

    <script runat=server>
    public string GetRoomUrl()
    {
     string file="ChatRoom";

     if(ChatUtility.CurrentUserIsRoomAdmin(1))
      file="SupportServer";
     else
      file="ChatSupport";

     return ResolveUrl("~/CuteChat/"+file+".Aspx?RoomId=1");
    }
    </script>




    Step 2
    Copy the following code the position in your page where you want to show the live help button.

    <a href='<%= GetRoomUrl() %>'>
             <IMG align=absMiddle title="support chat" src="/CuteChat/images/livehelp.gif" border=0><%= CuteChat.ChatFactory.HasSupportOperatorOnline(1)?"<span>(Available)</span>":"<font color=gray>(Leave a message )</font>" %></a>



    Hope it helps.

    Keep me posted.
     

    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