pator (@pator)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’ve been two days trying to integrate WP 2.9.1 and BBPress 1.0.2.

    I’ve tried everything in this forum and the wp.org forum. Read and applied every tip.

    So now I’m posting here for help.

    I am simply trying to integrate the logins.

    the blog is site.com and the forum is site.com/foro

    I followed gerikg’s steps with no luck.

    my wp-config looks like this:

    <?php
    define('WP_CACHE', true);
    // ** MySQL settings ** //
    define('DB_NAME', '*****'); // The name of the database
    define('DB_USER', '*****'); // Your MySQL username
    define('DB_PASSWORD', '*****'); // ...and password
    define('DB_HOST', '*****'); // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    /* AUTH KEYS */
    define('COOKIEPATH', '/' );
    define('AUTH_KEY', 'GENERATED1');
    define('SECURE_AUTH_KEY', 'GENERATED2');
    define('LOGGED_IN_KEY', 'GENERATED3');
    define('NONCE_KEY', 'GENERATED4');
    define('AUTH_SALT', 'GENERATED5');
    define('SECURE_AUTH_SALT', 'GENERATED6');
    define('LOGGED_IN_SALT', 'GENERATED6');
    define('NONCE_SALT', 'GENERATED6');
    $table_prefix = 'wp_';
    /* That's all, stop editing! Happy blogging. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    my bb-config looks like this:

    <?php
    // ** MySQL settings ** //
    define('BBDB_NAME', '*****'); // The name of the database
    define('BBDB_USER', '*****'); // Your MySQL username
    define('BBDB_PASSWORD', '*****'); // ...and password
    define('BBDB_HOST', '*****'); // 99% chance you won't need to change this value
    define('BBDB_CHARSET', 'utf8');
    define('BBDB_COLLATE', '');
    <p>/* AUTH KEYS */
    define('COOKIEPATH', '/' );
    define('BB_AUTH_KEY', 'GENERATED1');
    define('BB_SECURE_AUTH_KEY', 'GENERATED2');
    define('BB_LOGGED_IN_KEY', 'GENERATED3');
    define('BB_NONCE_KEY', 'GENERATED4');
    define('BB_AUTH_SALT', 'GENERATED5');
    define('BB_SECURE_AUTH_SALT', 'GENERATED6');
    define('BB_LOGGED_IN_SALT', 'GENERATED6');
    define('BB_NONCE_SALT', 'GENERATED6');
    $bb_table_prefix = 'bb_';
    $bb->bb_xmlrpc_allow_user_switching = true;
    ?>

    I have enabled xmlrpc in WP and BB.

    The cookies that are being stored have the following values:

    wordpress_logged_in_SAMEHASHEVERYTIME
    username%7CNUMBER1%7CHASH1
    site.com
    /

    wordpress_SAMEHASHEVERYTIME
    username%7CNUMBER2%7CHASH2
    site.com
    /wp-admin
    /wp-content/plugins
    /foro/my-plugins
    /foro/bb-plugins
    /foro/bb-admin

    As you see the values of the cookies are not the same. Is this Ok?

    So, I get this cookies if I login to WP on site.com, then when I go to BB on site.com/foro, I am not logged in. If I login to BB on site.com/foro, I get logged out of WP on site.com.

    Every time I login, the cookies change, but “SAMEHASHEVERYTIME” is the same every time for WP and BB.

    I don’t know what I’m missing or where is the problem.

    Why aren’t they picking up the cookies?!

    Thank you.

Viewing 1 replies (of 1 total)