You can either have a single-dimensioned thread (like a mailing list) or
you could go infinite with your threading.  Best way to manage it is in
your database.  Something like:

Messages table
--------------
msgText 
Parentid
Msgid

Here's some sample data:

|msgID|msgText|Parentid|
|-----|-------|--------|
|1    |test1  |0       |
|-----|-------|--------|
|2    |test2  |1       |
|-----|-------|--------|
|3    |test3  |2       |
|-----|-------|--------|

Test1 is a top level message (no parent), test2 is a reply to test1, and
test3 is a reply to test2

---
Billy Cravens
Web Development, EDS
[EMAIL PROTECTED]


-----Original Message-----
From: Fuon See Tu [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 05, 2001 5:36 PM
To: CF-Talk
Subject: Message Board Threads confusion


hey guys i wanna build a message board, but am having difficulty with
the 
concept of threads.  Let's say there is a message, and 10 people respond
to 
that same message.  Are those ten people in the same thread?  or not?
But 
let's say that person B replied a message From person A, then person C 
replied to person B, then D to C, and so on.  Is that considered a
thread?  
What if person X Y and J responding individually to person C's message.

does that mean A,C,B,X,Y, and J are all in the same thread?
confusing!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to