Cool, so I guess thats its a majority “No” for an applet chat room.
I recommend #lwjgl on freenode.
HTML chat is really silly. I got a irc client running on my pc at home, at all times, I’m always on. With HTML web chat, you need to specifically open it. Restarting your browser will log you off, while the IRC client rarely is restarted and runs in the background, and is generally much richer and convenient to use and operate.
html chat is really easy to get, in fact freenode even provide their own implementation for example #LWJGL
you can just embed the above using something like
<iframe src="http://webchat.freenode.net?channels=lwjgl" width="647" height="400"></iframe>
thats really cool. I think ill start using this for now on.
here is what it looks like in the iFrame:
http://have2chat.net/jgo
If this was something that people wanted:
- Needs to be hosted on the javagaming server or else cookies wont work on Internet Explorer - fixed
- maybe some eticate instructions explaining, that if solutions are found off forum, that they should be posted in Thread.
great job!!!
its great, but it would be nice if you could make it appear and disapear, like gamejolt.com
anyone want to help with this one
feel free to post some code.
also should the chat be linked to JGO or LWJGL?
currently its JGO
if you dont want to type in your username each time.
use the URL->
http://have2chat.net/jgo/index.php?nick=
I frequent a programming site called SoCoder.net who have a HTML based chat room. It has multiple views, many being a full webpage so I do exactly the same as you describe above by leaving it running permanently in the background until I hear someone enter. In theirs you can embed code boxes, images (which appear as just thumbnails until clicked on), youtube videos and the sites cretor even made a tag to allow you to embed games off my site (something similar could be done for a Javagaming chat room for allowing people to embed applets within the chat room). Can you do all that embedding with IRC?
IRC can also be a little intimidating to those who haven’t used it, programmers included.
I cant provide a code example at the moment but that shouldnt be too difficult with some basic jQuery, just create a small “footer” style thing at the bottom and when its clicked slideOut the chat, and when the border or something is clicked, slide it back down.
this is what i got so far:
<?php
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
$nick = $_GET['nick'];
$nick = stripslashes($nick);
$nick = htmlentities($nick);
echo'<HTML>';
echo'<META NAME="description" CONTENT="http://www.java-gaming.org/index.php">';
echo'<HEAD>';
echo'<link rel="SHORTCUT ICON" href="http://www.java-gaming.org/favicon.ico" />';
echo'<title>JavaGaming.org - With Chat</title>';
echo'<style type="text/css"> ';
echo'body { color: #000000; background-color: #ffffff; scrolling=none; font-family: Verdana, Arial, sans-serif; padding: 0px; font-size: 12px; margin: 0px}';
echo'</style> ';
echo'</HEAD>';
echo'<body>';
echo'<iframe allowtransparency="true" src="http://www.java-gaming.org/" scrolling=auto frameborder="no" border=0 width="100%" height="70%" marginleft=0 margintop=0 marginright=0 marginbottom=0></iframe>';
echo'<iframe border=0 scrolling=no frameborder="no" src ="http://webchat.freenode.net/?channels=javagaming&nick=',$nick,'" width="100%" height="25%" marginleft=0 margintop=0 marginright=0 marginbottom=0 ></iframe>';
echo'</body>';
echo'</HTML>';
?>
I havnt spent that much time in web dev, so it might be some time before i get it to hide (I havnt used jQuery before Ill look into it).
also I was thinking leave the IRC channel as JGO, for people who want help on the fly. more of an in and out room.
so far this is just playing around, but is there any possibility of actually getting it setup on javagaming?
Ah, nice side effect of this web chat irc is that it bypasses regular workplace filtering. ;D
… so can you embed media stuff within an IRC chat? I don’t use IRC and so genuinely don’t know, that’s why I asked.
no not really, its very old school and unlike Google Wave
Its entirely text based. However depending on your irc client some will automatically turn text web links to clickable links and text smilies into small pictures smilies.