Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress 1.0 released!


gen-superman
Participant

@gen-superman

I got the discussion forums for bp press working fine after updating to bbpress v1.0:

Instead of fully installing fresh the bbpress v1.0, I decided to take a different route and just updated the bbpress directory from bbpress v-1.0-rc-3 to v1.0.

That went very smoothly. I followed the update instructions that are listed on the bbpress website for the old 0.9.0.2. Those update instructions still work, but the bbpress v1.0 seems to update much more smoothly then that.

The Steps I followed for upgrading(Keep in mind I have WPMU):

– Make sure WordPress is updated to fullest version, mine is currently WPMU 2.7.1

– Make sure you already have the following plugins installed, updated and configured:

a) BuddyPress 1.0.2

b) bbPress Integration 1.0

– Now follow the directions listed on the bbpress website, which is the old upgrade/update procedures for bbpress 0.9.0.2.

(Although my current version was bbpress v-1.0-rc-3)

– Make sure that you have the following:

a) I had to create a separate bbpress keymaster account for it to work, so I have the admin account for my wordpress mu and a separate keymaster account for my bbpress. That was the only realistically way of getting this to work for me, it kept erroring on me if I didn’t.

b) While in your keymaster bbpress account make sure that you have the plugin BuddyPress Support Plugin installed (You might check for an update version.)

c) Now begin the documentation upgrade/update stuff. You don’t have to turn off the plugins as I didn’t and it worked fine.

d) You will want to follow the instructions and remove the directories through FTP in your bbpress that need removed.

Here is it word for word from the bbpress website:

To upgrade bbPress from a previous version takes just a few minutes.

These instructions cover upgrading to version 0.9.0.2

First, you should always back up your files and your database in case something goes wrong.

Second, deactivate all plugins.

Third, keep the following files and directories.

1. Rename your existing config.php file to config.old.php (and keep it)

2. my-plugins/ (if you have it)

3. my-templates/ (if you have it)

and delete everything else.

Fourth, upload the newest version of bbPress to your server.

Fifth, visit your bbPress site and run the installer which appears. On step one of the installer, enter the database details for the same database you had been using for the previous version. The installer will either create a new config file or show you the contents to paste into a file manually. Then complete the rest of the installation process.

Sixth, log in and visit your bbPress admin panels. If you see an upgrade link instead of the normal screens, click it. If you don’t see an upgrade link (it would have been really obvious), continue to the next step.

Seventh, visit the new “Settings” area of the admin and edit any details or settings in the “General” section. Also reactivate your plugins one by one (some may need to be upgraded as well).

Eighth, sit back and relax; you’re done!

e) Now, just upload your new bbpress v1.0 files to the directory. Go, to the url of your installed bbpress and insert the bbpress sql database information that you created.

f) At this point it will politely yell at you once you click next, informing you that the database is already created and that a bbpress is already installed.

g) Now, keep in mind that your bb-config.php file is brand new now. So, you will need to copy your old “KEYS” from the bb-config.old.php back to the new bb-config.php. Otherwise the discussion group forums check box won’t appear in the buddypress group creations.

* @since 1.0
*/
define( 'BB_AUTH_KEY', '###########################' );
define( 'BB_SECURE_AUTH_KEY', '##################################' );
define( 'BB_LOGGED_IN_KEY', '#####################################' );
define( 'BB_NONCE_KEY', '###########################################' );
define( 'WP_AUTH_COOKIE_VERSION', 1 ); // Because it is wordpress mu v2.7.1
/**#@-*/

h) Make sure that you in your new bbpress v1.0 on your website, that you login with the keymaster account that you created, as the bbpress keymaster has the access to the bbpres plugins sections. In the settings section, check the wordpress integration settings. Make sure all the keys are correct, next you will want to click on the box at the bottom that reads :

Show advanced database settings

If your bbPress and WordPress site do not share the same database, then you will need to add advanced settings.

Make sure you input your wordpress mu 2.7.1 sql database configuration settings into those fields. Otherwise, all of this will be for nothing and it would integrate and the users wont show up correctly. BTW, user database host is typically ‘localhost’.

Now click Save changes at the bottom of that page.

i) Back at the wordpress mu portion of your site, you will want to login back in with your admin account. Then go to your buddypress settings and click on forums Setup. You will want your bbpress username and passwords field to match your wordpress admin account only in this section. I couldn’t get the keymaster account to work with this part.

j) Now go to the groups section of the buddy press, you should see the “Group Forums discussion enable” box now there.

k) Lastly, don’t forget to check your wp-config.php settings, to make sure that the keys are properly set up there too.

For example:

* @since 2.6.0
*/
define('AUTH_KEY', '###################################');
define('SECURE_AUTH_KEY', '######################################');
define('LOGGED_IN_KEY', '#######################################');
define('NONCE_KEY', '##########################################');
define('AUTH_SALT', '##########################################');
define('LOGGED_IN_SALT', '############################################');
define('SECURE_AUTH_SALT', '#######################################');
define( 'COOKIE_DOMAIN', '.yourwebsiteurl.com' );
define( 'SITECOOKIEPATH', '/' );
define( 'COOKIEPATH', '/' );
define( 'COOKIEHASH', '##############################' );
/**#@-*/

Hope that helps.

Skip to toolbar