i uploaded the bbpress folder into the wordpress folder, and then i edited config-sample as shown below: (slighty edited)
// Just the
domain name; no directories or path. There should be no trailing slash
here.
$bb->domain = ‘http://shadesofblack.free1k.com’; // Example:
‘http://bbpress.example.com’
// There should be both a leading and
trailing slash here. ‘/’ is fine if the site is in root.
$bb-
>path = ‘wordpress/bbpress/’; …….
$bb->wp_table_prefix = ‘wp_’; // WordPress table prefix.
Example: ‘wp_’;
$bb->wp_home = ‘my-domain-name.com/wordpress’;
// WordPress – Options->General: Blog address (URL) // No trailing
slash
$bb->wp_siteurl = ‘www.my-domain-name.com/wordpress’; /
and when i’m going to run install, nothing happened, it just lead me right back to my blog. so i tried another version of my installion… this time, i moved the bbpress folder into the main directory, and edited the config file: trailing slash here. ‘/’ is fine if the site is in root.
$bb-
>path = ‘/bbpress/’;
i was then shocked with what i saw.. the installion message! i entered a username for keymaster: admin and it said that it’ll use my wp password. i tried logging in but i couldn’t. i was taken right back to the index page. i’ve surfed around this forum and realized that wp integration options in the config file will only work if bbpress is uploaded into the wordpress directory. but i really can’t do that because as i’ve said, i tried that in my first install yet nothing happened. help please!
I am integrating WPMU and BBPress and I have users and cookies shared perfectly. My problem is that prior to the integration my username (admin) was set as a keymaster.
But after it admin is no longer a keymaster.
I need to find a way to set him to keymaster.
I have tried $bb->new_keymaster = true; in my config.php file, then re-running bb-admin/install.php, but that gives me the error that No Such USername exists.
All I need to do is set the user admin to keymaster status. Any help much appreciated!
abbaanthony, It looks like you’re using a copy of the code-in-development.
Try using the official bbPress release.
mdawaffe,
Actually i need to disable both plugin at the same time
thanks, waffe. i am going to try that. mozey, i get the same satisfaction. and yes waffe, i am having no problems with my wordpress.
Hello, I was directed to this topic by mdawaffe [via https://bbpress.org/forums/topic/52?replies=23%5D and am having a bit of difficulty implementing this.
On my site, I’m not using a subdomain, instead I have bbPress located in a seperate folder from my WordPress installations ( localhost/wordpress and localhost/bbpress). I modified the code somewhat and it the problem hasn’t subsided.
Here’s my modified code in bbPress’s config.php:
// Cookies, bbPress fix
$bb->cookiedomain = 'localhost';
$bb->cookiepath = '/';
Thanks!
I have tried to add the above line to my install of bbpress and I get the following error:
Fatal error: Cannot redeclare allowed_tags() (previously declared in /home/taacus/public_html/wordpress/wp-includes/general-template.php:602) in /home/taacus/public_html/wordpress/bbpress/bb-includes/template-functions.php on line 949
What am I doing wrong?
why is it that i always get a sense of satisfaction when i create a thread that goes ON and ON?
If you have console access…
- Login to your server.
- start mysql:
mysql -u root -p
and when prompted enter your password. (Or use any non root ID that has privilages to update your bbpress database.)
- select your bbPress db:
use <yourDBname>;
- change the admin password thus:
update bb_users set user_pass="0c390ae9909d8b87af27dd01f911d336" where ID=1;
exit
from MySQL
- Login as your admin ID using your new admin password, which, if you use the above example, is now
bbpress
.
- Change your password.
Just one database is enough provided that the two bbPress installs have different values for their $bb_table_prefix
settings in their config.php files.
Like
bb_
for one and
bb2_
or bb_cool_
(or whatever) for the other.
and if I install 2 bbpress in my website (2bbpress ..not 2 sections).
I should have 2 MyQsl database??? or just 1 is enough?
suleiman, if you installed bbPress first and then changesd it’s user tables to integrate with WP, none of those users have any adminn capabilities in bbPress.
Follw the steps here https://bbpress.org/forums/topic/52?replies=21#post-795 and let us know.
This will be fixed in the next release of bbPress. Thanks!
Atsutane,
Can you disable Ultimate Tag Warrior to see if that fixes both problems by magic?
doubter,
Can you try moving the file bb-includes/db-mysqli.php somewhere safe and then copying bb-includes/db.php to bb-includes/db-mysqli.php (so that the mysqli file is a duplicate of the other file)?
And, just to help troubleshoot, WordPress is working fine for you on that server?
Thank you! I’ll post the instructions when I get a chance.
suleiman,
https://bbpress.org/documentation/integration-with-wordpress/
CTRL^f “We have a WordPress plugin to”
right after that, there are two wp plugins that I BELIEVE gets around this. give them a try. let us know if it works.
My BBpress MySQL are only 9 strings and the Size are: 36,9 KB and one post size are 3,60 kb s0 10*1000 = (10.000/3,60) = 2777,77 post i think but that is still a lot, i got 2 blogs and one bbpress on my MySQL and i only uses about 1MB and my database is 150 MB i think
That’s pretty cool, but the plugin is only available for WordPress. That means you’d have to call the wordpress tag within bbPress, and I dont load wordpress with my forum (way too complicated for what i need)
However, somebody could take the wordpress code and customize it for bbPress
Sounds like more work than I can get into right now…the integrations on abunchofcars looks great btw. Would you be willing to post your mods somewhere? It may be handy to have something like this with a little instruction so others can integrate, and just edit a single variable, such as width, to accomodate different wp templates…..thanks!
Only problem here is that I’m no longer the KeyMaster on my BBPress install!
does anyone else experience the problem where they stop being the KeyMaster when sharing user accounts? I’m having that issue now and I can’t login to my admin!
Fatal error: Cannot redeclare widget_akismet() (previously declared in /path/to/wp-content/plugins/akismet/akismet.php:376) in /path/to/wp-content/plugins/akismet/akismet.php on line 376
I dont know what went wrong, but this happen when i try to loading wordpress 2.0.5 using bbpress 0.73. Before when i using wordpress 2.0.4 and bbpress 0.72 on my another blog, i dont have such problem. Is it because i have update my akismet plugin or i did something wrong in the config? I only put this on the top of my config.php
require_once(‘/path/to/wp-blog-header.php’);
define(‘WP_BB’, true);
I also have the same problem with Ultimate tag warrior but i can disable that plugin, but i dont want to disable akismet. Anyone got any good suggestion?