PDA

View Full Version : Super Mods & IPs


JBMoney
05-24-2002, 04:52 PM
How can I make it so that Super Moderators can't see IP addresses?

I thought that the IP check box included in the group permissions was intended to accomplish this, but it doesn't. Super Mods can still see the IP when listing an individual users thread, or by clicking the 'logged' link.

Logician
05-27-2002, 05:29 AM
There is an hack around for "IP address Link Hiding". First apply that hack, then in the hack code find:

--- cut -----------
if ($logip==2 && ($bbuserinfo[usergroupid]==6 || ismoderator($forum[forumid]))) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_show")."\";");
}
if ($logip==1 && ($bbuserinfo[usergroupid]==6 || ismoderator($forum[forumid]))) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_hidden")."\";");
--- cut -----------

and replace it as:

--- cut -----------
if ($logip==2 && $bbuserinfo[usergroupid]==6) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_show")."\";");
}
if ($logip==1 && $bbuserinfo[usergroupid]==6) {
eval("\$post[iplogged] .= \"".gettemplate("postbit_ip_hidden")."\";");
--- cut -----------

JBMoney
05-28-2002, 03:21 PM
I've searched but I can't find that hack.

Dark_Wizard
05-28-2002, 03:23 PM
Originally posted by JBMoney
I've searched but I can't find that hack.

https://vborg.vbsupport.ru/showthread.php?s=&threadid=31934&highlight=hide