Hi all,
There's a problem with the "Can View Detailed Location Info for Users" permission in vB 5. It allows the user to see the thread titles from private channels if set to Yes. There's a bug report for it here:
http://tracker.vbulletin.com/browse/VBV-12542
But they say it can't be fixed and they are just going to add a warning in the help text for it.
Well, why don't we create a mod to get it fixed? In the onlineuser_details template, there's the following condition:
Code:
<vb:if condition="isset($user['location'])">
<div title="{vb:raw user.location}" class="wol-location h-right vb-icon vb-icon-question-blue"></div>
</vb:if>
If we add another condition along with this to check the channel id of the user's location, then we can easily prevent the thread titles from appearing.
My question is, how can I add this condition to check for the channel id?
Thanks