[Bb-trac] Re: [bbPress] #707: forums need meta data ability (in addition to users and topics)

bbPress bb-trac at lists.bbpress.org
Fri Aug 31 17:52:06 GMT 2007


#707: forums need meta data ability (in addition to users and topics)
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |        Owner:         
     Type:  enhancement  |       Status:  new    
 Priority:  normal       |    Milestone:         
Component:  Back-end     |      Version:  0.8.2.1
 Severity:  normal       |   Resolution:         
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by fel64):

 You could probably make quite a neat bb_meta table to take care of all
 metadata. Columns ''meta_id, object_type, object_id, meta_key,
 meta_value''. object_type would be 'topic', 'forum' or 'post' or anything
 really, object_id would be the topic_id or forum_id or post_id (enabling
 per-post flags), the rest used just as they are now. Queries could easily
 select meta for anything, and it would end this inelegant use of topic_id
 0 as options because you could have an object-type 'option', too (and the
 object_id would be disregarded in that case). The only thing that this
 table couldn't meta is users, since that would break integration with WP.

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


More information about the Bb-trac mailing list