Forum Replies Created
-
In reply to: wp integration cookie does not work
OK, I’ve followed the steps quite a bit, and no integration. Oddly enough, when one is signed in, the other is automatically signed out – you can’t be signed into WPMU and bbP at the same time. Step by step, this is what I did:
1 When installing wordpress/bbpress do NOT use "www." Example: use bbpress.org not http://www.bbpress.org and use the same database. You do not need to change the prefix, I prefer you don't because you'll run into problem later.
Done.
2 Make sure bbpress is in a folder in wordpress. example: wordpress/bbpress/ not on the same level.
Done. WP is in root folder, bbP is in forums
3 The folder does not have to be named bbpress, most people make it forum or forums.
*After successfully installing both programs open wp-config.php (in the wordpress folder) file. Around line # 45-# 48 you'll see define('AUTH_KEY'.... go to this URL (https://api.wordpress.org/secret-key/1.1/salt) and get the EIGHT keys and REPLACE the FOUR keys that are there. Save. Keep the file open for now.
4 Open bb-config.php (in the bbpress folder) do the same thing here. With the SAME keys you put in the wordpress file put in the bb-config file around line # 41-45. You have to add BB_ to the front of the names. Example: BB_AUTH_KEY to all eight. Save. Keep the file open for now.Done.
5 Clear your cache on your browser. Log into your bbpress dashboard and go to Settings->Wordpress Integration-> WordPress Administrator should be keymaster. Every other option should be member for now. WordPress address (URL) should be the URL again NO www. Blog address (URL) the same as before. The last 3 should be LOCKED if not repeat the steps 3&4.
Done. Address is http://analyticspros.com.s70609.gridserver.com/
6 Login to your wordpress dashboard. Go to Plugins->Add New-> search for "bbPress Integration" it should be the first one. Install it and activate.
7 Go to Settings-> bbPress Integration. Enter the bbPress URL without the www. Your plugins URL leave blank. Click on Save Changes. On the bottom box you'll see some text copy it. Most likely it will say "define( 'COOKIEPATH', '/' );"Done. This is the code:
define( ‘COOKIEHASH’, ‘c89fdd6b36f463ff1f02811d64f2f597’ );
define( ‘COOKIE_DOMAIN’, ‘.analyticspros.com.s70609.gridserver.com’ );
define( ‘SITECOOKIEPATH’, ‘/’ );
define( ‘COOKIEPATH’, ‘/’ );
8 Paste the line in wp-config.php file around line # 16 (MUST be on top. Don't know why) and paste it in bb-config.php in line # 13 (Must be on top). Save. You can delete the plugin, it's no longer needed.
9 Clear your cache on your browser and you're done.
Known Problems
*Two different database, one for WP and one for BBP, does not always work.
*Changing the database prefix. There are tutorials out there that tell you to do it, just don't.
*Hosting companies that offer free databases, have buggy databases.
*BBpress not being in WordPress folder. I don't think the plugin takes that into account.
*When you upgrade from an older version (wordpress/bbpress) the XX-config.php files are different than what you already have. Check wp-config.php against wp-config-sample.php & bb-config.php against bb-config-sample.php should be fairly simple.None of the above problems apply to me. Any ideas?