The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Admin Ip Address
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
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|