The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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?
|
#2
|
|||
|
|||
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)) { print_no_permission(); } 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. |
#3
|
||||
|
||||
You can go to each users groups and set it to where they cant see I P ..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|