Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Mar 2001, 02:51
shaggster shaggster is offline
 
Join Date: Aug 2002
as anybody inported the user names ect.. into jpilot java chat?
well i was looking at the coding that jpilot does and it looks like it could be posible..
here is the code for a sample html it comes with
<HTML>

<HEAD><TITLE>JPilot Chat </TITLE></HEAD>
<BODY bgcolor=white>

<center>
<TABLE width="100%">
<tr>
<td bgcolor=gray>
<font size=-1>
Jpilot jIRC applet only support Netscape4.0, IE4.0 or above.<br>
Please grant the permission when the pop up window appears from Netscape
and IE.<br>
</font>
</td>
</tr>


<TR><TD align=left>

<nobr>
<applet archive="jirc_nss.zip" code=Chat.class
width=500 height=200 >

<param name="CABBASE" value="jirc_mss.cab">


<param name="ServerPort" value="6667">

<param name="ServerName1" value="irc.mindspring.com">
<param name="ServerName2" value="irc.blackened.com">
<param name="ServerName5" value="irc.concentric.net">
<param name="ServerName4" value="irc.prison.net">
<param name="ServerName3" value="dallas.tx.us.undernet.org">

<param name="Channel1" value="jpilot">
<param name="Channel2" value="finance">
<param name="Channel3" value="sports">
<param name="Channel4" value="science">
<param name="Channel5" value="movies">
<param name="Channel6" value="jpilot">

<param name="AllowURL" value="true">
<param name="AllowIdentd" value="true">

<param name="WelcomeMessage" value="Welcome to Java IRC chat!">
<param name="RealName" value="JPilot jIRC applet User">
<param name="NickName" value="Guest">
<param name="UserName" value="jirc">
<param name="isLimitedServers" value="true">
<param name="isLimitedChannels" value="true">

<param name="MessageCol" value="80">

<param name="BackgroundColor" value="99,132,181">

<param name="TextColor" value="pink">
<param name="TextScreenColor" value="white">
<param name="ListTextColor" value="pink">

<param name="TextFontName" value="Arial">
<param name="TextFontSize" value="12">

<param name="ConfigNickOnly" value="true">
<param name="NickNChannelOnly" value="true">
<param name="LogoBgColor" value="white">
<param name="BorderVsp" value="3">
<param name="DirectStart" value="false">

<param name="FGColor" value="black">

<param name="TitleBackgroundColor" value="black">
<param name="TitleForegroundColor" value="white">


<param name="InputTextColor" value="pink">
<param name="InputScreenColor" value="white">
<param name="IgnoreLevel" value="3">

<param name="DisplayConfigRealName" value="false">
<param name="DisplayConfigServer" value="false">
<param name="DisplayConfigPort" value="false">
<param name="DisplayConfigMisc" value="false">


</applet>
<p>

</TD></TR>
</TABLE>
</center>
now how would i be able to inport the user names of the person tring to join the chat.. i came up with part of the script
if ($page == "client") {
if ($bbusername != "") {
$num = $bbusername ;
}
if ($bbusername == "") {
$filename = "chat_count.txt";
$contents = file($filename);
$length = strlen($contents);
$number = 0;
$count = 0;
$num = $guestnick.$length ;
$handle= fopen($filename,'a+');
$string = "+";
fputs($handle, $string);
fclose($handle);
}
but am wondering how to inport that to the script its self
and redo that whole html file to php
any ideas?
really need some help could be a posible hack
Reply With Quote
  #2  
Old 27 Mar 2001, 11:21
Guest
 
nobody can think of away to do this? aww man.. i think it would be pritty neat hack..
personally...
Reply With Quote
  #3  
Old 21 May 2001, 02:27
Trail
Guest
 
I wish you got a reply.. it would be a realy neat trick indeed
Reply With Quote
  #4  
Old 21 May 2001, 17:40
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Im not entirley sure what you are trying to achive? I run the jIRC applet as well and I have to get the poster, registered or not, to enter his/her nickname into the client before they conenct.

So either, your trying to get it to grab the username and make jIRC connect automatically with that as the IRC nickname

or

You want to keep track of how many people are conencting though your IRC applet and show it in a "whosonline" fashion.
Reply With Quote
  #5  
Old 22 May 2001, 20:47
shaggster shaggster is offline
 
Join Date: Aug 2002
i have already done it and have released it..
check out other posts by me. i forget the url to the thread
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB Erwin vBulletin 2.x Full Releases 102 11 Oct 2005 15:55



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:31.

Layout Options | Width: Wide Color: