'bbpress' ), 'options-general.php' ) );
restore_current_blog();
$button_text = __( 'Configure bbPress', 'buddypress' );
} else {
$button_url = bp_get_admin_url( add_query_arg( array( 'tab' => 'plugin-information', 'plugin' => 'bbpress', 'TB_iframe' => 'true', 'width' => '640', 'height' => '500' ), 'plugin-install.php' ) );
$button_text = __( 'Install bbPress', 'buddypress' );
}
$action = bp_get_admin_url( 'admin.php?page=bb-forums-setup&reinstall=1' ); ?>
read this codex article.', 'buddypress' ), 'http://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/using-bbpress-2-2-with-buddypress/' ) ?>
'bbpress' ), 'options-general.php' ) );
restore_current_blog();
$button_text = __( 'Configure bbPress', 'buddypress' );
} else {
$button_url = bp_get_admin_url( add_query_arg( array( 'tab' => 'plugin-information', 'plugin' => 'bbpress', 'TB_iframe' => 'true', 'width' => '640', 'height' => '500' ), 'plugin-install.php' ) );
$button_text = __( 'Install bbPress', 'buddypress' );
}
switch( $step ) {
case 'existing':
if ( isset( $_REQUEST['doinstall'] ) && ( 1 == (int) $_REQUEST['doinstall'] ) ) {
if ( !bp_forums_configure_existing_install() ) {
_e( 'The bb-config.php file was not found at that location, please try again.', 'buddypress' );
} else {
?>
All done! Configuration settings have been saved to the file bb-config.php in the root of your WordPress install.', 'buddypress' );
break;
default:
// Just write the contents to screen
_e( 'A configuration file could not be created. No problem, but you will need to save the text shown below into a file named bb-config.php in the root directory of your WordPress installation before you can start using the forum functionality.
', 'buddypress' ); ?>
plugin_dir . '/bp-forums/bbpress/' ) ) { ?>
read this codex article.', 'buddypress' ), 'http://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/using-bbpress-2-2-with-buddypress/' ) ?>