[bbDev] bbpress will not login if I configure it to use wordpress
user and pass cookies
Michael D Adams
mikea at turbonet.com
Tue Sep 19 23:15:56 GMT 2006
On Sep 19, 2006, at 12:04 AM, 0 1 wrote:
> When I configure bbpress to use wordpress user and pass cookies the ui
> never shows the users logged in state.
>
> Once I added the wp integration steps (outlined below). I received
> the following error:
>
> Fatal error: Cannot redeclare stripslashes_deep() (previously declared
> in /home/virtual/site22/fst/var/www/html/beta/wp-includes/functions-
> formatting.php:546)
> in /home/virtual/site22/fst/var/www/html/forum/bb-includes/
> functions.php
> on line 1520
>
> I still got the following error:
> Fatal error: Cannot redeclare get_locale() (previously declared in
> /home/virtual/site22/fst/var/www/html/beta/wp-includes/wp-l10n.php:9)
> in /home/virtual/site22/fst/var/www/html/forum/bb-includes/l10n.php on
> line 8
>
As of today there should be no more errors (assuming you define WP_DB).
I also have updated the code a bit to make cookies and such a little
simpler.
http://bbpress.org/blog/2006/09/simpler-integration-with-wordpress
Hopefully that will fix your problem?
As that page notes, registration is still annoying. A plugin or two
will ease the pain but will depend on whether you want to load both
bbPress and WordPress together all the time so you have access to
both sets of functions and APIs or if you want to have only one at a
time loaded for speed.
I'm currently working on a plugin, but I don't know when I'll have it
respectable.
As always, thoughts are appreciated.
Michael
More information about the bbDev
mailing list