PDA

View Full Version : Show Only To Self (Template Conditional)


Pocket Aces
10-22-2018, 11:18 AM
There are certain custom profile tabs I want to set as private and only visible to the account owner. How do I do that? What's the conditional to use?

MarkFL
10-22-2018, 11:33 AM
In a plugin, I would user the conditional:

$userinfo['userid'] == $vbulletin->userinfo['userid']

this should work in a template conditional as well.

Pocket Aces
10-22-2018, 12:59 PM
This is perfect! I just found out that it's the plugin that needs editing to set DBTech's Advanced User Tagging profile tabs to private.


Thanks again MarkFL! :up: