Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2010 01:08:31 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Committing patch from #2566 for easier review and testing. Adds BP_Button class and associated template tags. Also includes code formatting fixes, phpdoc, widget fixes when friends component is disabled, and possibly the kitchen sink.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/members/members-loop.php

    r3222 r3260  
    3030                <div class="item-title">
    3131                    <a href="<?php bp_member_permalink() ?>"><?php bp_member_name() ?></a>
     32
    3233                    <?php if ( bp_get_member_latest_update() ) : ?>
     34
    3335                        <span class="update"> - <?php bp_member_latest_update( 'length=10' ) ?></span>
     36
    3437                    <?php endif; ?>
     38
    3539                </div>
     40
    3641                <div class="item-meta"><span class="activity"><?php bp_member_last_active() ?></span></div>
    3742
     
    4247                  * If you want to show specific profile fields here you can,
    4348                  * but it'll add an extra query for each member in the loop
    44                   * (only one regadless of the number of fields you show):
     49                  * (only one regardless of the number of fields you show):
    4550                  *
    4651                  * bp_member_profile_data( 'field=the field name' );
     
    5055
    5156            <div class="action">
    52                 <?php bp_member_add_friend_button() ?>
    5357
    54                 <?php do_action( 'bp_directory_members_actions' ) ?>
     58                <?php do_action( 'bp_directory_members_actions' ); ?>
     59
    5560            </div>
    5661
Note: See TracChangeset for help on using the changeset viewer.