[buddypress-trac] [BuddyPress Trac] #6290: Avatars, an extensible UI
buddypress-trac
noreply at wordpress.org
Thu Apr 16 22:36:39 UTC 2015
#6290: Avatars, an extensible UI
------------------------------------+-----------------------
Reporter: imath | Owner: imath
Type: idea | Status: assigned
Priority: normal | Milestone: 2.3
Component: API - Avatars | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+-----------------------
Comment (by imath):
In [changeset:"9757"]:
{{{
#!CommitTicketReference repository="" revision="9757"
Avatar UI: Add Backbone templates and adapt the legacy avatar templates.
The Backone templates will be in a new "assets" sub directory of `bp-
templates\bp-legacy\buddypress`. For the introduction of the feature we
are advising you *to not override* these specific templates from your
theme. The underscore in each sub folder names of this "assets" directory
is informing we wish to restrict the content of the sub folder to Core use
only.
We are introducing a new template tag to load these Backbone templates :
`bp_avatar_get_templates()`. We recommand that you update the avatar
templates of your theme if you are overriding `groups/create`,
`groups/single/admin` or `members/single/profile/change-avatar` once 2.3
will be released. If this new template tag is not into the template, then
`bp_avatar_template_check()` will try to load them using template hooks.
Props johnjamesjacoby, hnla, r-a-y.
See #6290
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6290#comment:54>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list