Quote:
Originally Posted by mikeB
no Ive checked it 10 times - maybe this wont work w 3.0.1?
|
Hmm, Well you are right, the postbit_ip template code in that proxy detector text file is a bit duff. I just took that hack, as was, and added it to my zip file assuming it was ok.
You could replace it with this which should work ok ;
PHP Code:
<if condition="$show['ip']">
$vbphrase[ip]: $post[ip]
<if condition="($post[proxyip] != '')">
<br>Proxy Detected - Real IP: $post[proxyip])
</if>
<else />
<if condition="($post[proxyip] != '')">
<a href="postings.php?$session[sessionurl]do=getip&p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="Proxy Server : $post[ip] - Real IP: $post[proxyip]" 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>
But it's a bit academic if you are applying my Hack, as part of mine replaces the postbit_ip template code again anyway.
Paul.