Group Mods

  • Avatar Image
  • Avatar Image
  • Avatar Image

Support: Third Party Components & Plugins (Support Group)

Post your add-ons here.

BuddyBar for bbPress (148 posts)

Started 1 year, 1 month ago by: John James Jacoby

← Group Forum   Support Forums
  • Avatar Image John James Jacoby said 1 year, 1 month ago:

    Download BuddyBar for bbPress

    Bleeding edge trunk: Use at your own risk.

    Props to r-a-y for the leg-work and reminding me I needed to put this together eventually.

    Demonstrations:
    http://delsolownersclub.com/discussions/
    http://leadpress.com/forums/

    Please test thoroughly and report back any bugs to this topic.

    If you are receiving errors regarding BP_Roles in your BuddyBar, apply patch #1032 to your WPMU trunk installation.

  • Avatar Image TheEasyButton said 1 year, 1 month ago:

    I must be exhausted. I don’t see the link for download.

  • Avatar Image John James Jacoby said 1 year, 1 month ago:

    Fixed…

  • Avatar Image TheEasyButton said 1 year, 1 month ago:

    Thank you sir =D Gonna check it out first thing in the morning.

  • Avatar Image r-a-y said 1 year, 1 month ago:

    Hey John,

    Thanks for the co-credit!
    You might want to add deep integration instructions in the readme.txt.

    Other than that, let’s see more BuddyPress sites out in the open!

  • Avatar Image John James Jacoby said 1 year, 1 month ago:

    You might want to add deep integration instructions in the readme.txt.

    It will make its way into the official readme.txt in the repo once it’s up. I tend to use a different deep integration method myself, so we’ll see how it flies in the wild. :)

  • Avatar Image John James Jacoby said 1 year, 1 month ago:

    Quick note: this currently doesn’t rehook the javascript, but it will. Just need to sleep now. Haha!

  • Avatar Image josemv said 1 year, 1 month ago:

    Cool, have U tried it with bbP A6 ?
    Thanx to U and r-a-y for this !

  • Avatar Image SlaFFik said 1 year, 1 month ago:

    It also works here:
    http://demo.cosydale.com/forum/
    It’s demo site. I’m using bbPress alpha 6, BuddyPress 1.0.1.

  • Avatar Image r-a-y said 1 year, 1 month ago:

    Quick note: this currently doesn’t rehook the javascript, but it will. Just need to sleep now. Haha!

    Since JJJ is in dreamland, for those that do want the javascript hook (even though I plan on not adding it for my own usage! Sorry IE6 users! :P ), here’s the extra code:

    Add this after line 29 of bp-buddybar.php:

    add_action( 'bb_head', 'bp_core_add_js' );
    add_action( 'bb_admin_head', 'bp_core_add_js');

    It should work, but somebody test it with IE6 and report back.

  • Avatar Image matthijsv said 1 year, 1 month ago:

    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?

  • Avatar Image r-a-y said 1 year, 1 month ago:

    Hey matthijsv,

    What line are you adding to bb-config.php?

    You should only add this to line 2:
    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');

    Let us know what happens.

  • Avatar Image matthijsv said 1 year, 1 month ago:

    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.

  • Avatar Image r-a-y said 1 year, 1 month ago:

    Hey matthijsv,

    What happens when you switch out in bb-config.php:
    include_once( '/the/absolute/path/to/your/wp-blog-header.php' );

    for
    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');

  • Avatar Image r-a-y said 1 year, 1 month ago:

    Hey matthijsv,

    You shouldn’t have to mess with wp-blog-header.php.
    Unless you made changes to it.