I found a solution to all of this madness lol.
Ok check this out. There is several if conditions here to deal with. In the last page suggestion it didnt account for the guest forum unregistered members posting problem as well. If a guest posts you dont want the advanced ip pulling all that info(some cases hundreds of ips)
Also instead of having 2 IP icons showing all the time. Here is the solution to have it only show 1 icon, unless a proxy is detected and then only on that case will you see two icons.
Replace all in postbit_proxyip with this below.
Quote:
<if condition="$show['ip']">
$vbphrase[ip]: $post[ip]
<else />
<if condition="($post[proxyip] != '')">
<a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/px.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<else />
<a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/blank.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
</else></if>
<if condition="$post['userid'] > 0">
<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<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>
</if></if>
|
EDIT-- cant upload a blank image.
Just upload a blank transparent image into your images/buttons folder called blank.gif. make it 1px by 1px and its basically invisible.