Log in

View Full Version : Remove IP Address Button


wideopen
06-27-2007, 04:24 PM
I want to be able to turn off / remove the IP Address button that the Admins and Mods see . How do I do it?

Thanks in advance.

Come on any one?

Guest210212002
06-27-2007, 08:37 PM
Are you referring to the icon in the postbit?

cheat-master30
06-27-2007, 08:55 PM
I want to be able to turn off / remove the IP Address button that the Admins and Mods see . How do I do it?

Thanks in advance.

Come on any one?

If you mean the icons for report or infraction, this may work (remove code shown below):

-- To remove infraction link ---

<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a> &nbsp;</if>

---------------------------------

-- To remove report icon --

<if condition="$show['reportlink']">
<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a>
</if>

-----------------------------------

Just take out the if statements plus everything in between.

wideopen
06-28-2007, 02:22 PM
Kind of .. Me and my Mods have the IP address button that we can see each users IP address. I want to remove that button.

In the Post bit there is a templete called "postbit_ip" that is what I want to remove.

Below is the Templete code.

<if condition="$show['ip']">
$vbphrase[ip]: $post[ip]
<else />
<a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
</if>

OK I figured it out.

Delete the contents of the template and save it.. Simple. :D