Skip to:
Content
Pages
Categories
Search
Top
Bottom

WordPress Integration

  • I am trying to make my wordpress blog integrate with bbpress but I think their might be a problem. I have two wordpress blogs in my webserver so maybe bbpress dont know with table to look.

    This is if I log in first in bbpress without login in the blog

    bbPress database error: [Table 'libreexp_bbpress.wp_users' doesn't exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND SUBSTRING_INDEX( user_pass, ‘—’, 1 ) = ‘fb756366af4998835a845e97addc3a3b’

    bbPress database error: [Table 'libreexp_bbpress.wp_users' doesn't exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’

    Log in Failed

    This is if I log in to the blog first and then go to the bbpress

    bbPress database error: [Table 'libreexp_bbpress.wp_users' doesn't exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44′

    bbPress database error: [Table 'libreexp_bbpress.wp_users' doesn't exist]

    SELECT * FROM wp_users WHERE user_login = ‘admin’ AND MD5( user_pass ) = ‘d465d8c05bbf7c921e1fad84d4358e44′

    This is my conf file

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ‘wp_’; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://macuserboricua.com’; // WordPress – Options->General: Blog address (URL) // Example: ‘http://example.com’

    $bb->wp_siteurl = ‘http://macuserboricua.com’; // WordPress – Options->General: WordPress address (URL) // Example: ‘http://example.com’

    Help please I would love to mac this two work together

Viewing 9 replies - 1 through 9 (of 9 total)
  • I think maybe I need to do this but I dont know how

    bbPress will not have access to WordPress’ functions unless you manually tell bbPress to load WordPress first. In order to do that, you need to put require_once(‘path/to/wp-blog-header.php’); in bbPress’ config.php (wp-blog-header is in the same directory as WordPress’ wp-config.php file).

    I think the problem is that I have two wordpress blogs in the same host and the prefix is the same for both.

    Please help I have been trying for 3 days now, I think I tried everything on this forum without any luck.

    I also upgraded to 0.8.3 and installed all the plugins that I found

    It sounds like like your WordPress tables are in a different database (with a different database name and password).

    bbPress can handle that situation too, but you need to help it a bit more. You need to define:

    USER_BBDB_NAME, USER_BBDB_USER, USER_BBDB_PASSWORD, and USER_BBDB_HOST.

    (with your WordPress database name, username, password, and host, respectively) just like you defined the regular BBDB_ database settings.

    So technically I dont need the bbpress database? I just have to use the wordpress database for the blog and the forum?

    Ok I changed all the info and when I reload the page is going to the installer. Would this affect my blog if I install bbpress in the same database.

    I know this are newbie questions but trust me I am working very hard on getting better I have big plans and maybe one day I will be troubleshooting a newbie.

    Thanks in advance

    Ok so went ahead and did it. Is working now, Thank for the hint. A really appreciated.

    They can be in the same database, and it won’t cause any problems. They can be in different databases too. bbPress will work in either situation, though it’s easier to set up if bbPress and WordPress share the same database.

    Thank You I finally got them working in the same database.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.