The MU forums have moved to

bbPress + WPMU cookie issue (6 posts)

  1. hempsworth
    Posted 17 years ago #


    I am running WPMU v1.2.1 and bbPress v0.8.1, WPMU is installed in the root and bbPress is installed in a subdirectory (/forum/)

    I have installed them as all of the documentation instructs and advice from these forums, but when I log into the main site and then navigate to the forums I need to log in again, and the same occurs when I sign in from the forums and navigate to the MU install.

    What could be going wrong?

    NOTE: Same issue when I am running the latest trac version of bbPress

  2. drmike
    Posted 17 years ago #

    What did you put to modify the cookie? What's the bit in bbpress's config file to get it to show the cookie.

    Need details. Somewhere along teh lines you've made a mistake but we can't point you in the right direction until you give us some details.

  3. hempsworth
    Posted 17 years ago #

    I havent done anything to modify the cookies yet, my config file looks like this:

    // ** MySQL settings ** //
    define('BBDB_NAME', '*********');      // The name of the database
    define('BBDB_USER', '***********');     // Your MySQL username
    define('BBDB_PASSWORD', '***********'); // ...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 , 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 = ''; // Example: ''
    	// There should be both a leading and trailing slash here. '/' is fine if the site is in root.
    	$bb->path   = '/forum/';				   // Example: '/forums/'
    // What are you going to call me?
    $bb->name   = 'New Forums';
    // This must be set before running the install script.
    $bb->admin_email = '';
    // 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 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
    $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 = '';  // WordPress - Options->General: Blog address (URL) // No trailing slash.  Example: ''
    $bb->wp_siteurl = '';  // WordPress - Options->General: WordPress address (URL) // No trailing slash. Example: ''
    /* Stop editing */
    if ( !defined('BBPATH') )
    	define('BBPATH', dirname(__FILE__) . '/' );
    require_once( BBPATH . 'bb-settings.php' );

    Do I need to add something then?
    And sorry for the huge post! :P

  4. hempsworth
    Posted 16 years ago #

    I've been searching, but must not be doing it right :P

    Can't find what to add to modify the cookies.

    Can you help?

  5. drmike
    Posted 16 years ago #


    Have you looked at the docs? It looks like you may have not.

  6. hempsworth
    Posted 16 years ago #

    I checked again, but I've managed to get it working by using the info in this post

About this Topic

  • Started 17 years ago by hempsworth
  • Latest reply from hempsworth