Log in

View Full Version : Hide administrators IP address


whisperswansea
06-18-2009, 06:48 PM
Is it possible to hide admin IP address from who's online?

Thank you

Outbackmark
06-18-2009, 09:18 PM
Go to your whoisonline template and find
<if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if>
and replace it with
<if condition="$bbuserinfo['usergroupid'] == '6'"><td class="thead">$vbphrase[ip_address]</td></if>
This should remove the entire IP field for all except Admin. If your Admin usergroup is not 6 change it in the second line of code.

whisperswansea
06-19-2009, 04:16 AM
many thanks...much appreciated

Outbackmark
06-19-2009, 04:39 AM
Pleasure!

algert
06-19-2009, 05:50 AM
Go to your whoisonline template and find
<if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if>
and replace it with
<if condition="$bbuserinfo['usergroupid'] == '6'"><td class="thead">$vbphrase[ip_address]</td></if>
This should remove the entire IP field for all except Admin. If your Admin usergroup is not 6 change it in the second line of code.

Hey mate i tried this, and i made a new mod account an check who's online but it still show my(admin acc)'s IP addres. :S

Outbackmark
06-19-2009, 06:39 AM
That will teach me to post without coffee!!
Also open the whoisonlinebit template
Find <if condition="$show['ip']">
Replace with
<if condition="$bbuserinfo['usergroupid'] == '6'">
And you are done.

algert
06-20-2009, 07:36 AM
That will teach me to post without coffee!!
Also open the whoisonlinebit template
Find <if condition="$show['ip']">
Replace with
<if condition="$bbuserinfo['usergroupid'] == '6'">
And you are done.

Thanks but this is certainly not what i was looking for, I was looking for something which disable only admin's IP for mods/smods, but they can view the rest, this thing disables all ip address for mods/smods in whos online but admin can view it in whos online.

but thanks anyway

raja811
06-20-2009, 10:27 AM
thank you