Skip to:
Content

BuddyPress.org

Changeset 11425


Ignore:
Timestamp:
02/10/2017 06:39:19 PM (8 years ago)
Author:
mercime
Message:

Update Welcome Screen for BuddyPress 2.8.

Props slaFFik, r-a-y, hnla, boonebgorges, mercime.
Fixes #7426.

Location:
trunk/src/bp-core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/css/common-rtl.css

    r11423 r11425  
    4848}
    4949
     50.buddypress code {
     51    background-color: #e0e0e0;
     52    color: #636363;
     53    font-size: 1em;
     54}
     55
    5056@media only screen and (max-width: 500px) {
    5157    .about-wrap .bp-badge {
     
    354360        font-size: 1.5em;
    355361        line-height: 1.5;
     362        text-align: right;
    356363    }
    357364    .buddypress .bp-headline-feature .headline-title {
    358365        margin: 1em 0 0 0;
    359         text-align: right;
    360366    }
    361367    .buddypress .bp-headline-feature p {
  • trunk/src/bp-core/admin/css/common.css

    r11423 r11425  
    4848}
    4949
     50.buddypress code {
     51    background-color: #e0e0e0;
     52    color: #636363;
     53    font-size: 1em;
     54}
     55
    5056@media only screen and (max-width: 500px) {
    5157    .about-wrap .bp-badge {
     
    354360        font-size: 1.5em;
    355361        line-height: 1.5;
     362        text-align: left;
    356363    }
    357364    .buddypress .bp-headline-feature .headline-title {
    358365        margin: 1em 0 0 0;
    359         text-align: left;
    360366    }
    361367    .buddypress .bp-headline-feature p {
  • trunk/src/bp-core/classes/class-bp-admin.php

    r11420 r11425  
    606606            <div class="bp-headline-feature">
    607607                <div class="bp-headline">
    608                     <span class="dashicons dashicons-list-view" aria-hidden="true"></span>
    609                     <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3>
    610 
     608                    <h3 class="headline-title"><?php esc_html_e( 'Modernizing the Codebase', 'buddypress' ); ?></h3>
    611609                    <p class="introduction"><?php
    612                         /* translators: %s: URL to the development post about this feature */
    613                         printf( __( 'Huge performance improvements on sites using persistent caching. <a href="%s">Learn more about the Groups Query rewrite</a>.', 'buddypress' ),
    614                         'https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/' );
     610                         /* translators: 1: BP REST API, 2: Link to Codex article */
     611                        printf( __( 'To continue the migration of legacy code to modern standards and techniques necessary for the %1$s project and other new features moving forward, <a href="%2$s">BuddyPress 2.8 requires at least PHP 5.3</a>. This will allow us to build better, robust, and secure code, benefitting developers and users now and in the future.', 'buddypress'),
     612                        '<code>BP REST API</code>',
     613                        'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' );
    615614                    ?></p>
    616615                </div>
     
    621620                <h3 class="headline-title"><?php esc_html_e( 'For Developers &amp; Site Builders', 'buddypress' ); ?></h3>
    622621
     622                <div class="bp-feature-with-images">
     623
     624                    <div class="bp-feature-imaged">
     625                        <h4 class="feature-title"><?php esc_html_e( 'More helpful "Activate Pending Accounts" screen', 'buddypress' ); ?></h4>
     626                        <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/pending-accounts.png' ); ?>" alt="<?php esc_attr_e( 'The improved pending account screen.', 'buddypress' ); ?>">
     627                        <p><?php esc_html_e( 'When you click on the username on the "Users > Manage Signups" page, you can now view profile data entered by the user at the time of registration.', 'buddypress' ); ?></p>
     628                    </div>
     629
     630                    <div class="bp-feature-imaged anon">
     631                        <h4 class="feature-title"><?php
     632                            /* translators: %s: List-Unsubscribe */
     633                            printf( __( 'Support for %s header in emails', 'buddypress' ),
     634                            '<code>List-Unsubscribe</code>' );
     635                        ?></h4>
     636                        <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/list-unsubscribe.png' ); ?>" alt="<?php esc_attr_e( 'Email header showing the list-unsubscribe feature.', 'buddypress' ); ?>">
     637                        <p><?php esc_html_e( 'Allow users to unsubscribe from BuddyPress email notifications in some email clients such as Gmail (web), when properly configured.', 'buddypress' ); ?></p>
     638                    </div>
     639
     640                    <div class="bp-feature-imaged">
     641                        <h4 class="feature-title"><?php esc_html_e( 'Twenty Seventeen Companion Stylesheet', 'buddypress' ); ?></h4>
     642                        <p><?php esc_html_e( 'BuddyPress looks great in WordPress\'s latest default theme with the new Twenty Seventeen companion stylesheet.', 'buddypress' ); ?></p>
     643                        <p><?php
     644                        /* translators: 1: Link to the Codex article, 2: functions.php */
     645                        printf( __( 'To change the default two-column page layout to a full-width layout as seen in the image, add the <a href="%1$s">following code</a> to the  %2$s file of your Twenty Seventeen child theme.', 'buddypress' ),
     646                        'https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-seventeen-theme/',
     647                        '<code>functions.php</code>' );
     648                    ?></p>
     649                    </div>
     650
     651                    <div class="bp-feature-imaged anon">
     652                        <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/twenty-seventeen.png' ); ?>" alt="<?php esc_attr_e( 'Full-width BuddyPress layout for Twenty Seventeen theme.', 'buddypress' ); ?>">
     653                    </div>
     654
     655                    <div class="clear"></div>
     656                </div>
     657
    623658                <div class="bp-feature">
    624                     <span class="dashicons dashicons-calendar" aria-hidden="true"></span>
    625                     <h4 class="feature-title"><?php esc_html_e( 'Improved Profile Date Field', 'buddypress' ); ?></h4>
    626                     <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p>
     659                    <span class="dashicons dashicons-testimonial" aria-hidden="true"></span>
     660                    <h4 class="feature-title"><?php esc_html_e( 'More hooks for Messages', 'buddypress' ); ?></h4>
     661                    <p><?php esc_html_e( 'We\'ve added new filters and actions for different methods throughout the Messages component.', 'buddypress' ); ?></p>
    627662                </div>
    628663
    629664                <div class="bp-feature opposite">
    630                     <span class="dashicons dashicons-groups" aria-hidden="true"></span>
    631                     <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4>
     665                    <span class="dashicons dashicons-search" aria-hidden="true"></span>
     666                    <h4 class="feature-title"><?php esc_html_e( 'A more flexible Group search', 'buddypress' ); ?></h4>
    632667                    <p><?php
    633                         /* translators: %s: URL to the BuddyPress Codex article */
    634                         printf( __( 'Enable developers to show Group Types on the front end as well as control where the group type information is rendered. <a href="%s">Learn how to implement this feature</a>.', 'buddypress' ),
    635                         'https://codex.buddypress.org/developer/group-types/' );
     668                        /* translators: 1: search_column, 2: BP_Groups_Group::get() */
     669                        printf( __( 'The new %1$s parameter allows developers to specify which columns should be matched, as well as where wildcard characters should be placed, when searching via %2$s.', 'buddypress' ),
     670                        '<code>search_column</code>',
     671                        '<code>BP_Groups_Group::get()</code>' );
    636672                    ?></p>
    637673                </div>
    638674
    639675                <div class="bp-feature">
    640                     <span class="dashicons dashicons-admin-multisite" aria-hidden="true"></span>
    641                     <h4 class="feature-title"><?php esc_html_e( 'Use the Site Icon as Your Site&#8217;s Profile Photo', 'buddypress' ); ?></h4>
     676                    <span class="dashicons dashicons-groups" aria-hidden="true"></span>
     677                    <h4 class="feature-title"><?php esc_html_e( 'Alphabetical sorting for Groups widget', 'buddypress' ); ?></h4>
     678                    <p><?php esc_html_e( 'The groups widget can now be sorted alphabetically, in addition to sorting the results by recently active, popular, and newest groups.', 'buddypress' ); ?></p>
     679                </div>
     680
     681                <div class="bp-feature opposite">
     682                    <span class="dashicons dashicons-email" aria-hidden="true"></span>
     683                    <h4 class="feature-title"><?php
     684                        /* translators: %s: PHPMailer */
     685                        printf( __( 'Enable choice of %s', 'buddypress' ), '<code>PHPMailer</code>' );
     686                    ?></h4>
    642687                    <p><?php
    643                         /* translators: %s: URL to the WordPress Codex article */
    644                         printf( __( 'BuddyPress sets the site admin&#8217;s profile photo as the default site profile photo on the Sites Directory page. You can now <a href="%s">use the Site Icon introduced in WordPress 4.3</a> instead.', 'buddypress' ),
    645                         'https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later' );
     688                        /* translators: %s: PHPMailer */
     689                        printf( __( 'Developers can specify which %s should be used when sending BuddyPress with a new filter.', 'buddypress' ), '<code>PHPMailer</code>' );
    646690                    ?></p>
    647691                </div>
    648692
    649                 <div class="bp-feature opposite">
    650                     <span class="dashicons dashicons-filter" aria-hidden="true"></span>
    651                     <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups Admin Screens', 'buddypress' ); ?></h4>
    652                     <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p>
    653                 </div>
    654 
    655                 <div class="bp-feature">
    656                     <span class="dashicons dashicons-clock" aria-hidden="true"></span>
    657                     <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4>
    658                     <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p>
    659                 </div>
    660 
    661                 <div class="bp-feature opposite">
    662                     <span class="dashicons dashicons-email" aria-hidden="true"></span>
    663                     <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4>
    664                     <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions via new email tokens and unsubscribe links.', 'buddypress' ); ?></p>
    665                 </div>
    666 
    667                 <div class="bp-feature">
    668                     <span class="dashicons dashicons-admin-page" aria-hidden="true"></span>
    669                     <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4>
    670                     <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages on the back end, is what you&#8217;ll get as the heading on the front end.', 'buddypress' ); ?></p>
    671                 </div>
    672 
    673                 <div class="bp-feature opposite">
    674                     <span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
    675                     <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front End and Back End', 'buddypress' ); ?></h4>
    676                     <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>
    677                 </div>
    678 
    679                 <div class="bp-feature">
    680                     <span class="dashicons dashicons-screenoptions" aria-hidden="true"></span>
    681                     <h4 class="title"><?php
    682                         /* translators: %s: BP_Button */
    683                         printf( __( 'Refactored %s Class to Accept New Arguments', 'buddypress' ), '<code>BP_Button</code>' );
    684                     ?></h4>
    685                     <p><?php esc_html_e( 'Provides developers with improved syntax and more control over the rendering of buttons.', 'buddypress' ); ?></p>
    686                 </div>
    687 
    688                 <div class="bp-feature opposite">
    689                     <span class="dashicons dashicons-image-filter" aria-hidden="true"></span>
    690                     <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group&#8217;s Management Screens', 'buddypress' ); ?></h4>
    691                     <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p>
    692                 </div>
    693 
    694                 <div class="bp-feature">
    695                     <span class="dashicons  dashicons-groups" aria-hidden="true"></span>
    696                     <h4 class="title"><?php
    697                         /* translators: %s: parent_id */
    698                         printf( __( 'Support for Querying for Groups by New Column %s', 'buddypress' ), '<code>parent_id</code>' );
    699                     ?></h4>
    700                     <p><?php esc_html_e( 'Query support for hierarchical groups makes it much easier for developers to add custom front-end functionality.', 'buddypress' ); ?></p>
    701                 </div>
    702 
    703                 <div class="bp-feature opposite">
    704                     <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span>
    705                     <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4>
    706                     <p><?php
    707                         /* translators: %s: bp_get_user_groups() */
    708                         printf( __( 'Improved performance by removing extra database queries, adding new cache calls, and removing the number of loops in %s.', 'buddypress' ), '<code>bp_get_user_groups()</code>' );
    709                     ?></p>
    710                 </div>
    711 
    712 
    713693                <div class="clear"></div>
    714694            </div>
    715695
    716696            <div class="bp-changelog-section">
    717                 <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3>
    718                 <p class="bp-changelog-url"><?php
    719                     /* translators: %s: URL to the BuddyPress Codex article */
    720                     printf( __( '<a href="%s">Changelog for BuddyPress 2.7.</a>', 'buddypress' ),
    721                     'https://codex.buddypress.org/releases/version-2-7-0/' );
    722                 ?></p>
    723 
     697                <h3 class="changelog-title"><?php esc_html_e( 'More under the hood &#8230;', 'buddypress' ); ?></h3>
     698                <div class="bp-changelog three-col">
     699                    <div class="col">
     700                        <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4>
     701                        <p><?php esc_html_e( 'We continue to improve our localization internals, making it easier for translation editors to ensure that BuddyPress will be available for everyone in their own language.', 'buddypress' ); ?></p>
     702                    </div>
     703                    <div class="col">
     704                        <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
     705                        <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>
     706                    </div>
     707
     708                    <div class="col">
     709                        <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4>
     710                        <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>
     711                    </div>
     712                </div>
     713                <div class="clear"></div>
    724714            </div>
    725715
     
    935925        $welcome_text = ( self::is_new_install() )
    936926            ? __( 'Thank you for installing BuddyPress! BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.', 'buddypress' )
    937             : __( 'Thank you for updating! BuddyPress %s has many new features that you will enjoy.', 'buddypress' );
     927            : __( 'Thank you for updating! BuddyPress %s has many new improvements that you will enjoy.', 'buddypress' );
    938928
    939929        ?>
Note: See TracChangeset for help on using the changeset viewer.