/    Sign up×
Community /Pin to ProfileBookmark

Intergrated chat?

Is it possible to have a javascript chat,, i dont have a irc server and i would like to have a non 3rd party chat with banners. Does anyone know a code for this?

to post a comment
JavaScript

9 Comments(s)

Copy linkTweet thisAlerts:
@AdamBrillAug 22.2003 — You can't do that with JS. You would be best off to look for a Java chat applet to do it...
Copy linkTweet thisAlerts:
@DJRobThaManAug 22.2003 — You sure about that?????


I've been thinking about something like that lately and it seemed to me that mixing cgi and javascript might be a viable solution to an easy chat room. I'm no great shakes when it comes to cgi or coding in general but do you or anybody have an opinion on that?
Copy linkTweet thisAlerts:
@AdamGundryAug 22.2003 — Adam was perfectly correct - you can't do a chat room in JS. You can, however, implement one in a server-side language (e.g. PHP, Perl, ASP, etc.), and use Javascript to provide extra functionality.

There are lots of prewritten chat scripts out there, such as [url=http://phpopenchat.org/]PHPOpenChat[/url] - find out what server-side languages are available on your host, and search for an appropriate script.

Adam
Copy linkTweet thisAlerts:
@AdamBrillAug 22.2003 — It is possible to create a chat with any server-side language, but Java is by far the best for chats. I would look for a free Java chat first, and if you can't find one that you like, then look at some other language...
Copy linkTweet thisAlerts:
@DOSPromptAug 22.2003 — Actually, DJRobThaMan was absolutely correct. Using a little server side scripting, and not much more JavaScript, you can have a chat client without much hassle.

Having said that, I'd better emphasise the fact that you do need some sort of server side thing - PHP in my case. http://test.mooncalf.me.uk/chat.tst if you don't believe me!

However, if you want to go for some full blown-out chat room, with loads of features, then I'd not suggest going down this path - good for a laugh, but nothing serious. Java is the usual means, though there are flash versions around too.

Andrew
Copy linkTweet thisAlerts:
@AdamBrillAug 22.2003 — One of the problems with a PHP chat is that it has to refresh before it can receive any of the posts. Another problem is the load it puts on the server... It can be done(as you've shown. Actually, I made a PHP chat once. ?), but they aren't even close to Java chats...
Copy linkTweet thisAlerts:
@DOSPromptAug 22.2003 — Yeah, but using JavaScript you don't have to refresh the whole page... just the "client". But yes, the network traffic it generates is quite silly, and as you say, it's not really a viable option.
Copy linkTweet thisAlerts:
@Baby_JaiauthorAug 22.2003 — ok so what is it, now that we have played jeopardy would be the best way to go, i want a nice chat, something with some features and you could use your own name and not your ip
Copy linkTweet thisAlerts:
@Baby_JaiauthorAug 22.2003 — Where would i get a free Javascript applet chat and configure it?
×

Success!

Help @Baby_Jai spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...