[Bb-trac] [bbPress] #814: Integrating with WordPress cookies is too hard

bbPress bb-trac at lists.bbpress.org
Tue Mar 11 01:46:15 GMT 2008


#814: Integrating with WordPress cookies is too hard
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:                   
     Type:  defect          |      Status:  new              
 Priority:  normal          |   Milestone:  0.9              
Component:  Administration  |     Version:  1.0-alpha (trunk)
 Severity:  normal          |    Keywords:                   
----------------------------+-----------------------------------------------
 It used to be that to integrate with WordPress, all you had to do was set
 the WordPress table prefix, home, and siteurl.  All of these things were
 easily found in either wp-config.php or the WP admin.

 Now, integration requires you to:
  1. Set BB_SECRET_KEY to match WP's SECRET_KEY.
    * When doing this through the installer, this step takes place before
 the WP Integration step and can only be seen if you click "Advanced
 Options".  If there's a whole section for WP integration, this should be
 settable in it.
    * If I'm upgrading from an old WP install for which I never defined
 SECRET_KEY, SECRET_KEY will not be defined in wp-config.php.  Where do I
 find it?
  2. Set the "Secret" in bbPress' "Cookie Integration" section to be the
 same value as WordPress's "secret" in the options table.
    * I should not have to look directly at the WP options table to find
 this value.  At the very least, I can go to WP's options.php and find it
 there.

 Maybe we can offer a WP plugin that will output (to sufficiently
 privileged WP users) the necessary integration parameters?  It could also
 outline step by step instructions:

 {{{
 BB_SECRET_KEY: btaoheuoue
 Secret in DB: aoenhao
 ...

 Step one - go to the bbPress installer and click....
 }}}

-- 
Ticket URL: <http://trac.bbpress.org/ticket/814>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list