You are here: Re: Threaded (subject indented) php forums? « PHP Programming Language « IT news, forums, messages
Re: Threaded (subject indented) php forums?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация