Advertisement
Guest User

Untitled

a guest
Sep 26th, 2018
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * BuddyPress - Users Header
  5. *
  6. * @package BuddyPress
  7. * @subpackage bp-legacy
  8. */
  9.  
  10. ?>
  11.  
  12. <?php
  13.  
  14. /**
  15. * Fires before the display of a member's header.
  16. *
  17. * @since 1.2.0
  18. */
  19. do_action( 'bp_before_member_header' ); ?>
  20.  
  21. <div id="item-header-avatar" class="rounded">
  22. <a href="<?php bp_displayed_user_link(); ?>">
  23.  
  24. <?php bp_displayed_user_avatar( 'type=full' ); ?>
  25.  
  26. </a>
  27. <?php do_action('bp_member_online_status', bp_displayed_user_id()); ?>
  28. </div><!-- #item-header-avatar -->
  29.  
  30.  
  31. <div id="item-header-content">
  32.  
  33. <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
  34. <h4 class="user-nicename hover-tip click-tip" data-toggle="tooltip" data-container="body" data-title="<?php bp_last_activity( bp_displayed_user_id() ); ?>" data-placement="bottom">@<?php bp_displayed_user_mentionname(); ?></h4>
  35. <?php endif; ?>
  36.  
  37. <?php if ( function_exists( 'bp_core_iso8601_date' ) ) : ?>
  38. <!--<span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> -->
  39. <?php else : ?>
  40. <!--<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> -->
  41. <?php endif; ?>
  42.  
  43. <?php
  44.  
  45. /**
  46. * Fires before the display of the member's header meta.
  47. *
  48. * @since 1.2.0
  49. */
  50. do_action( 'bp_before_member_header_meta' ); ?>
  51.  
  52. <div id="item-meta">
  53.  
  54. <?php if ( bp_is_active( 'activity' ) ) : ?>
  55.  
  56. <div id="latest-update">
  57.  
  58. <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
  59.  
  60. </div>
  61.  
  62. <?php endif; ?>
  63.  
  64. <div id="item-buttons"><?php
  65.  
  66. /**
  67. * Fires in the member header actions section.
  68. *
  69. * @since 1.2.6
  70. */
  71. do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons -->
  72.  
  73. <?php
  74.  
  75. /**
  76. * Fires after the group header actions section.
  77. *
  78. * If you'd like to show specific profile fields here use:
  79. * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
  80. *
  81. * @since 1.2.0
  82. */
  83. do_action( 'bp_profile_header_meta' );
  84.  
  85. ?>
  86.  
  87. </div><!-- #item-meta -->
  88.  
  89. </div><!-- #item-header-content -->
  90.  
  91. <?php
  92.  
  93. /**
  94. * Fires after the display of a member's header.
  95. *
  96. * @since 1.2.0
  97. */
  98. do_action( 'bp_after_member_header' ); ?>
  99.  
  100. <?php if ( sq_option( 'bp_nav_overlay', 0 ) == 1 ) : ?>
  101. <div id="item-nav">
  102. <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>" role="navigation">
  103. <ul class="responsive-tabs">
  104.  
  105.  
  106. <?php bp_get_displayed_user_nav(); ?>
  107.  
  108.  
  109.  
  110. <?php
  111.  
  112. /**
  113. * Fires after the display of member options navigation.
  114. *
  115. * @since 1.2.4
  116. */
  117. do_action( 'bp_member_options_nav' ); ?>
  118.  
  119.  
  120.  
  121.  
  122. </ul>
  123. </div>
  124. </div>
  125. <!-- #item-nav -->
  126. <?php endif; ?>
  127.  
  128. <div id="template-notices" role="alert" aria-atomic="true">
  129. <?php
  130.  
  131. /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
  132. do_action( 'template_notices' ); ?>
  133.  
  134. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement