Re: Any idea to integrate wp and bb login forms?
Well, I have think in a more elegant solution, but this is for wordpress users that inserted bbpress in their wordpress interface. I have it half working though. First of all, my wp-login and wp-registering forms are integrated in my custom theme because I hacked wb-login.php.
Whenever you login in wordpress there is a function in the sidebar, that displays two links;
Site Admin -> link to wp profile.php
This links are defined in /wp-includes/general-template.php -> line 50
$link = $before . '<a href="' . get_option('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;
You can change /wp-admin/ for bbpress/profile.php
The first failure of this theory is that bbpress uses an id to show user profiles; bbpress/profile.php?id=1 and I have no idea how to add this id to the link plus I don’t know if bbpress user id are the same that in wordpress.
The second failure is that if you are the admin you should get the original link to /wp-admin/
this should be something like if user = admin then “link to /wp-admin/” else “link to /wp-admin/profile.php?id=n user”
but since I have no idea of how to code all this I can’t go further