Wordpress与BBpress安装时整合详细步骤! « 痞子刘的幸福生活

Wordpress与BBpress安装时整合详细步骤!

Step1我就不再赘述了,无非是填写数据名和用户名及密码。这里我选择的是把bbpress与wordpress安装在同一数据库中。如图:

2

Step2 是最关键的一步,就是与wordpress进行整合的所有参数设置都在这里!

3

当然这一步是optional也就是可选的,跳过这一步可以等安装完再进行整合也行,但是根据我的测试,这样容易造成用户的权限混乱。选中”Add integration settings” 前面的复选框,弹出具体需要设置的参数的输入框,每一个参数输入框的后面都是一个小帮助按钮,那个东西很有用哦!~ 按照帮助的提示进行设置,集成肯定是没有问题的。

bbPress installer › Step 2

在设置这一部分的时候,一定要打开wordpress的后台,同时把wordpress根目录的wp-config.php 文件用记事本打开,对照来进行设置!

1、WordPress address (URL):

就是你的博客的地址。在后台的“常规设置”里面有!

2、Blog address (URL):

有人的wp和blog并非一个地址,也是在wp后台的“常规设置”里。

3、WordPress “auth” cookie key:

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

这个值必须和你的Wordpress的wp-config.php 文件里面的”AUTH_KEY” 的值对应。第一步生成的bb的配置文件里面的该参数将会被自动覆盖。

4、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.

这个值必须和你的后台设置里面的”auth_salt”的值相对应,蓝色部分是一个链接,点击进入以后就是你的wp的后台设置(地址是:http://你的博客地址/wp-admin/options.php)。如果留空,安装程序将会尝试自动获取。(建议进入wp后台手动获取,填入此处)

5、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的wp-config.php 文件里面的”secure auth” 的值对应。第一步生成的bb的配置文件里面的该参数将会被自动覆盖。

6、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后台设置里面的”secure_auth_salt”的值相对应,蓝色部分是一个链接,点击进入以后就是你的wp的后台设置。如果留空,安装程序将会尝试自动获取。很多时候这个值在Wordpress里面并没有设置,可以留空。(这个在后台找不到对应的,填写wp后台的secret的值即可。)

7、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的wp-config.php 文件里面的”LOGGED_IN_KEY” 的值对应。第一步生成的bb的配置文件里面的该参数将会被自动覆盖。

8、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.

这个值必须和你的Wordpress后台设置里面的”logged_in_salt”的值相对应。

9、Add user database integration settings

这一步的设置会整合wp和bb的用户,在“user database table prefix” 下面填写你的wp数据表在数据库中的前缀!这里默认的是: wp_ 。请一定要查看数据库,以确保准确无误。如下图所示:

c

到这里BBpress安装过程中的整合选项已经设置完毕,点击保存按钮进步step3。

Step3:这一步里面大家就会发现用户已经集成了哦!~

d

填入相应设置后,点击保存。出现如下的提示信息:

f

10、接下来是Wordpress方面的设置了,先到这里下载插件:bbPress Integration。上传至插件文件夹,其实可以后台安装的,呵呵。装完到wp后台启用该插件。设置下面就会出现这个插件的链接,点击进入设置页面,这里的设置很简单。

g

填入相应的地址,保存后,下面就会出现一个参数设置,比如我这里就是:

define( ‘COOKIEPATH’, ‘/wp/’ );

把这一行放入Wordpress根目录的wp-config.php文件中。

shit,累死我了,到这里基本就大功告成了!去试试吧!

转载地址:http://www.emstudy.cn/182.html

作者:铁猴子

发表评论