Skip to:
Content

BuddyPress.org

Changeset 10318


Ignore:
Timestamp:
10/28/2015 08:56:08 PM (9 years ago)
Author:
djpaul
Message:

Welcome Screen updates for 2.4.

Fixes #6651

Props mercime, imath

Location:
trunk/src/bp-core
Files:
5 added
1 deleted
3 edited

Legend:

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

    r10238 r10318  
    6767}
    6868
     69/* About Page - since 2.4.0 (WP 4.4-trunk) */
     70
     71.about-wrap .headline-feature {
     72    margin-bottom: 1px solid rgba(0, 0, 0, 0.1);
     73}
     74
     75.about-wrap .headline-feature p {
     76    font-size: 1.15em;
     77    margin: 1.25em;
     78    text-align: center;
     79}
     80
     81.about-wrap .headline-feature h3 {
     82    font-size: 1.75em;
     83    font-weight: normal;
     84    margin: 1.25em 0 0.6em;
     85    text-align: center;
     86}
     87
     88.about-wrap .feature-section {
     89    margin-top: 40px;
     90}
     91
     92.about-wrap  .changelog .feature-section {
     93    margin-top: 0;
     94}
     95
    6996/* User's Lists
    7097------------------------------------------------------------------------------*/
  • trunk/src/bp-core/admin/css/common.css

    r10238 r10318  
    6767}
    6868
     69/* About Page - since 2.4.0 (WP 4.4-trunk) */
     70
     71.about-wrap .headline-feature {
     72    margin-bottom: 1px solid rgba(0, 0, 0, 0.1);
     73}
     74
     75.about-wrap .headline-feature p {
     76    font-size: 1.15em;
     77    margin: 1.25em;
     78    text-align: center;
     79}
     80
     81.about-wrap .headline-feature h3 {
     82    font-size: 1.75em;
     83    font-weight: normal;
     84    margin: 1.25em 0 0.6em;
     85    text-align: center;
     86}
     87
     88.about-wrap .feature-section {
     89    margin-top: 40px;
     90}
     91
     92.about-wrap  .changelog .feature-section {
     93    margin-top: 0;
     94}
     95
    6996/* User's Lists
    7097------------------------------------------------------------------------------*/
  • trunk/src/bp-core/bp-core-admin.php

    r10288 r10318  
    561561
    562562            <div class="headline-feature">
    563                 <h3><?php esc_html_e( 'Upload Profile Pictures with Drag and Drop', 'buddypress' ); ?></h3>
     563                <h3><?php esc_html_e( 'Cover Images For Members And Groups', 'buddypress' ); ?></h3>
    564564
    565565                <div class="featured-image">
    566                     <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/avatar-ui.gif' ); ?>" alt="<?php esc_attr_e( 'Revamped Profile Picture Upload UI', 'buddypress' ); ?>">
     566                    <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-cover-image.png' ); ?>" alt="<?php esc_attr_e( 'Cover Images for Members and Groups', 'buddypress' ); ?>" width="843" height="377">
    567567                </div>
    568 
    569                 <div class="feature-section">
    570                     <h3><?php esc_html_e( 'Built with the Attachments API, the new foundation for BuddyPress media management.', 'buddypress' ); ?></h3>
    571                     <p><?php esc_html_e( 'You can drag and drop any image you choose to upload as your profile photo. The interface is mobile-ready and now includes integration with phone and laptop cameras. This is an example of what can be developed using the new Attachments API, the long-awaited foundation for media-related BuddyPress components and features.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/plugindev/bp_attachment/"><?php esc_html_e( 'Learn more &rarr;', 'buddypress' ); ?></a></p>
     568                <div>
     569                     <p><?php printf( __( 'Your community can now upload cover photos for their user profiles and groups. <a href="%s">Learn more &rarr;</a>', 'buddypress' ), esc_url( 'https://codex.buddypress.org/themes/buddypress-cover-images/' ) ); ?></p>
    572570                </div>
    573 
    574571                <div class="clear"></div>
     572
    575573            </div>
    576574
    577             <div class="feature-list finer-points">
    578                 <h2><?php esc_html_e( 'The Finer Points', 'buddypress' ); ?></h2>
     575            <hr>
     576
     577            <div class="feature-section two-col">
     578                <div>
     579                    <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/member-type-field.png' ); ?>" alt="<?php esc_attr_e( 'Profile Field for Member Type', 'buddypress' ); ?>">
     580                    <h3><?php esc_html_e( 'Profile Fields For Specific Member Types', 'buddypress' ); ?></h3>
     581                    <p><?php printf( __( 'You can create profile fields which are available to one or more <a href="%s">custom member types</a>.', 'buddypress' ), esc_url( 'https://codex.buddypress.org/developer/member-types/' ) ); ?></p>
     582                </div>
     583                <div class="last-feature">
     584                    <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/theme-stylesheets.png' ); ?>" alt="<?php esc_attr_e( 'BuddyPress Companion Stylesheets', 'buddypress' ); ?>">
     585                    <h3><?php esc_html_e( 'More Companion Stylesheets For Themes', 'buddypress' ); ?></h3>
     586                    <p><?php esc_html_e( 'BuddyPress looks and works better than ever with WordPress theme Twenty Thirteen, and the upcoming Twenty Sixteen.', 'buddypress' ); ?></p>
     587                </div>
     588            </div>
     589
     590            <div class="feature-section two-col">
     591                <div>
     592                    <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-home-page.png' ); ?>" alt="<?php esc_attr_e( 'Customize your group home page', 'buddypress' ); ?>">
     593                    <h3><?php esc_html_e( 'Customizable Group Home Page', 'buddypress' ); ?></h3>
     594                    <p><?php esc_html_e( 'You can customize each and every Group\'s home page by using the new front page template hierarchy.', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2015/10/03/get-ready-2-4-0-will-introduce-important-changes-in-groups-homes/"><?php esc_html_e( 'Learn how &rarr;', 'buddypress' ); ?></a></p>
     595                </div>
     596                <div class="last-feature">
     597                    <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/accessibility.gif' ); ?>" alt="<?php esc_attr_e( 'Accessibility Upgrades', 'buddypress' ); ?>">
     598                    <h3><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h3>
     599                    <p><?php _e( 'We\'re making BuddyPress more usable and accessible for everyone, from the frontend templates to the backend admin screens.', 'buddypress' ); ?></p>
     600                </div>
     601
     602            </div>
     603
     604            <div class="changelog">
     605                <h3><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3>
    579606
    580607                <div class="feature-section col two-col">
    581608                    <div>
    582                         <span class=" dashicons dashicons-admin-users"></span>
    583                         <h4><?php esc_html_e( 'Member Type Directories', 'buddypress' ); ?></h4>
    584                         <p><?php esc_html_e( 'Create directories of member types in your site using the Member Type API.', 'buddypress' ); ?></p>
     609                        <h4><?php esc_html_e( 'User Experience', 'buddypress' ); ?></h4>
     610                        <p><?php esc_html_e( "Enhancements to the What's New form bring better user experience for your community, and make it easier for developers to add new features.", 'buddypress' ); ?></p>
     611
     612                        <h4><?php esc_html_e( 'Cache Improvements', 'buddypress' ); ?></h4>
     613                        <p><?php esc_html_e( 'Continued object and query cache enhancements have been implemented across different components to improve performance.', 'buddypress' ); ?></p>
    585614                    </div>
    586 
    587                     <div class="template-pack last-feature">
    588                         <span class=" dashicons dashicons-admin-appearance"></span>
    589                         <h4><?php esc_html_e( 'Companion Stylesheets For Themes', 'buddypress' ); ?></h4>
    590                         <p><?php esc_html_e( 'Improved styling and integration of BuddyPress components with bundled WordPress themes, Twenty Fifteen and Twenty Fourteen.', 'buddypress' ); ?></p>
    591                     </div>
    592 
    593                     <div class="group-invites">
    594                         <span class=" dashicons dashicons-admin-post"></span>
    595                         <h4><?php esc_html_e( 'Blog Post Activity', 'buddypress' ); ?></h4>
    596                         <p><?php esc_html_e( 'BuddyPress now generates better excerpts in the activity streams for posts containing images or other embedded media content.', 'buddypress' ); ?></p>
    597                     </div>
    598 
    599615                    <div class="last-feature">
    600                         <span class=" dashicons dashicons-star-filled"></span>
    601                         <h4><?php esc_html_e( 'Star Private Messages ', 'buddypress' ); ?></h4>
    602                         <p><?php esc_html_e( 'Mark important messages in your inbox from your friends with a star.', 'buddypress' ); ?></p>
     616                        <h4><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
     617                        <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>
     618
     619                        <h4><?php esc_html_e( 'Constant Refinements', 'buddypress' ); ?></h4>
     620                        <p><?php esc_html_e( 'The BuddyPress codebase is continuously tested and updated with the latest WordPress enhancements and features.', 'buddypress' ); ?></p>
    603621                    </div>
    604622                </div>
    605623            </div>
    606624
    607             <div class="feature-list">
    608                 <h2><?php esc_html_e( 'Under the Hood', 'buddypress' ); ?></h2>
    609 
    610                 <div class="feature-section col two-col">
    611                     <div>
    612                         <h4><?php esc_html_e( 'Components can register new features', 'buddypress' ); ?></h4>
    613                         <p><?php _e( 'Plugin developers can register new features or check if a component feature is registered using the <code>BP_Component</code> class.', 'buddypress' ); ?></p>
    614 
    615                         <h4><?php esc_html_e( 'Cache Improvements', 'buddypress' ); ?></h4>
    616                         <p><?php esc_html_e( 'Improved caching for the following components: Messages, Profiles, Members &amp; Member Types, and Friends.', 'buddypress' ); ?></p>
    617                     </div>
    618                     <div class="last-feature">
    619                         <h4><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
    620                         <p><?php esc_html_e( 'Continued improvements to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>
    621 
    622                         <h4><?php esc_html_e( 'User Documentation', 'buddypress' ); ?></h4>
    623                         <p><?php esc_html_e( 'The BuddyPress Codex is maintained and updated regularly with new articles and tutorials.', 'buddypress' ); ?></p>
    624                     </div>
    625                 </div>
    626             </div>
    627 
    628             <p><?php _ex( 'Learn more:', 'About screen, website links', 'buddypress' ); ?> <a href="https://buddypress.org/blog/"><?php _ex( 'News', 'About screen, link to project blog', 'buddypress' ); ?></a> &bullet; <a href="https://buddypress.org/suppport/"><?php _ex( 'Support', 'About screen, link to support site', 'buddypress' ); ?></a> &bullet; <a href="https://codex.buddypress.org/"><?php _ex( 'Documentation', 'About screen, link to documentation', 'buddypress' ); ?></a> &bullet; <a href="https://bpdevel.wordpress.com/"><?php _ex( 'Development Blog', 'About screen, link to development blog', 'buddypress' ); ?></a></p>
     625            <p><?php _ex( 'Learn more:', 'About screen, website links', 'buddypress' ); ?> <a href="https://buddypress.org/blog/"><?php _ex( 'News', 'About screen, link to project blog', 'buddypress' ); ?></a> &bullet; <a href="https://buddypress.org/support/"><?php _ex( 'Support', 'About screen, link to support site', 'buddypress' ); ?></a> &bullet; <a href="https://codex.buddypress.org/"><?php _ex( 'Documentation', 'About screen, link to documentation', 'buddypress' ); ?></a> &bullet; <a href="https://bpdevel.wordpress.com/"><?php _ex( 'Development Blog', 'About screen, link to development blog', 'buddypress' ); ?></a></p>
    629626            <p><?php _ex( 'Twitter:', 'official Twitter accounts:', 'buddypress' ); ?> <a href="https://twitter.com/buddypress/"><?php _ex( 'BuddyPress', '@buddypress twitter account name', 'buddypress' ); ?></a> &bullet; <a href="https://twitter.com/bptrac/"><?php _ex( 'Trac', '@bptrac twitter account name', 'buddypress' ); ?></a> &bullet; <a href="https://twitter.com/buddypressdev/"><?php _ex( 'Development', '@buddypressdev twitter account name', 'buddypress' ); ?></a></p>
     627
     628        </div>
    630629
    631630        <?php
     
    800799        // Switch welcome text based on whether this is a new installation or not
    801800        $welcome_text = ( self::is_new_install() )
    802             ? __( 'Thank you for installing BuddyPress! BuddyPress %s gives you the components you need to turn your WordPress powered site into a thriving membership community.', 'buddypress' )
     801            ? __( 'Thank you for installing BuddyPress! BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.', 'buddypress' )
    803802            : __( 'BuddyPress %s comes with a bunch of great improvements we think you&#8217;re really going to like.', 'buddypress' );
    804803
     
    806805
    807806        <h1><?php printf( esc_html__( 'Welcome to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h1>
     807
    808808        <div class="about-text">
    809             <?php printf( $welcome_text, self::display_version() ); ?>
     809            <?php
     810            if ( self::is_new_install() ) {
     811                echo $welcome_text;
     812            } else {
     813                printf( $welcome_text, self::display_version() );
     814            }
     815            ?>
    810816        </div>
    811817
Note: See TracChangeset for help on using the changeset viewer.