[Bb-trac] Re: [bbPress] #620: Front-end changes to enable forum hierarchy

bbPress bb-trac at lists.bbpress.org
Mon Mar 26 17:02:51 GMT 2007


#620: Front-end changes to enable forum hierarchy
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  sambauers
     Type:  enhancement  |       Status:  new      
 Priority:  normal       |    Milestone:  1.0      
Component:  Front-end    |      Version:  0.8.1    
 Severity:  normal       |   Resolution:           
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by mdawaffe):

 Rather than include a bunch of new functions, I'd like to import the
 Walker class from WP and use an extension of that both in the admin area
 and as a template function.  Hopefully the template function will then be
 flexible enough to specify depth, root, etc so that it can be used in
 several different places.

 We also need to be careful about DB queries and scalability.  Right now we
 query the whole table (which is probably fine) and then do a sort of
 complicated algorithm in bb_get_forums_hierarchical() to determine the
 hierarchy from knowing the forum_parents.

 We should probably just build the hierarchy only when it changes and store
 that info using bb_update_opiton().

-- 
Ticket URL: <http://trac.bbpress.org/ticket/620#comment:3>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list