Skip to:
Content

BuddyPress.org

Ticket #5531: 5531.02.patch

File 5531.02.patch, 10.3 KB (added by boonebgorges, 11 years ago)
  • bp-core/bp-core-admin.php

    diff --git bp-core/bp-core-admin.php bp-core/bp-core-admin.php
    index a77fff8..34820fa 100644
    class BP_Admin { 
    488488
    489489                $pretty_permalinks_enabled = ! empty( $wp_rewrite->permalink_structure );
    490490
     491                $image_base = buddypress()->plugin_url . 'bp-core/images/bp20/';
     492
    491493                list( $display_version ) = explode( '-', bp_get_version() ); ?>
    492494
    493495                <div class="wrap about-wrap">
    494496                        <h1><?php printf( __( 'Welcome to BuddyPress %s', 'buddypress' ), $display_version ); ?></h1>
    495497                        <div class="about-text">
    496498                                <?php if ( $is_new_install ) : ?>
    497                                 <?php printf( __( 'It&#8217;s a great time to use BuddyPress! %s is our first version with a new component in over two years. Not only that, there are plenty of new features, enhancements, and bug fixes.', 'buddypress' ), $display_version ); ?>
     499                                        <?php printf( __( 'It&#8217;s a great time to use BuddyPress! With a focus on speed, admin tools, and developer enhancements, %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?>
    498500                                <?php else : ?>
    499                                         <?php printf( __( 'Thanks for updating! BuddyPress %s is our first version with a new component in over two years. Not only that, there are plenty of new features, enhancements, and bug fixes.', 'buddypress' ), $display_version ); ?>
     501                                        <?php printf( __( 'Thanks for updating! With a focus on speed, admin tools, and developer enhancements, BuddyPress %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?>
    500502                                <?php endif; ?>
    501503                        </div>
    502504
    503                         <div class="changelog">
    504                                 <h3><?php _e( 'Check out the highlights:', 'buddypress' ); ?></h3>
    505 
    506                                 <ul>
    507                                         <li><strong><?php _e( 'You can now add dynamic BuddyPress links to custom navigation menus.', 'buddypress' ); ?></strong></li>
    508                                         <li><strong><?php _e( 'Notifications have been moved into their own component.', 'buddypress' ); ?></strong></li>
    509                                         <li><strong><?php _e( 'Three new widgets, allowing easier site customization.', 'buddypress' ); ?></strong></li>
    510                                 <ul>
    511                         </div>
    512 
    513505                        <div class="bp-badge"></div>
    514506
    515507                        <h2 class="nav-tab-wrapper">
    class BP_Admin { 
    551543                        <?php endif; ?>
    552544
    553545                        <div class="changelog">
    554                                 <h3><?php _e( 'Dynamic links for custom navigation menus', 'buddypress' ); ?></h3>
    555 
    556                                 <div class="feature-section">
    557                                         <p><?php printf( __( 'It&#8217;s now easy to add BuddyPress-specific links to your menus through <a href="%s">Appearance &gt; Menus</a>. For example, you can now add a link to a specific user profile screen, and each person will end up at that screen inside their own user profile.', 'buddypress' ), admin_url( 'nav-menus.php' ) ); ?></p>
    558                                 </div>
     546                                <h2 class="about-headline-callout"><?php _e( 'Performance Improvements', 'buddypress' ); ?></h2>
     547                                <img class="about-overview-img" src="<?php echo $image_base ?>performance.png" alt="Performance improvements in BP 2.0" />
     548                                <p><?php esc_html_e( 'Whether your community has tens of members or tens of thousands, we think the performance improvements in BuddyPress 2.0 will knock your socks off. We&#8217;ve slashed our memory footprint and query overhead across the board, with a special focus on the Activity and Members components.', 'buddypress' ) ?></p>
    559549                        </div>
    560550
    561551                        <hr />
     552
    562553                        <div class="changelog">
    563                                 <h3><?php _e( 'Notifications component', 'buddypress' ); ?></h3>
     554                                <h2 class="about-headline-callout"><?php _e( 'New Administrative Tools', 'buddypress' ); ?></h2>
    564555
    565                                 <div class="feature-section">
    566                                         <p><?php _e( 'The notification features have been promoted into a new component. Use it to keep your site&#8217;s members abreast of the latest connections and @mentions within the site, via email notifications and Toolbar alerts.', 'buddypress' ); ?></p>
     556                                <div class="feature-section col two-col">
     557                                        <div>
     558                                                <h4><?php esc_html_e( 'Extended Profiles in Admin', 'buddypress' ); ?></h4>
     559                                                <p><?php esc_html_e( 'Site administrators can edit members&#8217; xProfile data at Dashboard > Users > Extended Profiles.', 'buddypress' ); ?></p>
     560                                                <img src="<?php echo $image_base ?>admin-xprofile.jpg" style="width:90%" />
     561                                        </div>
     562
     563                                        <div class="last-feature">
     564                                                <h4><?php esc_html_e( 'Registration Management', 'buddypress' ); ?></h4>
     565                                                <p><?php esc_html_e( 'Perform common tasks with pending signups - including resending activation emails and manually activating accounts - on the new Pending tab of Dashboard > Users.', 'buddypress' ); ?></p>
     566                                                <img src="<?php echo $image_base ?>users-pending.jpg" style="width:90%" />
     567                                        </div>
     568                                </div>
     569
     570                                <div class="feature-section col two-col">
     571                                        <div>
     572                                                <h4><?php esc_html_e( 'BuddyPress Repair Tools', 'buddypress' ); ?></h4>
     573                                                <p><?php esc_html_e( 'Dashboard > Tools > BuddyPress contains a number of tools for correcting data that occasionally gets out of sync on BP installs.', 'buddypress' ); ?></p>
     574                                                <img src="<?php echo $image_base ?>tools-buddypress.jpg" style="width:90%" />
     575                                        </div>
    567576
     577                                        <div class="feature-section col two-col">
     578                                                <h4><?php esc_html_e( 'Mark Spammers in Admin', 'buddypress' ); ?></h4>
     579                                                <p><?php esc_html_e( 'Admins on non-Multisite installations can now perform spam actions from Dashboard > Users > All Users.', 'buddypress' ); ?></p>
     580                                                <img src="<?php echo $image_base ?>user-mark-spam.jpg" style="width:90%" />
     581                                        </div>
    568582                                </div>
     583
    569584                        </div>
    570585
    571586                        <hr />
     587
    572588                        <div class="changelog">
    573                                 <h3><?php _e( 'Widgets', 'buddypress' ); ?></h3>
     589                                <h2 class="about-headline-callout"><?php esc_html_e( 'A More Dynamic Activity Stream', 'buddypress' ); ?></h2>
     590                                <div class="feature-section col two-col">
     591                                        <div>
     592                                                <p><?php esc_html_e( 'Spend a lot of time viewing the activity stream? BuddyPress 2.0 automatically lets you know when new items are waiting to be loaded.', 'buddypress' ); ?></p>
    574593
    575                                 <div class="feature-section">
    576                                         <ul>
    577                                                 <li><?php _e( '<strong>Friends Widget</strong>: a list of recently active, popular, and newest friends of the displayed member.', 'buddypress' ); ?></li>
    578                                                 <li><?php _e( '<strong>Log In Widget</strong>: adds a simple &ldquo;Log In&rdquo; form to your site.', 'buddypress' ); ?></li>
    579                                                 <li><?php _e( '<strong>Sitewide Notices Widget</strong>: display Sitewide Notices from the Private Messaging component.', 'buddypress' ); ?></li>
    580                                         </ul>
     594                                                <p><?php esc_html_e( 'The activity stream is better integrated with blog posts, too. Comment on a blog post, and an activity item is posted. Comment on a blog-related activity item, and a blog comment is posted. No more worrying about fractured conversations.', 'buddypress' ) ?></p>
     595
     596                                                <p><?php esc_html_e( 'We&#8217;ve also reworked the way that phrases like "Boone posted an update" are handled, so that they&#8217;re always up-to-date and always translatable.', 'buddypress' ) ?></p>
     597                                        </div>
     598
     599                                        <div class="feature-section col two-col">
     600                                                <img src="<?php echo $image_base ?>load-newest.jpg" style="width:90%" />
     601                                        </div>
    581602                                </div>
    582603                        </div>
    583604
    584                         <hr />
    585605                        <div class="changelog">
    586                                 <h3><?php _e( 'Developer changes', 'buddypress' ); ?></h3>
     606                                <h2 class="about-headline-callout"><?php esc_html_e( 'Developer Tools', 'buddypress' ); ?></h2>
    587607
    588                                 <div class="feature-section">
     608                                <p><?php esc_html_e( 'BuddyPress 2.0 is full of new and improved tools for the theme and plugin developer. A few highlights:', 'buddypress' ) ?></p>
    589609                                        <ul>
    590                                                 <li><?php _e( '<code>bp_redirect_canonical()</code> functionality has been reinstated', 'buddypress' ); ?></li>
    591                                                 <li><?php _e( 'Improved phpDoc inline documentation', 'buddypress' ); ?></li>
    592                                                 <li><?php printf( __( 'Improved compatibility with <a href="%s">develop.svn.wordpress.org</a> unit-test suite', 'buddypress' ), 'https://develop.svn.wordpress.org/' ); ?></li>
    593                                                 <li><?php printf( __( '<a href="%s">&hellip;and lots more!</a>', 'buddypress' ), 'http://codex.buddypress.org/releases/version-1-9' ); ?></li>
     610                                                <li><?php _e( 'The <code>BP_XProfile_Field_Type</code> class makes it a breeze to create new xProfile field types with custom display callbacks, validation, and more.', 'buddypress' ); ?></li>
     611                                                 <li><?php _e( 'Major improvements have taken place with respect to object caching throughout BuddyPress. If you use Memcached, APC, or some other persistent object caching backend on your BuddyPress site, you should notice huge performance boosts.', 'buddypress' ); ?></li>
     612                                                 <li><?php _e( 'Our internal metadata libraries have been rewritten to use WP&#8217;s <code>add_metadata()</code>, <code>update_metadata()</code>, and so on. This means greater consistency and parity between the components when storing and retrieving BuddyPress metadata.', 'buddypress' ); ?></li>
     613                                                 <li><?php printf( __( '<a href="%s">&hellip;and lots more!</a>', 'buddypress' ), 'http://codex.buddypress.org/releases/version-2-0' ); ?></li>
    594614                                        </ul>
    595615                                </div>
    596616
     617                                <hr />
     618
    597619                                <?php if ( current_user_can( $this->capability ) ) :?>
    598620                                        <div class="return-to-dashboard">
    599621                                                <a href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) ); ?>"><?php _e( 'Go to the BuddyPress Settings page', 'buddypress' ); ?></a>