Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#4764 closed defect (bug) (fixed)

Troubles with bp_get_activity_secondary_avatar

Reported by: imath's profile imath Owned by:
Milestone: 1.7 Priority: normal
Severity: normal Version: 1.7
Component: Activity Keywords:
Cc: rachel@…

Description

i don't know if it's linked to the fact that i'm testing 1.7 using bp theme compat, but it looks like there's a trouble with bp_get_activity_secondary_avatar.

1/ The link of the group secondary avatar is not set, as the function groups_get_group is waiting for args that are not set at line 1080 of bp-activity-template.php. As a result i have the the trouble illustrated in image group-link.png attached to this ticket

2/ In the case of a friend request, the secondary avatar breaks the html as it includes a link in a link : see image friend-link.png for an illustration.

I suggest the diff included, it seems it has resolved my troubles with my theme. But i haven't tested when using bp-default..

btw : i love this next version, great work !

Attachments (3)

group-link.png (51.1 KB) - added by imath 12 years ago.
friend-link.png (17.1 KB) - added by imath 12 years ago.
4764.diff (1.3 KB) - added by imath 12 years ago.

Download all attachments as: .zip

Change History (6)

@imath
12 years ago

@imath
12 years ago

@imath
12 years ago

#1 @DJPaul
12 years ago

  • Milestone changed from Awaiting Review to 1.7

#2 @rachelbaker
12 years ago

  • Cc rachel@… added

#3 @djpaul
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6759]) Correct link on secondary activity avatars. Fixes #4764, props imath

Note: See TracTickets for help on using tickets.