Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integration won’t work??

Viewing 8 replies - 1 through 8 (of 8 total)
  • It would be your database prefix:

    $bb->wp_table_prefix = 'wp_';

    Trent

    I just tried that and it does the same thing…

    :(

    I have both bbpress and wordpress in the same database. What else can I do??

    Put up a copy of your config.php with the integration portions in it. Tell us what your wordpress database prefix is and we can try and work this out. Just saying it doesn’t work will not help us help you. We need details of what you have tried and what your have entered. Just make sure you don’t put any password or other information in.

    For reference, my WP integrated config.php has these entries:

    $bb->wp_table_prefix = 'wp_';  // WordPress table prefix.  Example: 'wp_';
    $bb->wp_home = 'http://trentadams.com'; // WordPress - Options->General: Blog address (URL) // No trailing slash. Example: 'http://example.com'
    $bb->wp_siteurl = 'http://trentadams.com'; // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: 'http://example.com'

    It is important to have bbPress in the same database as wordpress. As well, give us your URL to check this out for ourselves and try and see if we can help.

    Trent

    Here is the site. NO I’m not using this for my site, this is just a test and is what domain name my friend offered haha. Nothing is inappropiate on this site, it is just for testing purposes before I buy my own domain.

    http://www.saladtossers.org/wp/bbpress/

    ‘code'<?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘mike_i126wor’); // The name of the database

    define(‘BBDB_USER’, ‘mike_i126wor’); // Your MySQL username

    define(‘BBDB_PASSWORD’, passwordhere’); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://saladtossers.org&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘test site’;

    // This must be set before running the install script.

    $bb->admin_email = ’email@gmail.com’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ”);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->akismet_key = ”; // Example: ‘0123456789ab’

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

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

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

    $bb->wp_home = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    $bb->wp_siteurl = ‘http://www.saladtossers.org/wp&#8217;; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com&#8217;

    /* Stop editing */

    if ( !defined(‘BBPATH’) )

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?> ‘code’

    Never mind I got it to work. Just one stupid thing I over looked.

    Thanks!

    What was the stupid thing? So future people can also solve their problem.

    Was it that $bb->path should have been ‘/wp/bbpress/’?

    I would imagine it was this:

    $bb->domain = 'http://saladtossers.org'; // Example: 'http://bbpress.example.com'
    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.
    $bb->path = '/bbpress/'; // Example: '/forums/'

    It needed the additional /wp/bbpress/ as the path.

    Trent

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar