Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 10 years ago

#3501 closed enhancement (wontfix)

More flexibility in default theme member-header.php

Reported by: Jonnyauk Owned by:
Priority: normal Milestone:
Component: Templates Version:
Severity: normal Keywords:
Cc: karmatosed@…

Description

It would be very useful to make this file more flexible to allow child themes and plugins to interact with it more.

See suggested patch attached 01.patch:

bp-default/members/single/member-header.php

  • New hook 'bp_before_member_header_title' - Insert content before main h2 title.
  • New hook 'bp_before_member_header_summary' - Before activity summary.
  • @name and last activity code made into new display function 'bp_dtheme_content_member_summary' - Allow more flexibility and over-ride potential in child themes. May be of use for activity area redesigns.
  • bp_activity_latest_update() and surrounding <div> made into new display function 'bp_dtheme_content_member_update' - Allow more flexibility and over-ride potential in child themes. May be of use for activity area redesigns.

bp-default/_inc_css/default.css

  • Amend CSS style accordingly

bp-default/functions.php

  • Contains new display functions as described above.

Attachments (1)

3501-01.patch (3.6 KB ) - added by Jonnyauk 15 years ago.

Download all attachments as: .zip

Change History (7)

@Jonnyauk
15 years ago

#1 @johnjamesjacoby
15 years ago

  • Component CoreTheme
  • Keywords has-patch 2nd-opinion added; dev-feedback removed
  • Milestone Awaiting ReviewFuture Release

The problem with moving those snippets into functions are child themes that won't be updating their functions.php files.

Great patch but too late in 1.5 development cycle to make this kind of change. Moving to future release.

#2 @Jonnyauk
15 years ago

Makes sense - I understand on the child themes front.

#3 @DJPaul
13 years ago

  • Keywords needs-refresh added; has-patch 2nd-opinion removed

#4 @karmatosed
13 years ago

  • Cc karmatosed@… added

#5 @DJPaul
10 years ago

  • Component Appearance - Template PartsTemplates

#6 @mercime
10 years ago

  • Keywords needs-refresh removed
  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

Closing this as we no longer support the bp-default theme.

Note: See TracTickets for help on using tickets.