![]() |
About Me - Privacy Conditional for MEMBERINFO
I would like to show information in MEMBERINFO (on a mobile style) only if the user viewing the profile is within the proper permissions under the "About Me" settings (User CP -> Profile Privacy -> About Me)
I tried this but it blocks the information regardless of their settings Code:
<if condition="$show['simple_link']"> Thanks |
I don't think you want $show['simple_link'] since that basically just tells whether or not you're viewing your own profile.
Near as I can make out looking at the code (and not having tried anything), I think you want to check $profileblock->locations[x] where x is the 'profile category id' for the About Me tab (unfortunately I couldn't figure out what it should be exactly). |
All times are GMT. The time now is 03:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|