Solved

cfchat

Posted on 2006-06-13
8
261 Views
Last Modified: 2013-12-24
Like a lot of other people, I'd like to implement a chat session on my website.
I don't want to use Flash or AJAX or Flex or Director or Fusetalk or anything else other than standard cfm to html using a SQL database.
Oh, and I want it to be free.
With source code.
That's not asking for too much, is it?

There's been a few EE threads
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_10447156.html?query=chat&topics=112
http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_20264957.html
But they're getting pretty stale.

I found a "Bare Bones Chat System, V1.0" at
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn131&extID=1002138#loc=en_us&view=sn131&extID=1002138&viewName=ColdFusion%20Extension&avm=1

It's "Free, unencrypted and commented.  A good base for your own chat system and as good as some of the systems that you have to pay for. Download it, hack it, use it, junk it but don't pay for it!"

Can anyone say "Oh no, you should use (your name here) chat system.  It's much more up-to-date (uses cfcs), and is free and includes the source code and yada yada yada".
0
Comment
Question by:psenn
  • 3
  • 3
8 Comments
 
LVL 18

Expert Comment

by:Plucka
ID: 16899221
psenn,

I think that a chat system that doesn't use ajax style communication will not work.

How does the chat page know when something else has happened without refreshing all the time. You need to use either Ajax or IFRAME communication to do what you want.

Doing it using IFRAMES is simple and you could just write one, then you will have the source etc.

Regards
Plucka
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 16899436
well you can "sorta" do it using

<META HTTP-EQUIV=Refresh CONTENT="30; URL=http://somesite/somechatpage.cfm">

but all this does is continually refresh the page every 30 seconds

not sure but i think the devexchange code uses this (one i looked at a couple of years ago did)

it's ugly, server intensive and quite a poor hack but it does work...any other solutions are going to be ajax or iframe based

however, you might be able to find an open source java chat you can integrate
0
 

Author Comment

by:psenn
ID: 16899567
SidFishes!  Love the name!  The punk dba.

Yeah, I was thinking of using the ugly, server intensive and quite a poor hack model.  That's why I thought I'd better ask around first.

Plucka, I read about the <iframe> tag based on your recommendation.  It's interesting, but I haven't quite made the connection of how using <iframe> keeps them from having to do a submit each time.  It would still be a static page, wouldn't it?  Using the <iframe> tag is NOT a shortcut for AJAX, right?

I just want to implement a solution based upon what I already know, and not have to learn an entire new language or framework just to implement a one textbox classroom exercise (for lack of a better description).

I think I want sample source code because I'll probably end up keeping the chat transcripts and relate them back to my user table to see who's been asking what, when and the answer they got back.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 36

Accepted Solution

by:
SidFishes earned 250 total points
ID: 16902482
hmm...this looks like it might be a pretty simple implementation...even if it is using ajax...pre-built and open source...even comes with sql scripts for MSSQL and MySQL

http://www.opensourcecf.com/cfopenchat/
0
 

Author Comment

by:psenn
ID: 16905245
cfopenchat looks very promising.  I'll have to check it out tonight.
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 17004849
Did it work for you??
0
 

Author Comment

by:psenn
ID: 17030626
Sid,

I just got back from cfUnited, where Farcry was reintroduced as an open-source content management system, formerly a commercial product.

www.farcrycms.org.
I'm going to check it out and get back to you.
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now