PDA

View Full Version : About Me - Privacy Conditional for MEMBERINFO


MikesSite
02-13-2011, 04:02 AM
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
<if condition="$show['simple_link']">Any ideas?

Thanks

kh99
02-13-2011, 05:34 AM
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).