title: how to restrict access to other users profile links in buddy press?
body: <p>I have been trying to avoid accessing this specific url which is included under a buddy press plugin profile as :</p>
  
  <pre><code> http://localhost/members/test0/mycred-history/
  </code></pre>
  
  <p>I am using an another plugin MyCred for this.The problem which I am facing is that the above link shows the history of points gained by a user..As it is accessable by every logged in user..Merely I want it to be like in this way that only logged in users can check their own history not to be able to check other members profile history page...And it is working under Buddy Press so please..Any help would be appreciated..!</p>
  
  <p>Simply If I am logged in as "Test1" so I can also check my own follwing link as follows :</p>
  
  <pre><code>http://localhost/members/test1/mycred-history/
  </code></pre>
  
  <p>And also I can access other members profile history link also :</p>
  
  <pre><code>http://localhost/members/test2/mycred-history/
  </code></pre>
  
  <p>I simply want to restrict access to one's own profile history link only..as it's working as extending plugin namely as MyCrud so it doesn't have that feature by default while Buddy Press already has this feature by default...
  So if anyone can just guide me please how to set it for this history page url so that users can't access other users profile history url..!
  Would be very appreciated..!
  Thanks..!</p>