<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: bbPress 0.219 and Wordpress 2.51</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: bbPress 0.219 and Wordpress 2.51</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 01:42:41 +0000</pubDate>

<item>
<title>benjeewest on "bbPress 0.219 and Wordpress 2.51"</title>
<link>http://bbpress.org/forums/topic/bbpress-0219-and-wordpress-251#post-15825</link>
<pubDate>Sun, 27 Apr 2008 20:53:56 +0000</pubDate>
<dc:creator>benjeewest</dc:creator>
<guid isPermaLink="false">15825@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi folks, there seem to be many people out there having similar issues, but I've spent all evening looking through for a solution and still no luck. &#60;/p&#62;
&#60;p&#62;I'm trying to do a full integration of bbPress 0.219 and Wordpress 2.51, full integration meaning that bbPress should load Wordpress functions and vice versa. &#60;/p&#62;
&#60;p&#62;Wordpress appears to be playing very nicely and loading bbPress template tags with no problems at all. I've done this using&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
//BBPress Integration&#60;br /&#62;
if ( !defined('BBDB_NAME') )&#60;br /&#62;
require_once(ABSPATH.'forum/bb-load.php');&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
at the very end of my wp-config.php file, as per the tutorial at&#60;br /&#62;
&#60;a href=&#34;http://www.adityanaik.com/integratepress-part-i/&#34; rel=&#34;nofollow&#34;&#62;http://www.adityanaik.com/integratepress-part-i/&#60;/a&#62; . As I say, no problem so far.&#60;/p&#62;
&#60;p&#62;It's when I try to load WP functions into bbPress that I run into trouble. When I've attempted either of the following two mods to bb-config.php, it has disabled user login, as well as blocking me from /bb-admin (which re-directs straight back to home). The two mods to bb-config.php I have tried are:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
// Wordpress Integration //&#60;br /&#62;
define('WP_BB', true);&#60;br /&#62;
if ( !defined('DB_NAME') ) {&#60;br /&#62;
require_once( dirname(__FILE__) . '/../wp-config.php');&#60;br /&#62;
}&#60;br /&#62;
// **Wordpress Variables ** //&#60;br /&#62;
$bb-&#38;gt;wp_table_prefix = 'wp_'; // your wordpress db prefix is&#60;br /&#62;
$bb-&#38;gt;wp_home = 'http://localhost/bloomag';&#60;br /&#62;
$bb-&#38;gt;wp_siteurl = 'http://localhost/bloomag';&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
 or simply&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
require_once( 'C:\testingserver\www\bloomag\wp-blog-header.php');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;With both these mods, the bbPress page loads up with no problems but, as I say, both /bb-admin and any attempt to log-in give no response and just redirect to the hompage.&#60;/p&#62;
&#60;p&#62;Has anyone got any suggestions for what might be going wrong and the correct method to call WP functions into bbPress?&#60;/p&#62;
&#60;p&#62;Thanks a lot,&#60;br /&#62;
&#38;gt;Ben
&#60;/p&#62;</description>
</item>

</channel>
</rss>
