Skip to:
Content
Pages
Categories
Search
Top
Bottom

impossible to include bbpress in other systems?


  • balgo
    Member

    @balgo

    how can i include bbpress in another system? the scope issues are confusing me.

    Fatal error: Call to a member function get_results() on a non-object in bb-includes/functions.php on line 1761

    TEST.PHP:

    <?php

    bb_load();

    function bb_load()

    {

    global $bb, $bbdb, $bb_current_user, $page, $bb_cache, $posts, $bb_post, $post_id, $topics, $topic, $topic_id, $forums, $forum, $forum_id, $tags, $tag, $tag_name, $user, $user_id, $view, $bb_roles, $bb_table_prefix, $bb_locale, $bb_timestart, $timeend; #….???

    require(‘./bb-load.php’);

    }

    ?>

You must be logged in to reply to this topic.