Opened 12 years ago
Closed 11 years ago
#4959 closed enhancement (fixed)
Passing width and height to bp_message_thread_avatar()
Reported by: | henrywright | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.9 | Priority: | normal |
Severity: | normal | Version: | 1.6.4 |
Component: | Messages | Keywords: | has-patch |
Cc: |
Description
The bp_message_thread_avatar() function doesn't doesn't allow you to pass a height and width. This is in contrast to the various avatar functions available such as bp_member_avatar() and bp_displayed_user_avatar().
Attachments (1)
Change History (6)
#1
@
12 years ago
- Keywords needs-patch added; avatar height avatar width message thread avatar removed
- Milestone changed from Awaiting Review to Future Release
#2
@
11 years ago
Hi @boonebgorges
I noticed there is a filter hook bp_get_message_thread_avatar
available which lets you pass a height and width to bp_core_fetch_avatar
so there is a work around until a patch is available.
#3
@
11 years ago
- Keywords has-patch added; needs-patch removed
Hi Boone,
I've now had the chance to download the SVN client and add some more pass-through args.
bp_displayed_user_avatar()
seems like a different case to me, butbp_member_avatar()
does seem like a good parallel (a specific type of avatar to show in the context of template loops). I don't have a problem adding more pass-through args to it. Patches welcome.