WordPress functions are defined and available to WordPress.
https://codex.wordpress.org/Function_Reference
If you don’t need to use those functions, then don’t include WordPress. You don’t need to include WordPress like that to have integrated users.
724719Inactive
what are the wordpress “functions” i dont get it, coz now iv removed the line and everything works, but i may be missing something whatever these “functions” do. and yeahs i did direct it to the right wp-blog-header.php
thanks
724719Inactive
Hey, Im not sure how to go about integrating the forum with my wordpress blog… theme wise.
I mean how would I go about giving it the same theme without copying everything from the blog theme to the forum theme. as in like structure of the header of the blog inserted on the forum (would that even work)
are there any tutorials for this out there..
thanks
724613Inactive
Ok. I figured out how to get the single login working for both bbPress and WordPress…
I did understand the Function part of the setup.
I made sure the bb-config.php file looked like this.
if ( !defined(‘BB_PATH’) )
define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );
require_once(‘path/to/wp-blog-header.php’);
require_once( BB_PATH . ‘bb-settings.php’ );
724613Inactive
Ok. I figured out how to get the single login working for both bbPress and WordPress…
I did understand the Function part of the setup.
I made sure the bb-config.php file looked like this.
if ( !defined(‘BB_PATH’) )
define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );
require_once(‘path/to/wp-blog-header.php’);
require_once( BB_PATH . ‘bb-settings.php’ );
This is a quick fix for now, until bbPress gets the well needed mass-edit:
If you have your bbPress integrated with your WordPress, then all of the bozo users will show up with no role in your WP users mass-edit. You can mass delete them from there. Look out, though, because non-activated accounts show up with no role as well. I’d check in bbPress for bozos and then delete them in WP after you know who they are.
724613Inactive
Ok. Yes. Any user I create in bbPress shows up in wp_users table.
So that means I completed the checklist.. BUT what am I missing that won’t allow one user login to carry from bbPress to WordPress and vice-versa, so that a user doesn’t have to login twice?
bbPress does indeed need a mass-edit users like wordpress has.
There is a long words/long links plugin for wordpress that someone ported to bbPress. Search for it around here somewhere…
bbPress is not a competitor to WordPress, it is a complimentary product.
724613Inactive
sambauers-
I followed your checklist and feel I am doing everything right. I still can’t get it to work. How can I make absolutely sure I’m doing #5 (sharing user tables from WordPress with bbPress) correctly?
1) You are running latest versions of WordPress (2.5.1) and bbPress (0.9.0.2)
2) You have matched SECRET_KEY in wp-config.php with BB_SECRET_KEY in bb-config.php
3) You have matched WordPress “secret” database option with bbPress “secret” database setting
4) You have setup compatible cookie domains and paths in config files (see instructions in bbPress admin)
5) You are successfully sharing user tables from WordPress with bbPress
724613Inactive
I’m having the same problem! After integrating, I see how the “test user” I created shows up in both admin consoles. However, whether I login to wordpress or bbpress first, the login does not carry over to the other when navigating, which forces me to login twice. I followed all the steps, which also inlcuded adding the following to the wp-config.php file…
define(‘COOKIE_DOMAIN’, ‘*******’);
define(‘COOKIEPATH’, ‘/’);
The only thing that comes to mind is a “minor error” that I received after walking through the “successful install” of bbPress…
Duplicate key name ‘user_nicename’
>>> User tables will already exist when performing a database integrated installation.
I’m wondering if this is the problem. If so, I’m not sure how to fix it. Can someone help?
Wow! That was fast – Thanks!
You can install this with a free standing WordPress installation. Instructions are here.
I was wondering, How do I go about adding this to my WordPress install? or can you only do this for WordPress MU, i’d like it for my Self-Hosted WordPress Blog.
That line is supposed to allow you to use WordPress functions from inside a bbPress page. It looks like you just got the path to it wrong. Does the file wp-blog-header.php
actually exist one directory level up from where the bb-config.php is right now?
Hi, just published a forum with theme mirroring sister wordpress chronic gynecological issues site:
forum.Vulvodynia.pl
What do you think?
723416Inactive
Many thanks for all the good suggestions. I tried loading the wordpress functions as suggested in previous posts and could not get it to work. Same problem with SQL queries (though I’m sure I’m doing something wrong). I went back and tried the rss2html function and got it to work – so I think I’ll be able to tailor it enough to do what I need.
This would be a great plugin, for those who are able to do it:)
fiat, to do what you’re talking about, you can load WordPress inside bbPress, to have access to WordPress functions inside bbPress. It’s not recommended, but here it is:
https://bbpress.org/documentation/integration-with-wordpress/#func
https://bbpress.org/forums/topic/wp-integration-header-integration#post-17084
Yeah, I have shell access…
I had a shell script before to back up my whole schema; but I just want to back up the bbpress schema now, not the wordpress schema.
WordPress has a great plugin called wp-backup that allows you to schedule a nightly backup of your database. Is there something similar for bbPress? If not, how should I back up my data regularly?
723891Inactive
Why switch to bbpress? WordPress is highly configurable and there are a lot of plugins. And if you want you can change the source code on your own server…..
I don’t think they are even using WordPress. Looks like it is all custom code.
We will probably start using some form of display name in bbPress in the next version.
There is already a built-in way to map user roles between WordPress and bbPress within the admin area under WordPress Integration.