[buddypress-trac] [BuddyPress] #3741: BuddyPress should have theme compatibility

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 15 04:48:50 UTC 2011


#3741: BuddyPress should have theme compatibility
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  task             |      Status:  new
 Priority:  normal           |   Milestone:  1.6
Component:  Theme            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Replying to [comment:2 r-a-y]:
 > I'm not sure what the goal for v1.6 is for theme compat, but an easy way
 while still keeping bp-default is if we could use a wrapper function for
 locate_template() in bp-default.
 >
 > This wrapper function would check the STYLESHEETPATH for a BP template
 file first before falling back to bp-default's template files.
 >
 > Then a simple plugin could be written to enqueue the JS and CSS and
 override the "bp_located_template" filter.
 >
 > Related: #2649
 >
 > Also see: http://bpdevel.wordpress.com/2011/01/12/there-is-a-dev-chat-
 today-wednesday-12t/#comment-743

 So, the problem with that method is falling back on a totally new page
 layout will only provide a more confusing experience. Having there be a
 "BuddyPress Theme" and then an "active theme" and try to sort out the bits
 won't fly.

 Ultimately we need a bbPress 2.0 style approach, where we split bp-default
 up into template parts, hook into the_content early, render the proper
 template part in an output buffer, and replace the original the_content
 with the new BuddyPress template part. That way it's a seamless experience
 and your average user doesn't ever know what's going on.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3741#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list