![]() |
Stop moderators seeing admin ip address
Moderators can see user's ip address' in posts, they can also see admin's ip address in their posts, is there a way to stop them seeing admin's ip address?
|
It doesn't look like there's a setting for that, just one for moderators able to see ips or not. I'm not familiar with what mods are out there so I don't know if there's an existing mod for this (and of course you can't search for 'ip'). But you could edit template postbit_ip and add a line at the beginning
Code:
<if condition="!is_member_of($post, 6) OR is_member_of($bbuserinfo, 6)"> and an extra </if> at the end. But that will only stop the icon from showing up next to admins' posts. It wouldn't stop a moderator from going directly to the page that displays the ip and host name (like when you click on the icon). There's a threadmanage_getip hook where you could make a plugin to handle that, but you can't do the same logic because at that point the post user info isn't available (You could make it available, but it gets a little more complicated). But what you could do it stop moderators from using that function altogether by using plugin code something like: Code:
if (!is_member_of($bbuserinfo, 6)) I guess a different approach would be to stop logging of ips for admins, although I guess there could be situations where you'd want that info. |
Quote:
|
All times are GMT. The time now is 11:46 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:
|