[Bb-trac] Re: [bbPress] #1051: Integration bugs during 1.0 install with custom user table

bbPress bb-trac at lists.bbpress.org
Sun Mar 15 13:52:44 GMT 2009


#1051: Integration bugs during 1.0 install with custom user table
----------------------------------+-----------------------------------------
 Reporter:  Denis-de-Bernardy     |        Owner:                  
     Type:  defect                |       Status:  new             
 Priority:  normal                |    Milestone:  1.0-beta        
Component:  Installation/Upgrade  |      Version:  1.0-beta (trunk)
 Severity:  normal                |   Resolution:                  
 Keywords:                        |  
----------------------------------+-----------------------------------------
Comment (by Denis-de-Bernardy):

 Extra update! I finally got it to work as expected, so it actually seems
 that my using multiple WP installs with shared users tables had something
 to do with it.

 Steps to reproduce:

  - wp1_ and wp2_ as wp prefixes
  - bb_ as bb prefix
  - salts and keys configured as needed
  - in the bb config, enter wp_ as prefix
  - configure the shared users/usermeta tables as they should

 Diagnosis: it seems bb_press checks for wp_capabilities in the usermeta
 table. When it should really check for wp1_capabilities (and it works fine
 when the prefix is set to wp1_).

 Suggestion: Instead of falling back to creating a wp_users and wp_usermeta
 table, BB should raise the error, and highlight that no users were found
 in the specified database. For instance: "Please confirm the database
 prefix, as no users with any capabilities were found for that WP
 installs."

 Leaving this open for information, in case someone wants to pick it up.
 Else, close as invalid/needs to be documented. :-)

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


More information about the Bb-trac mailing list