It was giving me the “Admin” link along the top and when ever I pressed it, it would always forward me back to the forum home. But I just went to look again and now it works….
Strange (or maybe not).
I think maybe I hadn’t finished the wordpress integration completely? Seems to be working now.
Thanks
Looks like the bbPress forum footer.php is trying to load a WordPress file? For this integration, maybe you should find the file that’s being referred to (_contentfooter.php) and just hard code the path to it, rather than relying on the constant THEME_LIB, which doesn’t appear to be working.
One problem at a time.
Also, it’s just a warning, although it’s warning you something is not working. On a production site, you should not display warnings. During development, it’s good to see them, even if they’re just logged, so you can fix problems like this.
When you log in to your forum, as keymaster or administrator, the link for administration will be present. Until you are logged in with permissions, accessing bb-admin directly like that will just keep redirecting you to the forum home.
If you are already logged in but trying to access bb-admin, chances our the user account you are using is not the keymaster or administrator.
Did you integrate with WordPress?
I want to setup a bbPress forum on my website EstateYard.com immediately, but my concern is what happens when eventually bbPress is turned into a WordPress plugin as they are planning to do? Will my forum members all need to re-register, and will I lose all my topics? Or will there be some way to integrate the entire database with my WordPress database?
First, thanks to all for the thought and information you’ve put out here. As someone who is trying to do exactly what wood2695 is attempting – it’s really helpful. I have just tried wood2695’s suggestion of adding the code given to
in /bb-admin/options-wordpress.php, I added
$wpRoles = array(
‘administrator’ => __(‘WordPress Administrator’),
‘editor’ => __(‘WordPress Editor’),
‘author’ => __(‘WordPress Author’),
‘contributor’ => __(‘WordPress Contributor’),
‘subscriber’ => __(‘WordPress Subscriber’),
‘s2member_level4’=> __(‘s2Member Level 4’),
‘s2member_level3’=> __(‘s2Member Level 3’),
‘s2member_level2’=> __(‘s2Member Level 2’),
‘s2member_level1’=> __(‘s2Member Level 1’)
);
and then in /bb-includes/functions.bb-users.php, I added
static $wordpress_userlevel_map = array(
‘administrator’ => 10,
‘editor’ => 7,
‘author’ => 2,
‘contributor’ => 1,
‘subscriber’ => 0,
‘s2member_level4’=> 0,
‘s2member_level3’=> 0,
‘s2member_level2’=> 0,
‘s2member_level1’=> 0
);
However, after I did that my forum turned to a white page for both logged in and logged out users. Any ideas?
You cannot control bbPress from inside WordPress, so that one’s easy.
you have to go to http://www.yoursite.com/bbpress-directory/bb-admin/
bbPress isn’t a WordPress plugin but a standalone software.
The administration panel of bbPres is at /bb-admin
Hi,
This sounds pretty dumb and I feel dumb asking it but where is the Dashboard for bbpress?
I’ve integrated the wp site with bb using this plug in http://wordpress.org/extend/plugins/bbpress-integration/
I cannot any way of controlling bbpress in my WP dashboard and I when I log into my bb-login.php it doesn’t show any bbpress dashboard.
Am I missing something right before my eyes?
Nice easy one for you hotshots – Help appreciated.
(I feel like one of those cases that use their CD tray as a mug holder)
The issue with loading WP header is that you don’t load a very important line for most plugins “bb_head()”
You could probably get around this issue by adding something like this in your bbPress theme’s functions.php:
function bb_head_in_wp_head() {
bb_head();
}
add_action( 'wp_head', bb_head_in_wp_head' );
Though this is true w/ deep integration:
(advantage you can load any WP functions in bbP. Disavantage it will slow down your forum because you’re loading WP & bbP at the same time constantly)
echo get_user_name(get_post_author_id());
sorry I was missing something…
There’s a much better way.
My “Hot Tags Plus” plugin makes the output into a static file, already compiled so there’s zero overhead the next time you want to display it.
You can then just use php’s readfile to include it on any page you want outside of (or even inside) bbPress, you just have to figure out the full path to it on the server.
Alright, it turns out I was a bit preemptive in declaring “Mission Accomplished.”
I modified your code because it originally didn’t work. Here is where I am stuck.
http://pastebin.com/rKBL3Wiy
Now, the link shows up formatted correctly, but it links to the wrong page and then redirects home.
You see, post_author calls up the user’s Display Name, not their username, which is what post_author calls.
So that links to http://www.example.com/members/Brian Stevens, rather than http://www.example.com/members/bstevens
Does anyone know the code to call the username, rather than display name? post_author_id also did not work. I’m not sure how to call their account name.
Close, but the code was slightly off, and I was able to adjust it to my needs.
Thanks!
try this:
http://pastebin.com/9Y1mPZwY
I had a better solution but I can’t remember it now. The code above only works if bbpress is in wordpress folder which 99% of people do.
Hello,
I have just completed integrating bbPress into my WordPress MU installations. Buddypress is also installed, but I have not taken other steps in order to integrate Buddypress with bbPress significantly. It works really well: when a user signs up on WordPress, they appear as a user in bbPress.
I have only run into one problem, which is this.
On post.php in my theme file, I use <?php post_author_link(); ?> as a link the author’s profile. By my understanding, this should link to the Buddypress profile without any additional set up. Instead, when I click the link it goes to the post author’s site as defined in the user’s Profile in the WordPress Admin Dashboard. I want post_author_link to go to their Buddypress profile, not an external website. Obviously their Buddypress profiles are more important since the site focuses on community. Linking to an external site will detract from that quite greatly.
Thank you for any help on this matter.
I’m not sure I’m using the ‘WordPress bbPress cookie plugin’ you mention
https://wordpress.org/extend/plugins/bbpress-integration/
I have only tested it in my XAMPP sandbox (Debian) cause I had only few minutes for it. Apache/2.2.12, PHP/5.3.0, MySQL 5.1.37.
The “email is required” error can be spawn only from register.php file line 33 and only if $_POST isn’t defined (well I just made a quick look so I could have written something that isn’t true.) But it’s very strange. If you want to make a quick test do print_r($_POST); and see what you got.
Damn I can’t help. Maybe it’s the first time in my life in which I would like to have a software bug.
Please don’t download the copy from bbshowcase.org as it still has a reference to the Anarchy Media plugin for wordpress in the header.php line 19 which needs to be removed. Since I was getting a call for every single page view for every single hit to every single site using it, the cheapest bandwidth was protecting the site. That being said, I have a copy that does work fine at:
http://adamsranchltd.com/bbpress-forum.zip
Thanks,
Trent
Please don’t download the copy from bbshowcase.org as it still has a reference to the Anarchy Media plugin for wordpress in the header.php line 19 which needs to be removed. Since I was getting a call for every single page view for every single hit to every single site using it, the cheapest bandwidth was protecting the site. That being said, I have a copy that does work fine at:
http://adamsranchltd.com/bbpress-forum.zip
Thanks,
Trent
Thanks a lot for your help, zaerl – at least we now know that it should be working, or at least it looks like it should be. That’s valuable info.
I’m not sure I’m using the ‘WordPress bbPress cookie plugin’ you mention – I think I’ve seen several plugins that promise to get the integration right – can you point me to the ‘right’ one?
The only plugin I’m using is bbPress Integration 1.0 by Michael Adams and Sam Bauers.
Any other suggestions/guesses? I’d be happy to report back – finding out what’s causing the “email is required” behaviour might be helpful to everybody, considering that there’s at least one other person (Terranb) who’s getting this, and also in light of kevinjohngallagher’s and timskii’s remarks.
Some more information:
The configuration is the same as zaerl’s (except maybe for the plugin mentioned above) – WordPress and bbPress are sharing users, I don’t get booted out of one when I log into the other etc.
The site is hosted on Media Temple’s Grid Service, running PHP 5.2.6 and MySQL 5.1.26
Feel free to have a look if it helps (it’s work in progress):
http://dev.sandithom.com
I’ve tried switching back to the default theme, but the problem was exactly the same…
Thanks everybody – good to find people who are passionate about making it work.
I have tested it. bbPress 1.0.2, WordPress 3.0 RC1. Cookies integration, members integration, same database, WordPress bbPress cookie plugin.
I can create users from bbPress and from WordPress. No problems with the user database and other stuff like that. No problems with the login from WordPress and/or bbPress.
I have checked the wp_users database schema of WordPress 2.9.2 and 3.0. It’s the same. I’m sorry but I can’t reproduce the “email is required” bug.
bbPress does integrate well with WordPress 2.9.2 which is the the current stable release. On the docs page it’s very well specified:
bbPress integration should work with most recent version of WordPress in the 2.9.x series.
If BBPress is going to de-integrate with WordPress, it’s worth publicising that fact as soon as possible: Plenty of people will upgrade WordPress without checking that BBPress still works, while registration errors generally aren’t apparent to the administrator.
I hope this “bug” isn’t intended. Forcing a ‘blog registration isn’t a terribly straightforward solution for those that have historically structured everything to use forum registration…