Have you looked at the [link|/forums/SourceCode|SQL code] yet? :-)

I've been advocating nested set trees for hierarchical data for a long time. For forums specifically, too, since they are read-mostly. :-)