Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

  • matthijsv
    Participant

    @matthijsv

    Installed the plug-in, it’s looking good! I’ll post results after I’ve done some testing.

    Question: I want to create a widget just like the wordpress calender: http://www.sajidmc.net/wp-content/uploads/2009/04/screenshot-1.png

    but than for the events. Any idea’s how I can do this quickly?

    I know how to script, but don’t know where to start with this.


    matthijsv
    Participant

    @matthijsv

    Is there any news on BP1.1 compatibility, Giovanni?


    matthijsv
    Participant

    @matthijsv

    Nice to see that you’re still working on the plugin! I’m very interested.


    matthijsv
    Participant

    @matthijsv

    Any updates on compatibility with BP1.1? I’ve installed the latest bleeding version of BP but when including the wp-blog-header.php I now get a blank screen at the forums.

    Any idea’s?


    matthijsv
    Participant

    @matthijsv

    Some more debuggin for the admin bar in combination with Transposh(and maybe some other WP-plugins that manipulate output in a special way)

    if(!strpos($_SERVER['SCRIPT_NAME'],'forums/rss.php') and !strpos($_SERVER['SCRIPT_NAME'],'admin')) {
    if ( !defined( 'ABSPATH' ) & !defined( 'XMLRPC_REQUEST' )) {
    define( 'WP_USE_THEMES', false );
    //
    // You will need to get the ABSOLUTE path to this file |
    // \|/
    include_once( 'public_html/wp-blog-header.php' );
    header( "HTTP/1.1 200 OK" );
    header( "Status: 200 All rosy" );
    }
    }


    matthijsv
    Participant

    @matthijsv

    OK, figured it out.

    Apperaenly the word press shutdown sequence isn’t being called by the plugin. For Transposh this means that

    function on_shutdown() {
    ob_flush();
    }

    is not being called.

    I now added ob_flush() to the footer of my template and the problem is solved!


    matthijsv
    Participant

    @matthijsv

    @transposh:

    Problem seems to be with the output buffering.

    Output is getting buffered on initialization and my guess is that it is somehow never flushed.

    init_global_vars();

    if (isset($_POST['translation_posted'])) {
    update_translation();
    }
    elseif (isset($_GET['tr_token_hist'])) {
    get_translation_history($_GET['tr_token_hist'], $_GET['lang']);
    }
    elseif (isset($_GET['tp_gif'])) {
    $trans_gif_64 = "R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
    header("Content-type: image/gif");
    print(base64_decode($trans_gif_64));
    exit;
    }
    else {
    //set the callback for translating the page when it's done
    ob_start("process_page");
    }
    }

    When I comment out the ob_start line forums are working. Will test Transposh in a bit.


    matthijsv
    Participant

    @matthijsv

    Thanks for your support!

    Figured it out: Transposh Translation Filter was causing the blank page. http://transposh.org/


    matthijsv
    Participant

    @matthijsv

    wp-load.php got the same result.

    Started off with a clean install (was planning on doing this later on) the Buddybar plug-in is working great!

    Now enabling/installing plug-in’s one by one to might figure out what caused the problem.


    matthijsv
    Participant

    @matthijsv

    No, I can only activate the plugin without adding the deep integration code.

    Conclusion: problem is with the including wp-blog-header.php in bb-config, not specifically in the plugin.

    Without the deep integration code the forum is working perfectly.


    matthijsv
    Participant

    @matthijsv

    Nothing happens, the server just sents a total blank page to the browser. So there’s no activating the plugin unfortunately.


    matthijsv
    Participant

    @matthijsv

    It’s hosted on a subdomain, but when I echo the output of $_SERVER[‘DOCUMENT_ROOT’], this seems to be matching with the correct path.


    matthijsv
    Participant

    @matthijsv

    Hey ray,

    I’m using

    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php'); right now but no different result.

    I find it strange that there is no output at all, no error messages…

    Ok, no changes to wp-blog-header.


    matthijsv
    Participant

    @matthijsv

    I was adding these lines (from the readme.txt)

    if ( !defined( 'ABSPATH' ) & !defined( 'XMLRPC_REQUEST' )) {
    define( 'WP_USE_THEMES', false );
    //
    // You will need to get the ABSOLUTE path to this file |
    // |/
    //include_once( '/usr/home/dragons/domains/dragonsconnect.eu/public_html/preview/wp-blog-header.php' );
    header( "HTTP/1.1 200 OK" );
    header( "Status: 200 All rosy" );
    }

    When I add the line you suggested I get the same result, no response at all from any bbpress page.

    -edit-

    Seems that wp-blog-header.php is causing the error, I’m expirimenting with commenting out some lines there atm.


    matthijsv
    Participant

    @matthijsv

    Thanks for the plugin! Using BudduPress 1.02 and Bbpres 1.01 I’expericiencing some problems:

    When I add the lines to my bb-config.php the only thing I get is a blank page, (error reporting seems to be not the issue).

    When I activate the plugin in the bbpress admin panel I get the following error:

    Fatal error: Call to undefined function get_site_option() in /usr/.../my-plugins/bp-buddybar.php on line 37

    Any suggestions?

Viewing 15 replies - 1 through 15 (of 15 total)
Skip to toolbar