Skip to:
Content
Pages
Categories
Search
Top
Bottom

Integration bbPress functions in WPMU

  • bbPress is installed in /forums and WPMU is installed in /blogs .

    The cookie and database integration works fine.

    I am able to access bbPress functions from within WPMU by adding this to the end of /blogs/wp-config.php

    // Include bbPress functions in WPMU

    define('WP_BB', true); // Avoid duplicate function declarations

    require_once( ABSPATH . '../forums/bb-load.php');

    I’m trying to add WPMU functions to bbPress. I’ve tried adding this to the beginning of /forums/config.php . I’ve also tried putting this in the beginning of the file.

    require_once( dirname(__FILE__) . '/../blogs/wp-blog-header.php')

    When I go to /forums/ I’m redirected to the WPMU sign up page (/blogs/wp-signup.php?new=%2F).

    I’ve also created a simple file ( /test.php ) and tried to integrate it with wpmu. It it also redirected to the WPMU sign up page.

    Test Start

    <?php

    require_once( dirname(__FILE__) . '/blogs/wp-blog-header.php');

    ?>

    Test End

    Do I need to create a WPMU rewrite rule in the wp_1_options rewrite rulerecord? There shouldn’t be any need for an .htaccess rewrite rule since /forums and /blogs are not in subfolders of either.

    Any ideas how to make this work?

You must be logged in to reply to this topic.