The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
IS there a hack which will not allow super moderators or any group capable of viewing IP address (except admins) to view the admin IP address.
|
|
#2
|
|||
|
|||
|
Can't you use an IF condition?
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
In the template used to show the ip address, surround the code with
HTML Code:
<if condition="$post[usergroupid] == 6 AND $bbuserinfo[usergroupid] == 6"> // all that regular template code <else /> //error message </if> |
|
#5
|
||||
|
||||
|
Wouldn't it be even easier to just turn these permissions off in the usergroup permissions menu?
|
|
#6
|
||||
|
||||
|
He mentions or any group capable of viewing IP addresses so I assume he wants them to see normal users IP's
|
|
#7
|
|||
|
|||
|
Quote:
Keep in mind im a illiterate when it comes to this. |
|
#8
|
|||
|
|||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
HTML Code:
<if condition="$show['ip']"> <if condition="$post[usergroupid] == 6"> <if condition="$bbuserinfo[usergroupid] == 6"> $vbphrase[ip]: $post[ip] </if> <else /> $vbphrase[ip]: $post[ip] </if> <else /> <a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a> </if> [edit] in the postbit_ip template of course
|
|
#10
|
|||
|
|||
|
Thanks, but when I input that code it still allows for supermods to view IPs
|
![]() |
|
|