[buddypress-trac] [BuddyPress Trac] #6384: Create Members Loop markup class function

buddypress-trac noreply at wordpress.org
Tue Apr 21 10:28:15 UTC 2015


#6384: Create Members Loop markup class function
---------------------------------+------------------
 Reporter:  hnla                 |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  2.3
Component:  Component - Members  |     Version:
 Severity:  minor                |  Resolution:
 Keywords:                       |
---------------------------------+------------------

Comment (by hnla):

 Patch 6384.01 updates members-loop.php & bp-members-template.php

 * Bring `bp_member_class()` into use on members loop 'li' elements
 * Update `bp_get_member_class()` for a comparison check between logged in
 user and member list entry to add a class 'my-entry' on matches.

 We gain  the use of the class 'is-online' which existed and marks each
 entry if user logged in and active and we have the addition of being able
 to identify the current users entry and style accordingly

 Moving forward I would expect we'll need the class for 'member_type'
 classes as well.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6384#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list