Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Integrating with Digichat
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

marktortolano
Starting Member

12 Posts

Posted - 18 May 2002 :  08:37:49  Show Profile
Hi, I'm running the latest version of Snitz with Access.

What I would like to do is:

a) add a link to my Digichat site on the navigation line that reads, "Home | Profile | Register", etc.

b) When the user clicks through to that chat launch page, pass his M_Name from the database to Digichat so they can use the same name, and preferably also pass a number that represents which icon they use in Digichat. This launch page resides outwith Snitz, and has applet code as follows:

<APPLET NAME="DigiChat"
CODEBASE="http://www.yourserver.com/DigiChat/DigiClasses/"
CODE="digi/digichat/DigiChatApplet.class"
WIDTH="200" HEIGHT="100" ALIGN="MIDDLE"
ARCHIVE="Client.jar">

<PARAM NAME="port" VALUE="8300">
<PARAM NAME="cabbase" VALUE="Client.cab">

<PARAM NAME="background" VALUE="FFFFFF">
<PARAM NAME="textcolor" VALUE="000000">
<PARAM NAME="nickname" VALUE="John Boy"> // This needs to be M_Name from Forum Members table in database
DigiChat requires a Java Compatible web browser to run.
</APPLET>


Any ideas on how I do this? Thanks,

Mark

crash
Advanced Member

Netherlands
2064 Posts

Posted - 18 May 2002 :  08:47:27  Show Profile  Visit crash's Homepage
yes.

edit inc_top.asp and find this code at the bottom:
	Response.Write	"        |" & vbNewline & _
" <a href=""members.asp""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""search.asp""><acronym title=""Perform a search by keyword, date, and/or name..."">Search</acronym></a>" & vbNewline & _
" |" & vbNewline & _
" <a href=""faq.asp""><acronym title=""Answers to Frequently Asked Questions..."">FAQ</acronym></a>" & vbNewline &_
" |" & vbNewline & _
" <a href=""YOUR_CHAT_PAGE_HERE""><acronym title=""Click here to Enter the ChatBox..."">Chat</acronym></a>" & vbNewline


add the red part to it. that's for the link to the chat.

<APPLET NAME="DigiChat"
CODEBASE="http://www.yourserver.com/DigiChat/DigiClasses/"
CODE="digi/digichat/DigiChatApplet.class"
WIDTH="200" HEIGHT="100" ALIGN="MIDDLE"
ARCHIVE="Client.jar">

<PARAM NAME="port" VALUE="8300">
<PARAM NAME="cabbase" VALUE="Client.cab">

<PARAM NAME="background" VALUE="FFFFFF">
<PARAM NAME="textcolor" VALUE="000000">
<PARAM NAME="nickname" VALUE="<%=strDBNTUserName%>"> // This needs to be M_Name from Forum Members table in database
DigiChat requires a Java Compatible web browser to run.
</APPLET>






Crash's Site | Crash is from
Go to Top of Page

marktortolano
Starting Member

12 Posts

Posted - 18 May 2002 :  09:25:48  Show Profile
Thanks Crash, you are a star - chat link works great, but I made a mistake. The parameters need to be written out as Javascript document.writelns, so I have the following in my chat launch page:

<!-- *** Parameters must be in the format: document.writeln("<PARAM NAME='' VALUE=''>");>
document.writeln("<PARAM NAME='nickname' VALUE='<%=strDBNTUserName%>'>");

This is passing in the DBNT username as a literal rather than interpolating it. Any idea what I should do to change that?

Thanks,

Mark

Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 18 May 2002 :  09:39:37  Show Profile  Visit crash's Homepage
quote:

<!-- *** Parameters must be in the format: document.writeln("<PARAM NAME='' VALUE=''>");>
document.writeln("<PARAM NAME='nickname' VALUE='" & strDBNTUserName & "'>");


i'm not that good with java... but try the red part above... remember: it's just a guess...



Crash's Site | Crash is from
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07