Done, i didnt replace the code in the zip and 1st post, i added to the original, this ok or did you want the replacement code replacing?
Quote:
Originally Posted by peterska2
Actually, the only thing you need to do if you use a modified memberinfo is to drop a couple of characters from the replace code.
so instead of using
Code:
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a>
<!-- Bashy's IP Hack Start --!>
<a href="admincp/usertools.php?$session[sessionurl]do=doips&username=$userinfo[username]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<!-- Bashy's IP Hack end --!>
</td>
</if>
use
Code:
<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[user_options]</a>
<!-- Bashy's IP Hack Start -->
<a href="admincp/usertools.php?$session[sessionurl]do=doips&username=$userinfo[username]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<!-- Bashy's IP Hack end -->
</td>
</if>
I confirm this works correctly in IE and FF.
Bashy, can you update the zip and first post with this snippet instead? Cheers, mate
|