Load Bbpress into WordPress
You should be able to use any bbPress functions you like in WordPress as long as you
Mmmmh. Tried it and got: “Fatal error: Call to undefined function __() in /path/to/bbpress/bb-includes/capabilities.php on line 27”, it is the part with “function get_roles()”. Maybe it is beacuase I have defined a role “Key Master” within WordPress (with the plugin Role Manager)?
where would this be added?
I’ve tryed to integrate bbpress in my wordpress blog, but I’ve some problems…I think in the configuration file.
I’ll post my config file for semplicity:
$table_prefix = ‘wp_’;
define (‘WPLANG’, ”);
$bb_table_prefix = ‘bb_’;
$bb->domain = ‘http://localhost/neoxyty’;
$bb->path = ‘/forum/’;
$bb->name = ‘Neoxyty forum’;
$bb->admin_email = ‘firstname.lastname@example.org’;
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = 0;
$bb->akismet_key = false;
$bb->wp_table_prefix = false; // ‘wp_’;
$bb->wp_home = “http://localhost/neoxyty”;
$bb->wp_siteurl = “http://localhost/neoxyty”;
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
The intallation of the wordpress is ok and it works, and also the installation of bbpress seams to be ok, but when I try to read a post or make some changes in the admin section it doesn’t work…
Some section are ok and other no…
Somebody can help me…please!
P.S. sorry if my english is not so good…
so you all suggest I change
or to read
try like this
Ok….did that – got the install up – but am STILL not getting the css (or stylesheet) to load.
Am seeing non-styled HTML – and most important – when I click a link to go to the first post, or login, I’m taken to the front page of the WordPress blog (posts and all)…
no sign of bbPress…..
what’s going on do you think?
Ok. found a css sheet, a new header and image files from Fernando_Graphicos <http://fernando.dubtribe.com> and got the forum up and running but it won’t let me add a forum, doesn’t recognize me as admin [after initial screen] etc…
also happening is: when I click on the link “Your First Post” (or somesuch) I get this error…
“Too many redirects occurred trying to open “http://mydomain.com/cms/bbpress/topic.php?id=1”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.”
anyone know why this is happening?
I have bbpress loaded inside wp (like this: (wp/bbace/’). All bb pages show, except when user profile is clicked on (the respective users from worpress showed up automatically) I get:
The requested URL /wp/bbace/profile/2 was not found on this server.
Or when a topic is posted (the post goes up) but I get this error:
The requested URL /wp/bbace/topic/3 was not found on this server.
On the server side, there is nothing under ‘topic’ or ‘profile’ – should this be looking for a .php script, or something in the mysql side of things?
Any pointers would be appreciated…to view the site:
Thanks in advance!
It looks like you need to set up pretty permalinks.
Thanks, I will try this (first need to figure out how to access .htaccess – reading about this now!
OK, it totally works now. Thank-you. I didn’t realize I had to CREATE a .htaccess file under my ‘/www’ folder, I somehow assumed it would already be there in the installation package, and I only needed to add the MultiViews line to allow pretty permalinks – perhaps this could be clarified in the installation instructions? I am a complete ignoramus regarding all of this stuff, so the fact that I even got it working is a testament to its simplicity. The creation of the .htaccess file had me hung for several hours though. Otherwise, great work, I am looking forward to trying this out now!
ok, so what exactly are the steps to load bbpress into wordpress?
You need to add this to the top of your wp-config.php right after
I would use the full server path to the bb-config.php file, not a relative path like
./bbpress/bb-config.php(rumor is that full paths work better) and not a URL like
http://www.example.com/bbpress/bb-config.php(URLs won’t work at all here).
That’s it, just one step. Good luck.
- You must be logged in to reply to this topic.