<div>
Let me explain a bit more, I think your advice would be appreciated.
</div><div><br></div><div>Right now, BP's default theme does add_theme_support('buddypress'), but we don't use it for anything. At a point in the future -- most probably 1.7, our next major release -- we'll be implementing called a "theme compatibility layer". If anyone knows how the templating in bbPress 2 works, it'll be almost identical. For those who don't, in a nutshell, BP will ship with a very lightweight very minimal set of templates. This is NOT a real theme. With some voodoo magic, those template parts will allow BP to work on any WordPress theme out of the box (just like bbPress).</div>
<div><div><br></div><div>This is a pretty drastic change, so we will need to maintain backwards compatibility with existing themes. There are nuances and edge-cases about how we think we will do this, but excluding those for the sake of brevity, the logic will work like this:</div><div><br></div><div><ul><li>If the theme or its parent does current_theme_supports('buddypress'), BP will assume the theme has ALL of the templates -- and so won't load the theme compatibility. <i>The theme is saying to BP, "don't worry, I've got this covered".</i></li><li>Otherwise, if certain BP-specific template files exist in the theme, we will not load the theme compatibility. (for old/existing BP themes that don't do add_theme_support).</li><li>Otherwise, the theme compatibility layer will be loaded.</li></ul></div><div>Checking current_theme_supports is a nicer approach rather than checking for the presences of template files in a theme, even if we cache the result of the file_exists() call. This is my motivation for reaching out and seeing if this could be added as a recommendation for BP theme reviews.</div><div><br></div>-- <br>Paul Gibbs<div><br></div></div>
<p style="color: #A0A0A8;">On Monday, 6 August 2012 at 16:57, George Mamadashvili wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>I think BuddyPress theme changes are going to be implemented in 1.7, here's more infor from Paul -
<a href="http://bpdevel.wordpress.com/2012/08/03/group-templates-in-buddypress-1-7/">http://bpdevel.wordpress.com/2012/08/03/group-templates-in-buddypress-1-7/</a><br><br><div>On Mon, Aug 6, 2012 at 8:08 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br><blockquote type="cite"><div>Absolutely.<div><br></div><div>When do you anticipate this change? Is this something that can be added to the WordPress 3.5-related guidelines revisions, or will we need to implement sooner than that?</div>
<div><br></div><div>
Thanks,</div><div><br></div><div>Chip<br><br><div><div><div>On Sun, Aug 5, 2012 at 11:00 PM, Paul Gibbs <span dir="ltr"><<a href="mailto:paul@byotos.com" target="_blank">paul@byotos.com</a>></span> wrote:<br>
</div></div><blockquote type="cite"><div><div><div>
<div>Hi all,
</div><div><br></div><div>I'm one of the core developers on the BuddyPress plugin. Some changes we have planned in the pipeline for BuddyPress will affect the way BuddyPress interacts with themes. To help this, it would be ideal if all BuddyPress themes on <a href="http://WordPress.org">WordPress.org</a> had to have add_theme_support( 'buddypress' ) in its functions.php. Please could this be added as a theme review mandatory requirement for BuddyPress themes? </div>
<span><font color="#888888"><div><br></div><div>-- <br>Paul Gibbs<div><br></div></div>
</font></span><br></div></div>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></div></blockquote></div><br>
</div><div><div>_______________________________________________</div><div>theme-reviewers mailing list</div><div><a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a></div><div><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>