Changeset 9419
- Timestamp:
- 01/29/2015 07:39:59 PM (11 years ago)
- Location:
- trunk/src/bp-core
- Files:
-
- 1 added
- 1 deleted
- 2 edited
-
admin/css/common.css (modified) (1 diff)
-
admin/images/member-types.png (added)
-
admin/images/mentions.gif (deleted)
-
bp-core-admin.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/css/common.css
r8952 r9419 4 4 * @since BuddyPress (1.6) 5 5 */ 6 7 /* Welcome Screen 8 ------------------------------------------------------------------------------*/ 9 10 body.dashboard_page_bp-about span.dashicons { 11 float: left; 12 clear: left; 13 margin: 15px 15px 0 0 ; 14 height: 90px; 15 width: 90px; 16 background-color: #cccccc; 17 -webkit-border-radius: 50%; 18 border-radius: 50%; 19 border: 1px solid #c1c1c1; 20 font-size: 65px; 21 line-height: 90px; 22 color: #999; 23 text-align: center; 24 } 6 25 7 26 /* User's Lists -
trunk/src/bp-core/bp-core-admin.php
r9418 r9419 487 487 */ 488 488 public function about_screen() { 489 $is_new_install = ! empty( $_GET['is_new_install'] ); 489 $is_new_install = ! empty( $_GET['is_new_install'] ); 490 $welcome_text = ( $is_new_install ) 491 ? __( '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' ) 492 : __( 'BuddyPress %s comes with a bunch of great improvements we think you’re really going to like.', 'buddypress' ); 493 490 494 list( $display_version ) = explode( '-', bp_get_version() ); ?> 491 495 … … 493 497 <h1><?php printf( __( 'Welcome to BuddyPress %s', 'buddypress' ), $display_version ); ?></h1> 494 498 <div class="about-text"> 495 <?php if ( $is_new_install ) : ?> 496 <?php printf( __( 'Thank you for installing BuddyPress! BuddyPress %s is our most streamlined and easy-to-use release to date, and we think you’re going to love it.', 'buddypress' ), $display_version ); ?> 497 <?php else : ?> 498 <?php printf( __( 'Howdy. BuddyPress %s is our most streamlined and easy-to-use release to date, and we think you’re going to love it.', 'buddypress' ), $display_version ); ?> 499 <?php endif; ?> 499 <?php printf( $welcome_text, $display_version ); ?> 500 500 </div> 501 501 … … 510 510 </h2> 511 511 512 <?php if ( $is_new_install ) : ?> 512 <?php if ( $is_new_install ) : ?> 513 513 514 514 <div id="welcome-panel" class="welcome-panel"> … … 519 519 <h4><?php _e( 'Configure Buddypress', 'buddypress' ); ?></h4> 520 520 <ul> 521 <li><?php printf( 521 <li><?php printf( 522 522 '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Set Up Components', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) 523 523 ); ?></li> 524 <li><?php printf( 524 <li><?php printf( 525 525 '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Assign Components to Pages', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), $this->settings_page ) ) 526 526 ); ?></li> … … 550 550 <div class="welcome-panel-column welcome-panel-last"> 551 551 <h4><?php _e( 'Community and Support', 'buddypress' ); ?></h4> 552 <p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Looking for help? The <a href="http://codex.buddypress.org/">BuddyPress Codex</a> has you covered.', 'buddypress' ) ?></p> 552 <p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Looking for help? The <a href="http://codex.buddypress.org/">BuddyPress Codex</a> has you covered.', 'buddypress' ) ?></p> 553 553 <p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Can’t find what you need? Stop by <a href="http://buddypress.org/support/">our support forums</a>, where active BuddyPress users and developers are waiting to share tips and more.', 'buddypress' ) ?></p> 554 554 </div> … … 561 561 <?php endif; ?> 562 562 563 <div class="changelog"> 564 <h2 class="about-headline-callout"><?php _e( 'Revamped @mentions Interface', 'buddypress' ); ?></h2> 565 <p><?php _e( 'Forget the old days of trying to remember someone’s username when you want to @mention them in a conversation! With BuddyPress 2.1, type a <code>@</code> when leaving a status update or commenting on an activity item or blog post, and the new suggestions panel will open.', 'buddypress' ) ?></p> 566 <p style="text-align: center"><img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/mentions.gif' ); ?>" alt="<?php esc_attr_e( 'Demo of at-mentions feature', 'buddypress' ); ?>" style="margin-bottom: 20px"></p> 567 </div> 563 <div class="changelog headline-feature"> 564 <h2><?php esc_html_e( 'Member Types', 'buddypress' ); ?></h2> 565 <div class="featured-image"> 566 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/member-types.png' ); ?>" alt="<?php esc_attr_e( 'Member types metabox', 'buddypress' ); ?>"> 567 </div> 568 569 <div class="feature-section"> 570 <h3><?php esc_html_e( 'Native APIs for crafting great new member experiences.', 'buddypress' ); ?></h3> 571 <p><?php esc_html_e( 'Registering member types finally enables a strict separation of different and explicit types of community members.', 'buddypress' ); ?></p> 572 <p><?php esc_html_e( 'This amazing new feature is available to plugin developers starting with BuddyPress 2.2', 'buddypress' ); ?></p> 573 <p><a href="https://codex.buddypress.org/developer/member-types/"><?php esc_html_e( 'Learn more →', 'buddypress' ); ?></a></p> 574 </div> 575 576 <div class="clear"></div> 577 </div> 568 578 569 579 <hr /> 570 580 571 <div class="changelog"> 572 <h2 class="about-headline-callout"><?php _e( 'Continuous Improvement', 'buddypress' ); ?></h2> 573 574 <div class="feature-section col three-col"> 575 <div class="col-1"> 576 <h4><?php esc_html_e( 'New Profile Field Type: URL', 'buddypress' ); ?></h4> 577 <p><?php esc_html_e( 'Built to hold the address of another website, this new field type automatically creates a link to that site.', 'buddypress' ); ?></p> 581 <div class="changelog feature-list finer-points"> 582 <h2><?php esc_html_e( 'The Finer Points', 'buddypress' ); ?></h2> 583 584 <div class="feature-section col two-col"> 585 <div> 586 <span class=" dashicons dashicons-admin-post"></span> 587 <h4><?php esc_html_e( 'Post Types Activities', 'buddypress' ); ?></h4> 588 <p><?php esc_html_e( 'Register custom post types so they appear as activity stream items, complete with custom verbiage.', 'buddypress' ); ?></p> 578 589 </div> 579 590 580 <div class="col-2"> 581 <h4><?php esc_html_e( 'Awesome Translations', 'buddypress' ); ?></h4> 582 <p><?php esc_html_e( 'BuddyPress supports high-quality translations that are automatically fetched by WordPress. Many thanks to our translation volunteers for making this possible.', 'buddypress' ); ?></p> 591 <div class="template-pack last-feature"> 592 <span class=" dashicons dashicons-admin-appearance"></span> 593 <h4><?php esc_html_e( 'Template Pack', 'buddypress' ); ?></h4> 594 <p><?php esc_html_e( 'The Legacy template pack is now more responsive and accommodating to more WordPress themes.', 'buddypress' ); ?></p> 583 595 </div> 584 596 585 <div class="col-3 last-feature"> 586 <h4><?php esc_html_e( 'Performance Improvements', 'buddypress' ); ?></h4> 587 <p><?php _e( 'Like we do with every release, we’ve made further optimizations to increase BuddyPress’ performance and reduce its query overhead.', 'buddypress' ); ?></p> 597 <div class="group-invites"> 598 <span class=" dashicons dashicons-plus-alt"></span> 599 <h4><?php esc_html_e( 'Group Invitations', 'buddypress' ); ?></h4> 600 <p><?php esc_html_e( 'Inviting members to groups is now smoother than ever with a simpler, clearer interface.', 'buddypress' ); ?></p> 601 </div> 602 603 <div class="last-feature"> 604 <span class=" dashicons dashicons-heart"></span> 605 <h4><?php esc_html_e( 'WordPress 3.6 - 4.1', 'buddypress' ); ?></h4> 606 <p><?php esc_html_e( 'We support a wide range of WordPress versions, even though you should always stay up-to-date.', 'buddypress' ); ?></p> 588 607 </div> 589 608 </div> … … 592 611 <hr /> 593 612 594 <div class="changelog"> 595 <h2 class="about-headline-callout"><?php esc_html_e( 'Enhancements for Plugin & Theme Developers', 'buddypress' ); ?></h2> 613 <div class="changelog feature-list"> 614 <h2><?php esc_html_e( 'Under the Hood', 'buddypress' ); ?></h2> 615 596 616 <div class="feature-section col two-col"> 597 <div class="col-1"> 598 <p><?php _e( 'If you’re a plugin developer, or make custom themes, or want to contribute back to the BuddyPress project, here’s what you should know about this release:', 'buddypress' ); ?></p> 599 <p><?php _e( 'If you’ve used BuddyPress for a very long time, you might remember the <em>BuddyBar</em>; it was our toolbar before WordPress had its own toolbar. We started to deprecate it in BuddyPress 1.6. It is now formally deprecated, which means you should not use it for new sites.', 'buddypress' ); ?></p> 600 <p> 601 <?php printf( 602 __( 'The classic <a href="%s">BP Default theme has moved to Github</a>. We moved it because BuddyPress development is now focused on our <a href="%s">theme compatibility</a> templates, which were introduced in BuddyPress 1.7. Don’t worry, BP-Default is still bundled with BuddyPress releases.', 'buddypress' ), 603 esc_url( 'https://github.com/buddypress/BP-Default' ), 604 esc_url( 'http://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/' ) 605 ); ?> 606 </p> 607 <p> 608 <?php 609 /* translators: don't translate the insides of the <code> block */ 610 _e( 'In BuddyPress 2.0, we added a new <code>BP_XProfile_Field_Type</code> API for managing profile field types. In this release, we’ve added a new <code>bp_core_get_suggestions</code> API which powers our new @mentions interface. Both are cool, and are worth checking out.', 'buddypress' ); 611 ?> 612 </p> 617 <div> 618 <h4><?php esc_html_e( 'Complex Activity Queries', 'buddypress' ); ?></h4> 619 <p><?php esc_html_e( 'Metadata, multiple scopes, actions, post types, and more are now easily queried using core APIs and functionality.', 'buddypress' ); ?></p> 620 621 <h4><?php esc_html_e( 'Cache Improvements', 'buddypress' ); ?></h4> 622 <p><?php esc_html_e( 'We now properly group and cache several different types of queries and objects, with an emphasis on multi-network environments.', 'buddypress' ); ?></p> 613 623 </div> 614 615 <div class="col-2 last-feature"> 616 <p><?php esc_html_e( 'Other interesting changes:', 'buddypress' ); ?> 617 618 <ul> 619 <li> 620 <?php 621 /* translators: don't translate the insides of the <code> block */ 622 _e( 'In <code>BP_Group_Extension</code>, the <code>visibility</code> and <code>enable_nav_item</code> properties have been phased out in favor of new <code>access</code> and <code>show_tab</code> parameters.', 'buddypress' ); 623 ?> 624 </li> 625 <li> 626 <?php 627 /* translators: don't translate the insides of the <code> block */ 628 _e( 'A new <code>group_activity</code> sort order has been added for Groups queries, to let you query for recently active members.', 'buddypress' ); 629 ?> 630 </li> 631 <li> 632 <?php 633 /* translators: don't translate the insides of the <code> block */ 634 _e( 'Extra CSS classes have been added to Profile Field visibility field elements, allowing greater CSS customization.', 'buddypress' ); 635 ?> 636 </li> 637 <li> 638 <?php 639 /* translators: don't translate the insides of the <code> block */ 640 _e( 'A <code>no_access_url</code> parameter has been added to <code>bp_core_new_subnav_item()</code>. This allows you to set the URL that users are redirected to when they do not have permission to access a sub-navigation item.', 'buddypress' ); 641 ?> 642 </li> 643 <li> 644 <?php 645 /* translators: don't translate the insides of the <code> block */ 646 _e( 'When making searches with <code>BP_User_Query</code>, a new <code>search_wildcard</code> parameter gives you finer control over how the search SQL is constructed.', 'buddypress' ); 647 ?> 648 </li> 649 650 651 <li><?php printf( __( '<a href="%s">…and lots more!</a>', 'buddypress' ), 'https://codex.buddypress.org/releases/version-2-1' ); ?></li> 652 </ul> 624 <div class="last-feature"> 625 <h4><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4> 626 <p><?php esc_html_e( 'Continued improvements to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p> 627 628 <h4><?php esc_html_e( 'And so Much More', 'buddypress' ); ?></h4> 629 <p><?php esc_html_e( 'With over 130 bugs squashed and constant attention to improving unit-test coverage, we think this version is just the bees-knees.', 'buddypress' ); ?></p> 653 630 </div> 654 631 </div> 655 632 </div> 633 656 634 <?php 657 635 }
Note: See TracChangeset
for help on using the changeset viewer.