Skip to:
Content

BuddyPress.org

Opened 9 years ago

Closed 5 years ago

#5064 closed enhancement (maybelater)

Template hierarchy for /groups/single/plugins.php and /members/single/plugins.php

Reported by: henrywright's profile henrywright Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.8
Component: Core Keywords: needs-patch, trac-tidy-2018
Cc:

Description

http://codex.buddypress.org/developer/theme-development/template-hierarchy/

Just some feedback with reference to the advanced template hierarchy going into BP 1.8

  1. It doesn't mention the forums main page in the template hierarchy in the Codex. Will there be a template hierarchy for this?
  1. I noticed that the templates for the registration page (index-register.php) and activation page (index-activate.php) are filed under members (buddypress/members/*.php). If the same folder structure as bp-default is to be used, shouldn't these templates be filed under registration (buddypress/registration/*.php)?
  1. Some plugins use the plugins.php file to output information, will this be in the hierarchy e.g something like buddypress/plugins/plugin-{plugin-name}.php

Hope this helps development/testing.

Change History (7)

#1 @boonebgorges
9 years ago

  • Keywords needs-patch added; feedback removed
  • Milestone changed from Awaiting Review to 1.9
  • Summary changed from Template hierarchy feedback to Template hierarchy for /groups/single/plugins.php and /members/single/plugins.php
  • Type changed from task to enhancement

Thanks for the feedback, henrywright.

Will there be a template hierarchy for this?

Not for 1.8. We're not providing any additional enhancements for bbPress 1.x. As for bbPress 2.x (the plugin), that'd fall under your #3, but it's not slated for this release.

noticed that the templates for the registration page (index-register.php) and activation page (index-activate.php) are filed under members (buddypress/members/*.php)

These were moved to members in 1.7 bp-legacy. I think the idea was to get rid of an unnecessary template directory. bp-default still has the old format, for backward compatibility reasons only.

Some plugins use the plugins.php file to output information, will this be in the hierarchy e.g something like buddypress/plugins/plugin-{plugin-name}.php

This is a great suggestion. It's too late to do this for 1.8 (and also there are probably going to be some technical hurdles to making it work, because BP doesn't have a reliable way of telling which plugin is calling a given template), but I'm going to move this ticket into the 1.9 milestone and rename it to reflect the suggestion. We can talk about it more in the next cycle.

#2 @r-a-y
9 years ago

  • Milestone changed from 1.9 to 2.0

#3 @boonebgorges
9 years ago

  • Milestone changed from 2.0 to 2.1

Bumping this due to lack of patch. It might end up being fairly straightforward, so I'm moving to 2.1 for further review.

#4 @DJPaul
8 years ago

  • Milestone changed from 2.1 to Future Release

#5 @johnjamesjacoby
8 years ago

  • Version changed from 1.8-beta to 1.8

#6 @DJPaul
5 years ago

  • Keywords trac-tidy-2018 added

We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.

Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.

If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.

For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/

#7 @DJPaul
5 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.