If you can see the Admin link but can’t get in, this is a cookie problem and if you can’t even see the admin link, then you don’t have the privilege, fix it here – http://blog.ashfame.com/2009/09/fix-lost-admin-access-bbpress/
Looks like you got it done. Post a link to your forums. You need a little bit of CSS to fix that.
I’ve gotten this to work this way so far:
Put this line in bb-config.php
require_once( '/your/full/path/wp-load.php');
In the files listed below, replace
<?php bb_get_header(); ?> with
<?php get_header(); ?><div id="container">
<div id="content" role="main">
<?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?>
and <?php bb_get_footer(); ?> with
</div>
</div>
<?php get_footer(); ?>
404.php
edit-post.php
favorites.php
forum.php
front-page.php
login.php
password-reset.php
profile-base.php
profile-edit.php
profile.php
register.php
register-success.php
search.php
stats.php
tag-single.php
tags.php
topic.php
I use Twentyten with one right sidebar. I decided I didn’t want it in the bbPress section of the site. If you want it, replace the footer code above with this:
</div>
<?php get_sidebar(); ?><div id="primary" class="widget-area" role="complimentary">
</div><?php get_footer(); ?>
I want bbPress to fill the width of the “container”. I can the following in-line style in each page (<div id=”content” role=”main” style=”width: 95%; font-size: 1.2em;”>`), but I’m sure I can use the style sheet to define a class or something and do it right – that is once I get Twentyten to read the bbPress style sheet.
I’d also like to rearrange the objects on the page, which I may also work on once I can use the style sheet.
May not like it when I’m done, but it’s been a learning experience!
How to make WordPress Posts, BBpress topics .. and intergrate the posts
Will do. Thanks! Sweet dreams.
I haven’t played with twentyten code yet so can’t say if that will be easy for you to follow up. I am in my bed right now, typing this on my mobile.↲You do one thing, get back to me tomorrow & I will tell you. I am quite busy with my schedule so if I don’t come back on my own, hit me an email > ashishsainiashfameatgmaildotcom↲
Perhaps I should have included this info in my last reply. This is the error I get when using the code you recommended in bb-config.php:
Parse error: syntax error, unexpected ‘;’ in /myfullpath/public_html/bbpress/bb-config.php on line 15
Line 15: if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST'))
FWIW, I learned from another tutorial that I needed to put this code at the end of the bb-config.php file:
require_once( '/myfullpath/public_html/wp-load.php');
I found that the integration will not work without it.
Is there a way for me to pull my page navigation over from wordpress to put in my header instead of having to manually change the page navigation in bbpress anytime I add a page in wordpress?
Your’s is one of the tutorials I followed, Ashfame. It helped me a great deal and I’m grateful to you for it. However, the following code broke my site:
/* Deep integration */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST'))
{
define('WP_USE_THEMES', false);
include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}
I started replacing the bb_get tags as you recommended in front-page.php. As I said, I could not get the get_sidebar to work.
Also, I moved ahead with your instructions regarding the style sheets, and then on to editing the twentyten them header.php to insert the link to the bbpress theme and couldn’t figure out where to put the link – it broke my wordpress.
What am I missing?
‘trunk’ ?
I’m still a newbie – I though the download was the latest release “approved”
I didn’t even know of that bug list
… so good is the documentation … and I’ll bet that most users don’t or can be bothered to dig around in the maze of code to figure out why it doesn’t perform how expected.
This sort of bug fix is easy to apply – affecting only a couple of lines of code there ought to be a forum/list somewhere to enable these sort of changes to be publicised – perhaps there is but I just haven’t connected with it yet.
Still at least I managed to fix this problem one on my own … I get the feeling watching others struggle that this is what comes with bbPress … being on your own
I’m running WP 3.01 using the Twentyten theme and have successfully integrated bbPress with WP so that everything works but the theme (and the need to log out of WP or bb to administer the other – which my research indicates is “normal” at this time).
I’ve followed several tutorials in order to get bbPress integrated into the WP Twentyten theme but with no luck. I can get the header and footer to display properly, but I can’t figure out out to get the Twentyten sidebar to display properly. I’m sure it’s something simple, or simply can’t be done. I’m not exactly a newbie to all of this, but have clearly reached my limit.
Does anyone know of a tutorial, or can anyone give me some guidance on this? TIA
Hi Paul,
Just so you know, if you areusing the bbpress plugin that works with buddy press, then you’re not using bbpress.
It’s a fork from last years release hacked to work with buddypress. That’s not to say bad things about it though, how it was done was really great, it’s just confusing.
Don worry though, they’re making a new wordpress plugin that’s not this software or the buddypress plugin, and they’re going to call that bbpress too. At thy time, we’ll all b confused
Sorry, I did not specify I was referring to the trunk version of bbPress, which is not the one you find on the Download section.
Hi Chris
thanks for reply – yes seems to work ok here. its located at http://www.byte.org.uk – i have buddypress with forum capability which is run by bbpress. it seems to be stripping out all the from the posts. i know there was a previous problem by the look of the forums about backslashes showing where they shouldnt – this may be in part due to the fix…
it might as you say be a buddy press issue – ive stuck a post on their forum too but have not had a reply as yet.
Paul
Seems to work here. So, where is your forum located, and what plugins are you using?
Also, since it’s BuddyPress, you might want to check at the BuddyPress support forum since I have never heard of the problem with bbPress before.
Hi im having a few problems posting posts with backslashes in (ie for a location on a hard disk) they all seem to be removed from the post once it is up. can i stop this from happening as the posts dont make much sense without them?
im using bbpress in a buddypress setup
thanks
Paul
It’s a known bug, fixed in [2400] if I remember correctly.
http://bbshowcase.org/forums/view/top100
Top 100 is enough for you? No need to register.
Moved the bbpress directory to verify it wasn’t a possible collision between the old “forums” page and the “forums” sub directory. Does not appear to be the issue (in other words same symptoms).
Also verified no errors in my server error log (get undefined get_header() errors if i remove the require(blah/wp-load.php))
Having similar issues…
Symptoms:
1) Blank forum page if i navigate to http://www.drunkencoders.com/forums/
2) Forum loads if i http://www.drunkencoders.com/forums/index.php
3) Blank page if i follow any of the forum title links
I did however have a wordpress page called “forums” at one point (since deleted) which would have also resolved to this location…possible issue?
I am using bb-config to load wp-load.php on startup per the suggestions (seems to work as indicated by direct navigation to index.php).
I am using the wp functions to load header and footer info (this also works as i get my wp site blog wrapped properly around my otherwise plain bbpress install if i navigate directly to index.php)
Any suggestions or thoughts?
agh, who registers to see just a list of websites.
thankee kindly pagal.
I am awfully eager to join a good community that uses bbpress as their forum software. Could you post some, please?
Thanks in advance.
I’m new to bbPress and I’m having the hardest time figuring out how to enable/display gravatars on my site.
I’ve tried:
if ( $avatar = bb_get_avatar( bb_get_current_user_info( ‘id’ ), 80 ) ) {
echo $avatar;
unset( $avatar ); }
With the PHP tags on the start and end. I’ve added the code on the profile.php file of my template as well as on the post.php file and nothing is showing.
Do I need to do an img src as well?