Archief - Pjirc chat login applet

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

solidje

Legacy Member
heyy, zou iemand me hier kunnen helpen aub?
ik zou graag via een login applet in men chat terrechtkomen
maar dit lukt me niet helemaal..
het nickname en paswoord veld werken niet hoe het moet.

als je je nick invult kom je in de chat terrecht met anonieme nick :oink:

login Van de MosselClan

login script

Code:
<html>
  <title> login Van de MosselClan </title>

     <body>
                  <table width="264" border="0" cellspacing="0" cellpadding="4" height="80">
                    <tr>
                      
                      <form id="jform" name="jform" action="/pjirc-chat-solidje/HeavyApplet.html" method="get" target="_blank">
                        <p>
                        <div align="center">
                          <table cellSpacing="0" cellPadding="0" width="217" border="0" align="left">
                            <tr>
                              <td class="S" bgcolor="#FFFFFF" width="63" align="center">
                              <p align="justify">NickName</td>
                              <td align="center" width="199">
                                <p align="justify">
                              <input name="nick" type="textbox" size="20"  ></td>
                                </tr>
                            <tr>
                              <td class="S" bgcolor="#FFFFFF" width="63" align="center">
                              <p align="justify">Password</td>
                              <td align="center" width="199">
                                <p align="justify">
                              <input name="password" type="password" size="20"  ></td>
                                </tr>
                            <tr>
                              <td class="S" style="HEIGHT: 38px" align="center" colSpan="2" bgcolor="#FFFFFF" width="262">
                                <p>
                              <input style="width: 52; height: 20" type="image" src="login.gif" border="0" name="I1" align="right"></td>
                                </tr>
                            </table>
                        </div>
                      </form>
                      </body>

</html>

chatroom script:

Code:
<html>
<head>
<title>IRCApplet</title>
</head>
<body>

	<hr>
<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=100% height=100%>
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">



<param name="nick" src="Anonymous">
<param name="alternatenick" value="Anon???">
<param name="name" value="Simple_1.html">
<param name="host" value="irc.chattersweb.nl">
<param name="gui" value="pixx">

<param name="alternatenick" value="Anon???">
<param name="name" value="Simple_1.html">
<param name="host" value="irc.chattersweb.nl">
<param name="gui" value="pixx">


<param name="host" value="irc.chattersweb.nl">
<param name="port" value="6667">
<param name="command1" value="/join #mosseltrivia">
<param name="command2" value="/join #MosselClan">
<param name="style:bitmapsmileys" value="true">
<param name="style:smiley1" value=":) img/sourire.gif">
<param name="style:smiley2" value=":-) img/sourire.gif">
<param name="style:smiley3" value=":-D img/content.gif">
<param name="style:smiley4" value=":d img/content.gif">
<param name="style:smiley5" value=":-O img/OH-2.gif">
<param name="style:smiley6" value=":o img/OH-1.gif">
<param name="style:smiley7" value=":-P img/langue.gif">
<param name="style:smiley8" value=":p img/langue.gif">
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
<param name="style:smiley11" value=":-( img/triste.gif">
<param name="style:smiley12" value=":( img/triste.gif">
<param name="style:smiley13" value=":-| img/OH-3.gif">
<param name="style:smiley14" value=":| img/OH-3.gif">
<param name="style:smiley15" value=":'( img/pleure.gif">
<param name="style:smiley16" value=":$ img/rouge.gif">
<param name="style:smiley17" value=":-$ img/rouge.gif">
<param name="style:smiley18" value="(H) img/cool.gif">
<param name="style:smiley19" value="(h) img/cool.gif">
<param name="style:smiley20" value=":-@ img/enerve1.gif">
<param name="style:smiley21" value=":@ img/enerve2.gif">
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
<param name="style:smiley23" value=":s img/roll-eyes.gif">
<param name="style:backgroundimage" value="true">
<param name="style:sourcefontrule1" value="all all Serif 12">
<param name="style:floatingasl" value="true">
<param name="pixx:showstatus" value="false">

<param name="pixx:timestamp" value="true">
<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">
<param name="pixx:nickfield" value="false">
<param name="pixx:styleselector" value="true">
<param name="pixx:setfontonstyle" value="true">

</applet>

<hr></body>

</html>

solidje

Legacy Member
Sorry for the dubbel post.. but it works now :)


mine works now!! this is the chatroom html:

Code:
<div align="center"></div>
<script language=javascript> 
function parseQueryString () { 
 var str = str ? "" : document.location.search; 
 var query = str.charAt(0) == '?' ? str.substring(1) : str; 
  var args = new Object(); 
  if (query) { 
    var fields = query.split('&'); 
    for (var f = 0; f < fields.length; f++) { 
      var field = fields[f].split('='); 
      args[unescape(field[0].replace(/\+/g, ' '))] =  unescape(field[1].replace(/\+/g, ' ')); 
    } 
  } 
  return args; 
} 

function startChat() { 
var args = parseQueryString (); 
document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>\n"); 
document.write("<html>\n"); 
document.write("<head>\n"); 
document.write("<title>#MosselClan Chat!</title>\n"); 
document.write("</head>\n"); 

document.write("   <body bgcolor=black> \n"); 
nick = args['nick']; 
chan = args['#chill-out']; 
password = args['password']; 
server = args['irc.chattersweb.nl']; 
bkgrnd = args['www.de-chat.be/bestfriends.gif']; 
document.write("<applet name='applet' code=IRCApplet.class archive='irc.jar,pixx.jar' width=800 height=540>\n"); 
document.write("<param name='CABINETS' value='irc.cab,pixx.cab,securedirc.cab'>\n"); 

document.write("<param name='pixx:language' value='pixx-english'>\n"); 
document.write("<param name='pixx:lngextension' value='lng'>\n"); 

document.write("<param name='nick' value='" + nick + "'>\n"); 
document.write("<param name='alternatenick' value='" + nick + "??'>\n"); 
document.write("<param name='quitmessage' value='MosselClan!'>\n"); 
document.write("<param name='name' value='MosselClan 4 Life'>\n"); 
document.write("<param name='host' value='irc.chattersweb.nl'>\n"); 
document.write("<param name='port' value='6667'>\n"); 
document.write("<param name='gui' value='pixx'>\n");    
document.write("<param name='asl' value='true'>\n"); 
document.write("<param name='command1' value='/ns identify " + password + "'>\n"); 
document.write("<param name='command2' value='/join #mosseltrivia'>\n"); 
document.write("<param name='command3' value='/join #MosselClan'>\n");
document.write("<param name='highlight' value='true'>\n"); 
document.write("<param name='style:bitmapsmileys' value='true'>\n"); 
document.write("<param name='style:smiley1' value=':-) img/standard22.gif'>\n");
document.write("<param name='style:smiley2' value=':d img/content.gif'>\n"); 
document.write("<param name='style:smiley3' value=':o img/standard12.gif'>\n"); 
document.write("<param name='style:smiley4' value=':p img/langue.gif'>\n"); 
document.write("<param name='style:smiley5' value=';) img/standard15.gif'>\n"); 
document.write("<param name='style:smiley6' value=':( img/standard16.gif'>\n"); 
document.write("<param name='style:smiley7' value=':| img/smile012.gif'>\n"); 
document.write("<param name='style:smiley8' value=\":'( img/23.gif\">\n"); 
document.write("<param name='style:smiley9' value=':$ img/smile004.gif'>\n"); 
document.write("<param name='style:smiley10' value='(h) img/smile006.gif'>\n"); 
document.write("<param name='style:smiley11' value=':@ img/smile010.gif'>\n"); 
document.write("<param name='style:smiley12' value=':s img/enerve2.gif'>\n"); 
document.write("<param name='style:smiley13' value=':) img/standard22.gif'>\n");
document.write("<param name='style:smiley14' value=':'( img/23.gif'>\n");
document.write("<param name='style:smiley15' value='(alien) img/alien.gif'>\n");
document.write("<param name='style:smiley16' value='(l) img/coeur.gif'>\n");
document.write("<param name='style:smiley17' value='(u) img/coeur-brise.gif'>\n");
document.write("<param name='style:smiley18' value='(f) img/standard29.gif'>\n");
document.write("<param name='style:smiley19' value='(w) img/standard30.gif'>\n");
document.write("<param name='style:smiley20' value='(}) img/standard8.gif'>\n");
document.write("<param name='style:smiley21' value='({) img/standard9.gif'>\n");
document.write("<param name='style:smiley22' value='(b) img/standard3.gif'>\n");
document.write("<param name='style:smiley23' value='(y) img/standard1.gif'>\n");
document.write("<param name='style:smiley24' value='(n) img/standard2.gif'>\n");
document.write("<param name='style:smiley25' value='(zon) img/smile023.gif'>\n");
document.write("<param name='style:smiley26' value='(ster) img/smile022.gif'>\n");
document.write("<param name='style:smiley27' value='(ziek) img/28.gif'>\n");
document.write("<param name='style:smiley28' value='(party) img/party.gif'>\n");
document.write("<param name='style:smiley29' value='(dirty) img/dirty.gif'>\n");
document.write("<param name='style:smiley30' value='(k) img/standard27.gif'>\n");
document.write("<param name='style:smiley31' value='(snuif) img/snuif.gif'>\n");
document.write("<param name='style:smiley32' value='(rukker) img/rukker.gif'>\n");
document.write("<param name='style:smiley33' value='(banaan) img/banaan.gif'>\n");
document.write("<param name='style:smiley34' value='(strijk) img/strijk.gif'>\n");

document.write("<param name='style:sourcefontrule1' value='none+Channel all DialogInput 14'>\n"); 
document.write("<param name='style:sourcefontrule2' value='none+ChanList all DialogInput 14'>\n"); 
document.write("<param name='style:highlight' value='true'>\n"); 
document.write("<param name='style:backgroundimage' value='true'>\n"); 
document.write("<param name='style:backgroundimage1' value='www.de-chat.be/bestfriends.gif'>\n"); 
document.write("<param name='style:floatingasl' value='true'>\n"); 
document.write("<param name='pixx:styleselector' value='true'>\n"); 
document.write("<param name='pixx:setfontonstyle' value='true'>\n"); 
document.write("<param name='pixx:highlightnick' value='true'>\n"); 
document.write("<param name='pixx:nickfield' value='true'>\n"); 
document.write("<param name='pixx:configurepopup' value='true'>\n"); 
document.write("<param name='pixx:popupmenustring1' value='Whois'>\n"); 
document.write("<param name='pixx:popupmenustring2' value='Query'>\n"); 
document.write("<param name='pixx:popupmenustring3' value='Ban'>\n"); 
document.write("<param name='pixx:popupmenustring4' value='kick + Ban'>\n"); 
document.write("<param name='pixx:popupmenustring5' value='--'>\n"); 
document.write("<param name='pixx:popupmenustring6' value='Op'>\n"); 
document.write("<param name='pixx:popupmenustring7' value='DeOp'>\n"); 
document.write("<param name='pixx:popupmenustring8' value='Voice'>\n"); 
document.write("<param name='pixx:popupmenustring9' value='DeVoice'>\n"); 
document.write("<param name='pixx:popupmenustring10' value='--'>\n"); 
document.write("<param name='pixx:popupmenustring11' value='Ping'>\n"); 
document.write("<param name='pixx:popupmenustring12' value='Version'>\n"); 
document.write("<param name='pixx:popupmenustring13' value='Time'>\n"); 
document.write("<param name='pixx:popupmenustring14' value='Finger'>\n"); 
document.write("<param name='pixx:popupmenucommand1_1' value='/Whois %1'>\n"); 
document.write("<param name='pixx:popupmenucommand2_1' value='/Query %1'>\n"); 
document.write("<param name='pixx:popupmenucommand3_1' value='/mode %2 -o %1'>\n"); 
document.write("<param name='pixx:popupmenucommand3_2' value='/mode %2 +b %1'>\n"); 
document.write("<param name='pixx:popupmenucommand4_1' value='/mode %2 -o %1'>\n"); 
document.write("<param name='pixx:popupmenucommand4_2' value='/mode %2 +b %1'>\n"); 
document.write("<param name='pixx:popupmenucommand4_3' value='/kick %2 %1'>\n"); 
document.write("<param name='pixx:popupmenucommand6_1' value='/mode %2 +o %1'>\n"); 
document.write("<param name='pixx:popupmenucommand7_1' value='/mode %2 -o %1'>\n"); 
document.write("<param name='pixx:popupmenucommand8_1' value='/mode %2 +v %1'>\n"); 
document.write("<param name='pixx:popupmenucommand9_1' value='/mode %2 -v %1'>\n"); 
document.write("<param name='pixx:popupmenucommand11_1' value='/CTCP PING %1'>\n"); 
document.write("<param name='pixx:popupmenucommand12_1' value='/CTCP VERSION %1'>\n"); 
document.write("<param name='pixx:popupmenucommand13_1' value='/CTCP TIME %1'>\n"); 
document.write("<param name='pixx:popupmenucommand14_1' value='/CTCP FINGER %1'>\n"); 
document.write("</applet>\n"); 
} 
</script> 
</head> 
<title>MosselClan Chatroom</title><style type="text/css">
<!--
body {
	background-color: #999999;
	background-repeat: repeat;
}
-->
</style><body onload='startChat();'> 


</body> 
</html>
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan