|
Posted by Erwin Moller on 02/01/08 09:49
salmobytes wrote:
> I'm shopping around for php based forum/bulletin board software.
> PhpBB is (obviously) popular. But I don't like the linear way its
> topic threads
> are presented.
>
> In the old days, the earliest forums were files based. File-naming
> schemes
> could be used so threads could be presented as indented, hierarchical
> post lists,
> where it was visually obvious that post number 5 was a direct response
> to
> post number 3, etc. In all the mysql-based forums I've seen so far
> each thread is presented as a linear line of responses to a head topic
> listing,
> where the individual response-to-which-response hierarchy is lost.
>
> Perhaps this has something to do the difficulty sql has in modeling
> hierarchical
> structures. Regardless, are there any php/mysql based forums out
> there, that start off
> by presenting a topic list, *BUT WHERE* individual thread histories
> are presented
> as an indented hierarchy? Maybe I'm just blind. I've looked at
> several and haven't found
> it yet.
Hi,
Well, it is not difficult to create a threaded view.
I wrote a few discussionfora in the past that do this, but they were
written in JAVA, not PHP.
It also offered the option to 'link' your response to multiple other
articles.
It boils down to storing parentid of a response, like Rik explained,
using recursive logic. (I sidestepped the real recursive logic by using
an alternative algoritm, but that was because I was having trouble with
the multiple parents.)
If you are going to write your own threaded forum that uses multiple
parent, I will gladly share my experience with you if needed.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|