title: Remove tabs and pages from BuddyPress profile
body: <p>i want to remove several tabs from the profile of any Buddypress user.</p>
  
  <p>I know, that i can remove them with something like this: </p>
  
  <pre><code>$bp-&gt;bp_nav['groups'] = false;
  </code></pre>
  
  <p>This works fine and removes the tabs. The problem is that the pages are still there and can be opened by typing in the url.</p>
  
  <p>Is there any solution to deactivate these pages without deactivating the whole function?
  I need this for following tabs: activity, groups and friends.</p>