1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed View profile posts -> Tab Conditional

Discussion in 'Resolved Bug Reports' started by Russ, Oct 24, 2014.

  1. Russ

    Russ Well-Known Member

    Just curious on the member_view template the profile posts tab isn't wrapped in the following conditional:

    Code:
    <xen:if is="{$canViewProfilePosts}">
    
    Instead I just see it in the content of the <li> for the profile posts themselves. Wasn't sure if this was intentional but I figure if I revoke "view profile posts" there should be no reason the tab should load at all(I've edited it out for now so no biggie but figured I'd mention it).
     
  2. Mike

    Mike XenForo Developer Staff Member

    As it stands, it's intentional. It's mostly because the next tab is potentially recent activity which requires an additional Ajax request to fetch.
     

Share This Page