title: Buddypress template hierarchy is not being used
body: <p>I am updating an installation of buddypress (1.5) to the most recent version (2.1.1). I have updated the files and am now trying to update the theme to use the template hierarchy pattern.</p>
  
  <p>For this I created the following directory structure within my theme:</p>
  
  <pre><code>my-theme/
    buddypress/
      groups/
        index-directory.php
  </code></pre>
  
  <p><code>index-directory.php</code> contains a single <code>die('debug')</code> statement for testing.</p>
  
  <p>If I copy this buddypress directory into the twentyfourteen directory and activate that theme, I am seeing the debug  message when I'm on the group listing page. However, when I use my custom theme, the message is not showing up.</p>
  
  <p>This tells me that the template hierarchy is not being applied on my theme. Why could that be? </p>
  
  <p>I suspect that somehow my theme is being treated as a legacy theme, I don't understand why though. I commented out the whole functions.php to make sure it's not because of aynthing in there. The header comment in the style.css does not contain anything special either.</p>
  
  <p>Any help on this?
  Thanks.</p>