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)
 using the same username outside of the forum...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

skyhawks
Junior Member

USA
125 Posts

Posted - 16 August 2002 :  13:46:09  Show Profile  Visit skyhawks's Homepage
Can someone please help me? I like to use the username from the Forum (from the cookie that's generated) to be place in my chat room login... right now when ppl use the chat room, the value is "Guest". I like to have an option if they logged in before.. and use the same username (NickName) for the chat. of course if no cookie is find, the word "Guest" would be use. (btw, the chat room I am using is from www.jpilot.com Its a irc chat room for the web.

here's the applet code I use for the chat room. Thanks.

<applet name="jchat" archive="jirc_nss.zip" code=Chat.class width=100% height=400 >
<param name="CABBASE" value="jirc_mss.cab">
<param name="ServerPort" value="6667">
<param name="ServerName1" value="irc.xxx.xxx.net">
<param name="Channel1" value="mychannel">
<param name="AllowURL" value="true">
<param name="AllowIdentd" value="true">
<param name="IgnoeMOTD" value="true">
<param name="WelcomeMessage" value="Welcome to my chat room!">
<param name="RealName" value="none">
<param name="NickName" value="Guest">
<param name="UserName" value="username">
<param name="isLimitedServers" value="true">
<param name="isLimitedChannels" value="true">
<param name="BackgroundColor" value="99,132,181">
<param name="TextColor" value="black">
<param name="TextScreenColor" value="white">
<param name="ListTextColor" value="blue">
<param name="TitleBackgroundColor" value="black">
<param name="TitleForegroundColor" value="white">
<param name="NickNameColor" value="-1">
<param name="IgnoreServerMsg" value="true">
<param name="TextFontName" value="Arial">
<param name="TextFontSize" value="12">
<param name="LogoBgColor" value="white">
<param name="BorderVsp" value="2">
<param name="DirectStart" value="false">
<param name="AliasList" value="/m=/msg,/t=/topic">
<param name="FilterKeys" value=":) :( :D :P jcool">
<param name="FilterVals" value="smile.gif frown.gif biggrin.gif tongue.gif IRClogo.gif">
<param name="FieldNamePrivateChatTitle" value="Private Chat with: ">
<param name="FieldNameConnected" value="Connected to server, trying to login" >
</applet>

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

Website: http://www.johnlophotography.com

Edited by - ruirib on 16 August 2002 13:51:04

seven
Senior Member

USA
1037 Posts

Posted - 16 August 2002 :  14:15:33  Show Profile  Visit seven's Homepage
top of page:

<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_functions.asp" -->
<!--#INCLUDE FILE="inc_top_short.asp" -->

& I would add:

<% username = strDBNTusername
if username = "" Then username = "Guest" %>


Then:

<param name="NickName" value="<%=username%>">

Go to Top of Page

skyhawks
Junior Member

USA
125 Posts

Posted - 16 August 2002 :  15:20:40  Show Profile  Visit skyhawks's Homepage
THanks Airilm. It works well.

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

Website: http://www.johnlophotography.com
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07