Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bpContents 1.0 Alpha 1 – Member, Group and Blog Tagging for BuddyPress


Burt Adsit
Participant

@burtadsit

For jeffsayre:

// Check for bp being loaded, if not try and load it
// Insures that bp is loaded before this plugin
if (!function_exists('bp_core_setup_globals')){
if ( file_exists( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' ) ){
require_once( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' );
}
else{
echo "BuddyPress is not installed!";
return;
}
}

This seems to work Jeff. Just doing bp-core.php doesn’t. The loader is the one we need.

Skip to toolbar