Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/11/2011 08:44:20 PM (14 years ago)
Author:
djpaul
Message:

Fix blog posts not showing in activity stream in non-multisites. Fixes #3445, props boonebgorges and paulgibbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r4961 r4965  
    302302                <th scope="row">
    303303                    <h5><?php _e( 'Sites', 'buddypress' ); ?></h5>
    304                     <p><?php _e( 'Displays individual groups as well as a directory of groups.', 'buddypress' ); ?></p>
     304                    <p><?php _e( 'Displays a directory of the sites in your network.', 'buddypress' ); ?></p>
    305305                </th>
    306306                <td>
     
    312312        </table>
    313313
    314         <p><?php _e( 'Would you like to enable site tracking, which tracks activity across all of your network?', 'buddypress' ); ?></p>
     314        <p><?php _e( 'Would you like to enable site tracking, which tracks blog posts and comments from across your network?', 'buddypress' ); ?></p>
    315315
    316316        <div class="left-col">
     
    428428            <tr valign="top">
    429429                <th scope="row">
    430                     <h5><?php _e( 'Members', 'buddypres' ); ?></h5>
     430                    <h5><?php _e( 'Members', 'buddypress' ); ?></h5>
    431431                    <p><?php _e( 'Displays member profiles, and a directory of all site members.', 'buddypress' ); ?></p>
    432432                </th>
     
    472472                    <th scope="row">
    473473                        <h5><?php _e( 'Forums', 'buddypress' ); ?></h5>
    474                         <p><?php _e( 'Displays individual groups as well as a directory of groups.', 'buddypress' ); ?></p>
     474                        <p><?php _e( 'Displays a directory of public forum topics.', 'buddypress' ); ?></p>
    475475                    </th>
    476476                    <td>
     
    482482            <?php endif; ?>
    483483
     484            <?php /* The Blogs component only needs a directory page when Multisite is enabled */ ?>
    484485            <?php if ( is_multisite() && isset( $active_components['blogs'] ) ) : ?>
    485486
     
    487488                    <th scope="row">
    488489                        <h5><?php _e( 'Sites', 'buddypress' ); ?></h5>
    489                         <p><?php _e( 'Displays individual groups as well as a directory of groups.', 'buddypress' ); ?></p>
     490                        <p><?php _e( 'Displays a directory of the sites in your network.', 'buddypress' ); ?></p>
    490491                    </th>
    491492                    <td>
     
    10231024            if ( !function_exists( 'bp_core_update_message' ) )
    10241025                require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-admin.php' );
     1026
    10251027            bp_core_add_admin_menu();
    10261028
     
    11101112        bp_core_install_extended_profiles();
    11111113
    1112     // Only install blog tables if this is a multisite installation
    1113     if ( is_multisite() && !empty( $active_components['blogs'] ) )
     1114    // Blog tracking
     1115    if ( !empty( $active_components['blogs'] ) )
    11141116        bp_core_install_blog_tracking();
    11151117}
     
    11371139
    11381140    // On first installation - record all existing blogs in the system.
    1139     if ( !(int)$bp->site_options['bp-blogs-first-install'] && is_multisite() ) {
     1141    if ( !(int)$bp->site_options['bp-blogs-first-install'] ) {
    11401142        bp_blogs_record_existing_blogs();
    11411143        bp_update_option( 'bp-blogs-first-install', 1 );
Note: See TracChangeset for help on using the changeset viewer.