/** * Output the total member count. */ function bp_total_site_member_count() { echo bp_get_total_site_member_count(); }
?> <div class="item-list-tabs activity-type-tabs" role="navigation"> <ul> <?php do_action('bp_before_activity_type_tab_all'); ?> <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/'; ?> " title="<?php _e('The public activity for everyone on this site.', 'buddypress'); ?> "><?php printf(__('All Members <span>%s</span>', 'buddypress'), bp_get_total_site_member_count()); ?> </a></li> <?php if (is_user_logged_in()) { ?> <?php do_action('bp_before_activity_type_tab_friends'); ?> <?php if (bp_is_active('friends')) { ?>
?> <div class="item-list-tabs activity-type-tabs"> <ul> <?php do_action('bp_before_activity_type_tab_all'); ?> <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/'; ?> " title="<?php _e('The public activity for everyone on this site.', 'buddypress'); ?> "><?php printf(__('All Members (%s)', 'buddypress'), bp_get_total_site_member_count()); ?> </a></li> <?php if (is_user_logged_in()) { ?> <?php do_action('bp_before_activity_type_tab_friends'); ?> <?php if (function_exists('bp_get_total_friend_count')) { ?> <?php
?> <div class="item-list-tabs activity-type-tabs" role="navigation"> <ul> <?php do_action('bp_before_activity_type_tab_all'); ?> <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/'; ?> " title="<?php _e('The public activity for everyone on this site.', 'huddle'); ?> "><?php printf(__('All Members <span>%s</span>', 'huddle'), bp_get_total_site_member_count()); ?> </a></li> <?php if (is_user_logged_in()) { ?> <?php do_action('bp_before_activity_type_tab_friends'); ?> <?php if (bp_is_active('friends')) { ?>
<h3><?php _e( 'Site Activity', 'buddypress' ) ?></h3> <?php endif; ?> <?php do_action( 'bp_before_directory_activity_content' ) ?> <?php if ( is_user_logged_in() ) : ?> <?php locate_template( array( 'activity/post-form.php'), true ) ?> <?php endif; ?> <?php do_action( 'template_notices' ) ?> <div class="item-list-tabs activity-type-tabs"> <ul> <?php do_action( 'bp_before_activity_type_tab_all' ) ?> <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/' ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ) ?>"><?php printf( __( 'All Members (%s)', 'buddypress' ), bp_get_total_site_member_count() ) ?></a></li> <?php if ( is_user_logged_in() ) : ?> <?php do_action( 'bp_before_activity_type_tab_friends' ) ?> <?php if ( function_exists( 'bp_get_total_friend_count' ) ) : ?> <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/' . BP_FRIENDS_SLUG . '/' ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li> <?php endif; ?> <?php endif; ?> <?php do_action( 'bp_before_activity_type_tab_groups' ) ?> <?php if ( function_exists( 'bp_get_total_group_count_for_user' ) ) : ?> <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
?> <div class="item-list-tabs activity-type-tabs" role="navigation"> <ul> <?php do_action('bp_before_activity_type_tab_all'); ?> <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/'; ?> " title="<?php _e('The public activity for everyone on this site.', 'product'); ?> "><?php printf(__('All Members <span>%s</span>', 'product'), bp_get_total_site_member_count()); ?> </a></li> <?php if (is_user_logged_in()) { ?> <?php do_action('bp_before_activity_type_tab_friends'); ?> <?php if (bp_is_active('friends')) { ?>