View Single Post
  #1  
Old 03-27-2001, 01:51 AM
shaggster shaggster is offline
 
Join Date: Aug 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Quote:
<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
Quote:
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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02201 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete