| 519 | | <?php if ( $is_new_install ) : ?> |
| 520 | | <h3><?php _e( 'Getting Started', 'buddypress' ); ?></h3> |
| 521 | | |
| 522 | | <div class="feature-section"> |
| 523 | | <h4><?php _e( 'Your Default Setup', 'buddypress' ); ?></h4> |
| 524 | | |
| 525 | | <?php if ( bp_is_active( 'members' ) && bp_is_active( 'activity' ) && current_user_can( $this->capability ) ) : ?> |
| 526 | | <p><?php printf( |
| 527 | | __( 'BuddyPress’s powerful features help your users connect and collaborate. To help get your community started, we’ve activated two of the most commonly used tools in BP: <strong>Extended Profiles</strong> and <strong>Activity Streams</strong>. See these components in action at the %1$s and %2$s directories, and be sure to spend a few minutes <a href="%3$s">configuring user profiles</a>. Want to explore more of BP’s features? Visit the <a href="%4$s">Components panel</a>.', 'buddypress' ), |
| 528 | | $pretty_permalinks_enabled ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_members_root_slug() ) . '">' . __( 'Members', 'buddypress' ) . '</a>' : __( 'Members', 'buddypress' ), |
| 529 | | $pretty_permalinks_enabled ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_activity_root_slug() ) . '">' . __( 'Activity', 'buddypress' ) . '</a>' : __( 'Activity', 'buddypress' ), |
| 530 | | bp_get_admin_url( add_query_arg( array( 'page' => 'bp-profile-setup' ), 'users.php' ) ), |
| 531 | | bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) |
| 532 | | ); ?></p> |
| 533 | | |
| 534 | | <?php else : ?> |
| 535 | | <p><?php printf( |
| 536 | | __( 'BuddyPress’ powerful features help your users connect and collaborate. Want to explore BP’s features? Visit the <a href="%s">Components panel</a>.', 'buddypress' ), |
| 537 | | bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) |
| 538 | | ); ?></p> |
| 539 | | |
| 540 | | <?php endif; ?> |
| 541 | | |
| 542 | | <h4><?php _e( 'Community and Support', 'buddypress' ); ?></h4> |
| 543 | | <p><?php _e( 'Looking for help? The <a href="http://codex.buddypress.org/">BuddyPress Codex</a> has you covered, with dozens of user-contributed guides on how to configure and use your BP site. Can’t find what you need? Stop by <a href="http://buddypress.org/support/">our support forums</a>, where a vibrant community of BuddyPress users and developers is waiting to share tips, show off their sites, talk about the future of BuddyPress, and much more.', 'buddypress' ) ?></p> |
| 544 | | <p><?php _e( 'Read on to learn more about this version of BuddyPress.', 'buddypress' ); ?></p> |
| | 519 | <?php if ( $is_new_install ) : ?> |
| | 520 | |
| | 521 | <div id="welcome-panel" class="welcome-panel"> |
| | 522 | <div class="welcome-panel-content"> |
| | 523 | <h3 style="margin:0"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3> |
| | 524 | <div class="welcome-panel-column-container"> |
| | 525 | <div class="welcome-panel-column"> |
| | 526 | <h4><?php _e( 'Configure Buddypress', 'buddypress' ); ?></h4> |
| | 527 | <ul> |
| | 528 | <li><?php printf( |
| | 529 | '<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 ) ) |
| | 530 | ); ?></li> |
| | 531 | <li><?php printf( |
| | 532 | '<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-pages' ), $this->settings_page ) ) |
| | 533 | ); ?></li> |
| | 534 | <li><?php printf( |
| | 535 | '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Customize Settings', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), $this->settings_page ) ) |
| | 536 | ); ?></li> |
| | 537 | </ul> |
| | 538 | <a class="button button-primary button-hero" style="margin-bottom:20px;margin-top:0;" href="<?php bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ); ?>" ><?php _e( 'Get Started', 'buddypress' ); ?></a> |
| | 539 | </div> |
| | 540 | <div class="welcome-panel-column"> |
| | 541 | <h4><?php _e( 'Administration Tools', 'buddypress' ); ?></h4> |
| | 542 | <ul> |
| | 543 | <?php if ( bp_is_active( 'members' ) ) : ?> |
| | 544 | <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Add User Profile Fields', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-profile-setup' ), 'users.php' ) ) ); ?></li> |
| | 545 | <?php endif; ?> |
| | 546 | <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Manage Signups', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-signups' ), 'users.php' ) ) ); ?></li> |
| | 547 | <?php if ( bp_is_active( 'activity' ) ) : ?> |
| | 548 | <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Moderate Activity Streams', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-activity' ), 'admin.php' ) ) ); ?></li> |
| | 549 | <?php endif; ?> |
| | 550 | <?php if ( bp_is_active( 'groups' ) ) : ?> |
| | 551 | <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Create/Manage Groups', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-groups' ), 'admin.php' ) ) ); ?></li> |
| | 552 | <?php endif; ?> |
| | 553 | <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Repair Data', 'buddypress' ) . '</a>', bp_get_admin_url( add_query_arg( array( 'page' => 'bp-tools' ), 'tools.php' ) ) ); ?> |
| | 554 | </li> |
| | 555 | </ul> |
| | 556 | </div> |
| | 557 | <div class="welcome-panel-column welcome-panel-last"> |
| | 558 | <h4><?php _e( 'Community and Support', 'buddypress' ); ?></h4> |
| | 559 | <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> |
| | 560 | <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 a vibrant community of BuddyPress users and developers is waiting to share tips and more.', 'buddypress' ) ?></p> |
| | 561 | </div> |
| | 562 | </div> |
| | 563 | </div> |