[Bb-trac] Re: [bbPress] #950: Move Roles out of user_meta table

bbPress bb-trac at lists.bbpress.org
Sat Dec 20 08:26:55 GMT 2008


#950: Move Roles out of user_meta table
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |        Owner:                    
     Type:  enhancement     |       Status:  closed            
 Priority:  normal          |    Milestone:  1.0-beta & XML-RPC
Component:  Administration  |      Version:  1.0-beta (trunk)  
 Severity:  normal          |   Resolution:  fixed             
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by sambauers):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 The primary culprit of the usermeta capabilities slowdown is a single
 function in the admin area used for listing out all moderators or all
 blocked.

 This plugin - http://bbpress.org/plugins/topic/user-roles-table-for-
 bbpress/ - adds a similar table to these patches to speed up the use of
 bb_get_user_ids_by_role().

 Rather than replacing the existing system of storing capabilities, this
 mirrors those caps for reaing purposes in a new and small table. Only
 those roles registered in the WP_Users object are ever added tot he table.

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


More information about the Bb-trac mailing list