Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,047
- How-to & Troubleshooting
- 129,804
- Creating & Extending
- 25,879
- Requests & Feedback
- 9,501
- Third Party Plugins
- 9,814
- Showcase
- 3,317
- Ideas
- 1,384
- Miscellaneous
- 9,182
-
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.