The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|