MyBB Community Forums

Full Version: Disallow IP's to be viewed by supermods
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i make it so that supermods and mods cant see ip address thats been posted by members?

I don't think there is such a thing right now. Since, if you have promoted a user to supermod or mod, I would assume you trust them enough to handle posts for your forum as well as view other peoples IP address?
I agree with Cory, to give someone Super Moderator status you should have 100% trust in them that they wont abuse the right.
Well there is actually, but it wasn't finished. In the language & code you can find traces of "canviewips"

anyways, here a fix

Open:
moderation.php

Find:
	// Lets look up the ip address of a post
	case "getip":
		addnav($lang->nav_getip);
		if(ismod($fid, "canviewips") != "yes" && ismodgroup($fid, "canviewips") != "yes")
		{
			nopermission();
		}

change to:
	// Lets look up the ip address of a post
	case "getip":
		addnav($lang->nav_getip);
		if($mybbgroup['canviewonlineips'] == "no")
		{
			nopermission();
		}

simply but "no" @ can view IP on who's online
that worked a treat dude, thanks mate

Wink