Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS