[buddypress-trac] [BuddyPress] #3381: xProfile subnav links enhancement
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Jul 25 23:32:38 UTC 2011
#3381: xProfile subnav links enhancement
-------------------------+------------------------------------
Reporter: slaFFik | Owner: slaFFik
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XProfile | Version: 1.3
Severity: normal | Keywords: dev-feedback has-patch
-------------------------+------------------------------------
I see problems with displaying profile links, such as: Public, Edit,
Change avatar. So I propose an improvement.
I've created a patch that uses the same logic as for Messages subnav
('user_has_access'=>bp_is_my_profile()). Please see attached
xprofile_subnav.patch that does that.
Template should be improved by adding a function called
bp_is_component_subnav_exists() (or smth similar), that will return true
if there is subnav and false if not. I did it, please review. It's useful
to templates creation.
I would be glad to see these or similar changes in BuddyPress 1.3. Feel
free to ask any questions.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3381>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list