RECENT POSTS

TWITTER UPDATES

How To Install BBpress In WordPress With Cookie Integration

Posted by admin On January - 12 - 2010 Comments Off

First of all take a database backup of your current wordpress blog please do it first.Now if you are failing again and again in integrating the  wordpress blog with the BBpress then it is not such that only you are having problems installing it,i and many others have same problem but for problems there are tutorials and help from members like me.

I will tell you how to do it without any confusion and missing any step.

First of all Download BBpress from here http://bbpress.org/download/

Then

Upload it to your desired folder at website root

i mean for example it it http://www.example.com then if you want to make a forum inside it create a folder like i have create forum.

Unzip the bbpress folder files only inside it.it should be like this http://www.example.com/forum

Now just open this url in browser http://www.example.com/forum you will be guided towards the installation phase.

It will ask for following updation

Your settings have been saved to the file bb-config.php
You can now continue to the next step.

Now click next

Update it with database user name ,password and database name

Now main part comes

WordPress integration (optional)

bbPress can integrate login and user data seamlessly with WordPress. You can safely skip this step if you do not wish to integrate with an existing WordPress install.
Add integration settings ?

If you want to integrate bbPress with an existing WordPress site.
Add cookie integration settings ?

If you want to allow shared logins with an existing WordPress site.
Cookies


For wordpress cookies go to wp-config.php,open it there you will find the code like this

define(‘AUTH_KEY’,'pick this code’);

define(‘SECURE_AUTH_KEY’,'pick this code’);

define(‘LOGGED_IN_KEY’,'pick this code’);

Now place them in cookie key and cookie salt well i have used same code in both cookie key and salt which means i have used same AUTH_Key,SECURE_AUTH_KEY,LOGGED_IN_KEY code for both key and salt and filled all the fields.

This is not required

define(‘NONCE_KEY’,'not required’);

Now the last step

Site name  : Title of forum
site address : Forum path for example  http://www.example.com/forum
Key master username will be automatically indentified if wordpress is integrated to the forum

first forum name – anything you like

thats it..

Now comes another problem

You must specify a table prefix in your config.php file

for it go to forum folder of you bb press then click and find and edit bb-config.php

in it you have to add this line

$bb_table_prefix = ‘bb_’;

which is default table prefix for the bbpress now it will be running check it out.

Some Notes From BBPRess

Integrating cookies allows you and your users to login to either your bbPress or your WordPress site and be automatically logged into both.

You may need to make changes to your WordPress configuration once installation is complete. See the “WordPress Integration” section of the bbPress administration area when you are done.

This value must match the value of the constant named “AUTH_KEY” in your WordPress wp-config.php file. This will replace the bbPress “auth” cookie key set in the first step.
WordPress “auth” cookie salt ?

This must match the value of the WordPress setting named “auth_salt” in your WordPress site. Look for the option labeled “auth_salt” in this WordPress admin page. If you leave this blank the installer will try to fetch the value based on your WordPress database integration settings.
WordPress “secure auth” cookie key ?

This value must match the value of the constant named “SECURE_AUTH_KEY” in your WordPress wp-config.php file. This will replace the bbPress “secure auth” cookie key set in the first step.
WordPress “secure auth” cookie salt ?

This must match the value of the WordPress setting named “secure_auth_salt” in your WordPress site. Look for the option labeled “secure_auth_salt” in this WordPress admin page. If you leave this blank the installer will try to fetch the value based on your WordPress database integration settings. Sometimes this value is not set in WordPress, in that case you can leave this setting blank as well.
WordPress “logged in” cookie key ?

This value must match the value of the constant named “LOGGED_IN_KEY” in your WordPress wp-config.php file. This will replace the bbPress “logged in” cookie key set in the first step.
WordPress “logged in” cookie salt ?

This must match the value of the WordPress setting named “logged_in_salt” in your WordPress site. Look for the option labeled “logged_in_salt” in this WordPress admin page. If you leave this blank the installer will try to fetch the value based on your WordPress database integration settings.

Comments are closed.