Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: INSERT queries for new Topic and new Post

@mvds

Member

Just a question:

do you include your wp functions in bbpress? I see calls to wp functions in several bb functions (also in bb_insert_topic and bb_insert_post) and I can imagine that if you dont include wp functions in bbpress, that these statements fail.

I cannot include wp functions with the

$bb->WP_BB = true;
if (file_exists('../wp-blog-header.php'))
require_once('../wp-blog-header.php');
else
if (file_exists('../../wp-blog-header.php'))
require_once('../../wp-blog-header.php');

part because then my forums don’t work. I can’t access my bb-admin pages and bbpress doesn’t recognize my users.

Skip to toolbar