[buddypress-trac] [BuddyPress Trac] #5842: Activity entry useful class

buddypress-trac noreply at wordpress.org
Thu Aug 28 10:32:39 UTC 2014


#5842: Activity entry useful class
-------------------------+-----------------------------
 Reporter:  SGr33n       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Hi,

 I would suggest to add some classes to the activity entry:

 First of all a class for the user link, now it's:

 {{{
 <a title="SGr33n"
 href="http://www.buddypress.org/users/sgr33n/">SGr33n</a>
 }}}

 Would be:

 {{{
 <a class="author username me" title="SGr33n"
 href="http://www.buddypress.org/users/sgr33n/">SGr33n</a>
 }}}

 Could be also useful to add the class for the second username, it happens
 e.g. on friendship_created:

 {{{

 <a class="author username me" title="Sergio"
 href="http://www.buddypress.org/users/sergio/">Sergio</a>
 and
 <a class="" href="http://www.buddypress.org/users/sgr33n">
 <img class="avatar user-1-avatar avatar-20 photo" width="20" height="20"
 alt="Foto del profilo di SGr33n" src="http://ww4.ircaserta.com/wp-
 content/uploads/avatars/1/3047da0262dfccd6795722f43a636a6e-bpthumb.jpg">
 </a>
 <a class="second-username" title="SGr33n"
 "http://www.buddypress.org/users/sgr33n"">SGr33n</a> are now friends
 }}}

 In this second activity entry, then, looks like the avatar should have a
 class, infact it's null.

 Thanks :)

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5842>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list