Print Page | Close Window

Integrating Chat

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23292
Printed Date: 28 March 2026 at 2:21pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Integrating Chat
Posted By: acemaker
Subject: Integrating Chat
Date Posted: 10 May 2007 at 3:57pm
can somebody suggest how can integrate chat in my forum. ASPchat now is one option but they ask for donation. is there some othr tool. Kindly suggest soon



Replies:
Posted By: User123
Date Posted: 10 May 2007 at 4:12pm
I'm not sure there is something out there that will fit your requirements.  I've looked several times for ASP based chat systems.  There's not many "free" ones and they are all pretty clunky.  Even some of the paid ones are pretty unsophisticated.  Also, I don't think anyone has done some canned solution that would integrate into WebWiz forums without some significant programming.

If you do find one that fits the bill let me know.


Posted By: jckruger
Date Posted: 11 May 2007 at 4:43am
Do a search as I have done it and it should still be on here somewhere. It only asks for a donation but isn't a requirement for download.


Posted By: jckruger
Date Posted: 18 May 2007 at 5:01am
I've just integrated http://www.chat80.com/ - chat80 (basic version)(Requires free registration and you get 10 free licenses) into my forum as ASPChatNow wasn't working for me.

The button I used to initiate the chat I have has these additional arguments:
/client.aspx?user=username&room=roomname. There are also other switches for autologin but I didn't use it as you still can choose your avatar before logging on.

Addition to navigation_buttons_inc.asp

If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2 AND blnActiveMember <> "False" Then Response.Write ("&nbsp;&nbsp;<a href=""#Chat_Window#"" onclick=""javascript:window.open('chat foldername/client.aspx?user=" & strLoggedInUsername & "&Room=default roomname you want as set in web.config" & "','ChatRoom','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=1,width=1000,height=620')""class=""nav"" accesskey=""2""><img src=""" & strImagePath & "Image file.gif"" border=""0"" align=""absmiddle""/>Chat" & "</a>")


Works really well for my site.

Note: I also made a slight change to my client.aspx to hide the nick text area so it cannot be altered to any other name and logs you in with your forum logged on name.

Changes in RED (sorry it's all one line but that is the format of the file)

[code]
<%@ Page Debug="true" language="c#" Codebehind="Client.aspx.cs" AutoEventWireup="false" Inherits="OmniAspect.WebServices.Chat.Client" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML> <HEAD> <title><%#GetString("CLI_TITLE")%></title> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" > <meta name="CODE_LANGUAGE" content="C#" > <meta name="vs_defaultClientScript" content="JavaScript" > <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" > <meta name="Author" content="OmniAspect d.o.o." > <meta name="copyright" content=" 2005. OmniAspect d.o.o." >  <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1"> <LINK REL="SHORTCUT ICON" HREF="favicon.ico"> <script language="javascript" src="ClientCode/s8.js"></script> <script language="javascript" src="ClientCode/s0.js"></script> <script language="javascript" src="Languages.aspx?lang=<%#GetLanguageId()%>"></script> <script language="javascript" src="ClientCode/s2.js"></script> <script language="javascript" src="ClientCode/s3.js"></script> <script language="javascript" src="ClientCode/s4.js"></script> <script language="javascript" src="ClientCode/s5.js"></script> <script language="javascript" src="ClientCode/s6.js"></script> <script language="javascript" src="ClientCode/s7.js"></script> <script language="javascript" src="ClientCode/s1.js"></script> <LINK href="<%#includeCSS()%>" type="text/css" rel="stylesheet"> </HEAD> <body MS_POSITIONING="GridLayout" onload="a51()" onbeforeunload="ignoreErrors=true;" > <div id="a72"> <table width=100% height=100%> <tr> <td align=center valign=center> <%#GetString("CLI_PROGRESS")%> <img width=16 height=16 alt="." src=images/lamps/green.gif> <img width=16 height=16 alt="." src=images/lamps/gray.gif> <img width=16 height=16 alt="." src=images/lamps/red.gif> </td> </tr> </table> </div> <div id="a77" onmousedown="setTop(this)" style="position:absolute;display:none;z-index:2;width:350px;"> <table border="0" width="350" class="login_table" cellpadding="2" cellspacing="2"> <tr> <td class="console_header" colspan="2" height=20 onmousedown="start_drag('a77',event)" valign="middle" align="center"><%#DisableBranding()%> <%#GetString("CLI_LOGIN_CAPTION")%> </td> </tr> <tr title="<%#GetString("CLI_TOOLTIP_NICK")%>"> <td width=30><%#GetString("CLI_NICK")%>: </td> <td width=320  > <INPUT autocomplete="off" style="WIDTH: 100%" type="hidden" value="<%#GetValue("user")%>" type="text" id="txt_a6" maxlength="30"><%#GetValue("user")%> </td> </tr> <%#LoginRows("a113", "zap_txt", "a112", "txt_a6")%> <%#IconAreaVisibility()%> <tr title="<%#GetString("CLI_TOOLTIP_CHANGE_LANGUAGE")%>" > <td colspan="2" ><span style="display:<%#UseDefaultLang()%>" ><%#GetString("CLI_CHANGE_LANGUAGE")%></span></td> </tr> <tr title="<%#GetString("CLI_TOOLTIP_CHANGE_LANGUAGE")%>"> <td colspan="2"><span style="display:<%#UseDefaultLang()%>" > <SELECT onchange="zapamtiLogin()" class="chooselanguage" id="cmbLanguages" runat="server"> </SELECT></span> </td> </tr> <tr> <td colspan="2" valign="middle" align="center" onclick="if (a89 == 1) a114();" class="input_menu" onmouseover="if (a89 == 1) input_menu_mouse_over(this)" onmouseout="if (a89 == 1) input_menu_mouse_out(this)" title="<%#GetString("CLI_TOOLTIP_LOGIN")%>"> <%#GetString("CLI_LOGIN")%> </td> </tr> </table> <%# ShowRegisterLink() %> </div> <div id="div_chat" style="DISPLAY:none"> <div id="for_private_dialogs"></div> <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="220"> <table width="100%" height="100%" border="0" > <tr style="display:<%#HideRoomList()%>" height="24"> <td> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" width="100%" height="100%"> <TR> <TD class=moz_no_sel ><%#GetString("CLI_ROOMS")%></TD> <TD></TD> <%#arc()%> </TR> </TABLE> </td> </tr> <tr style="display:<%#HideRoomList()%>"> <td ><div id="div_sobe" class="sobe"></div> </td> </tr> <tr height="20"> <td class=moz_no_sel><%#GetString("CLI_YOUR_CONVERSATIONS")%></td> </tr> <tr <%#HideRoomList1()%> id=conv> <td valign="top" <%#HideRoomList1()%>><div id="a74" class="sobe"></div> </td> </tr> </table> </td> <td> <table width="100%" height="100%" border="0"> <tr height="24"> <td><TABLE WIDTH="100%" height="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR class=moz_no_sel> <TD class="caption">&nbsp;<span id="caption" ></span></TD> </TR> </TABLE> </td> </tr> <tr> <td><div id="chat" class="chat"></div> </td> </tr> <tr height="44"> <td> <table cellpadding="1" cellspacing="1" border="0" width="100%" height=48> <tr height=22> <td colspan=6 class="input_line"> <INPUT maxlength="500" disabled type="text" autocomplete="off" class="txtinput" id="a73"></td> </tr> <tr height=22> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" onclick="input_menu_bold(this);" title="<%#GetString("CLI_TOOLTIP_BOLD")%>"><b>B</b></td> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" onclick='input_menu_italic(this);' tit


Posted By: Praveen
Date Posted: 27 May 2007 at 12:19am
Hey ASP Chat80 is only for ASP.net users. Pls check.

-------------


Posted By: jckruger
Date Posted: 27 May 2007 at 12:39am
Yes this is true that it is for .Net.


Posted By: User123
Date Posted: 29 May 2007 at 4:10pm
I'll have to give this a try.  Thanks for sharing the info.


Posted By: MrMellie
Date Posted: 30 May 2007 at 11:05am
Originally posted by Praveen Praveen wrote:

Hey ASP Chat80 is only for ASP.net users. Pls check.
And that is a problem? Ermm Any decent host should have .NET support these days.


Posted By: Praveen
Date Posted: 30 May 2007 at 7:18pm
what do you say for Microsoft IIS. Even if you happen to have .NET support, then each and every virtual directory needs an application.. Tough job.

-------------


Posted By: jckruger
Date Posted: 31 May 2007 at 12:03am
Not really. Just right click the folder, properties and to the right of the application name click create and OK. That's all I did.


Posted By: Praveen
Date Posted: 31 May 2007 at 12:06am
OK I agree with you. What would you do if you use a server. I mean a host provider. Where will you access Inetmgr??

-------------


Posted By: jckruger
Date Posted: 31 May 2007 at 12:15am
True. You would hope your host would do it for you. I host my own so have no problems waiting for someone else to do it.


Posted By: Praveen
Date Posted: 31 May 2007 at 1:19am
Anyway Basic version works fine. But for the professional version I get an error message:
 
[quote] 
 

Server Error in '/Chat80Pro' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 1:  <%@ Page Debug="true" language="c#" Codebehind="Client.aspx.cs" AutoEventWireup="false" Inherits="OmniAspect.WebServices.Chat.Client" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML> <HEAD> <title><%#GetString("CLI_TITLE")%></title> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1" > <meta name="CODE_LANGUAGE" content="C#" > <meta name="vs_defaultClientScript" content="JavaScript" > <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" > <meta name="Author" content="OmniAspect d.o.o." > <meta name="copyright" content=" 2005. OmniAspect d.o.o." >  <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Expires" content="-1"> <LINK REL="SHORTCUT ICON" HREF="favicon.ico"> <script language="javascript" src="ClientCode/s8.js"></script> <script language="javascript" src="ClientCode/s0.js"></script> <script language="javascript" src="Languages.aspx?lang=<%#GetLanguageId()%>"></script> <script language="javascript" src="ClientCode/s2.js"></script> <script language="javascript" src="ClientCode/s3.js"></script> <script language="javascript" src="ClientCode/s4.js"></script> <script language="javascript" src="ClientCode/s5.js"></script> <script language="javascript" src="ClientCode/s6.js"></script> <script language="javascript" src="ClientCode/s7.js"></script> <script language="javascript" src="ClientCode/s1.js"></script> <LINK href="<%#includeCSS()%>" type="text/css" rel="stylesheet"> </HEAD> <body MS_POSITIONING="GridLayout" onload="a51()" onbeforeunload="ignoreErrors=true;" > <div id="a72"> <table width=100% height=100%> <tr> <td align=center valign=center> <%#GetString("CLI_PROGRESS")%> <img width=16 height=16 alt="." src=images/lamps/green.gif> <img width=16 height=16 alt="." src=images/lamps/gray.gif> <img width=16 height=16 alt="." src=images/lamps/red.gif> </td> </tr> </table> </div> <div id="a77" onmousedown="setTop(this)" style="position:absolute;display:none;z-index:2;width:350px;"> <table border="0" width="350" class="login_table" cellpadding="2" cellspacing="2"> <tr> <td class="console_header" colspan="2" height=20 onmousedown="start_drag('a77',event)" valign="middle" align="center"><%#DisableBranding()%> <%#GetString("CLI_LOGIN_CAPTION")%> </td> </tr> <tr title="<%#GetString("CLI_TOOLTIP_NICK")%>"> <td width=30><%#GetString("CLI_NICK")%>: </td> <td width=320 valign="middle" align="center" > <INPUT autocomplete="off" style="WIDTH: 100%" value="<%#GetValue("user")%>" type="text" id="txt_a6" maxlength="30" onkeydown="this.value=(sec_rep(this.value));" onkeyup="this.value=(sec_rep(this.value));" onchange="this.value=(sec_rep(this.value));"> </td> </tr> <%#LoginRows("a113", "zap_txt", "a112", "txt_a6")%> <%#IconAreaVisibility()%> <tr title="<%#GetString("CLI_TOOLTIP_CHANGE_LANGUAGE")%>" > <td colspan="2" ><span style="display:<%#UseDefaultLang()%>" ><%#GetString("CLI_CHANGE_LANGUAGE")%></span></td> </tr> <tr title="<%#GetString("CLI_TOOLTIP_CHANGE_LANGUAGE")%>"> <td colspan="2"><span style="display:<%#UseDefaultLang()%>" > <SELECT onchange="zapamtiLogin()" class="chooselanguage" id="cmbLanguages" runat="server"> </SELECT></span> </td> </tr> <tr> <td colspan="2" valign="middle" align="center" onclick="if (a89 == 1) a114();" class="input_menu" onmouseover="if (a89 == 1) input_menu_mouse_over(this)" onmouseout="if (a89 == 1) input_menu_mouse_out(this)" title="<%#GetString("CLI_TOOLTIP_LOGIN")%>"> <%#GetString("CLI_LOGIN")%> </td> </tr> </table> <%# ShowRegisterLink() %> </div> <div id="div_chat" style="DISPLAY:none"> <div id="for_private_dialogs"></div> <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="220"> <table width="100%" height="100%" border="0" > <tr style="display:<%#HideRoomList()%>" height="24"> <td> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" width="100%" height="100%"> <TR> <TD class=moz_no_sel ><%#GetString("CLI_ROOMS")%></TD> <TD></TD> <%#arc()%> </TR> </TABLE> </td> </tr> <tr style="display:<%#HideRoomList()%>"> <td ><div id="div_sobe" class="sobe"></div> </td> </tr> <tr height="20"> <td class=moz_no_sel><%#GetString("CLI_YOUR_CONVERSATIONS")%></td> </tr> <tr <%#HideRoomList1()%> id=conv> <td valign="top" <%#HideRoomList1()%>><div id="a74" class="sobe"></div> </td> </tr> </table> </td> <td> <table width="100%" height="100%" border="0"> <tr height="24"> <td><TABLE WIDTH="100%" height="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0"> <TR class=moz_no_sel> <TD class="caption">&nbsp;<span id="caption" ></span></TD> </TR> </TABLE> </td> </tr> <tr> <td><div id="chat" class="chat"></div> </td> </tr> <tr height="44"> <td> <table cellpadding="1" cellspacing="1" border="0" width="100%" height=48> <tr height=22> <td colspan=6 class="input_line"> <INPUT maxlength="500" disabled type="text" autocomplete="off" class="txtinput" id="a73"></td> </tr> <tr height=22> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" onclick="input_menu_bold(this);" title="<%#GetString("CLI_TOOLTIP_BOLD")%>"><b>B</b></td> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" onclick='input_menu_italic(this);' title="<%#GetString("CLI_TOOLTIP_ITALIC")%>"><i>I</i></td> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" onclick='input_menu_underline(this)' title="<%#GetString("CLI_TOOLTIP_UNDERLINE")%>"><u>U</u></td> <td height=22 align="center" width="20" class="input_menu" onmouseover="input_menu_mouse_over(this)" onmouseout="input_menu_mouse_out(this)" id="ColorChooser" title="<%#GetString("CLI_TOOLTIP_TEXT_COLOR")%>"><b>A</b></td> <td height=22 align="center" width="20" class="input_menu" onmouseover="input

-------------


Posted By: jckruger
Date Posted: 31 May 2007 at 1:25am
Did you buy the Pro version?. I am only using the free basic version.

Sorry I have no idea what the error means.


Posted By: jckruger
Date Posted: 31 May 2007 at 1:47am
I just tried the PRO version on my laptop (Local) and got it to work but I had to add the local ASPNET account access to the database directory.


Posted By: jckruger
Date Posted: 31 May 2007 at 2:32am
Praveen,

What were you doing when you got the error?


Posted By: Praveen
Date Posted: 31 May 2007 at 5:18am
I just extracted and created an application for the same. Thats it. Ok I will try the access one. But hot to give the access?

-------------



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net