Back to vBulletin 3.5 Template Modifications

IP address from user profile
Mod Version: 1.01, by bashy

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 16
Released: 09 May 2006 Last Update: 13 May 2006 Downloads: 23
Not Supported Template Edits  

Hi peeps

This is my 1st attempt, well actually i was helped by peterska2 of which i am
eternally gratefull

I have been wanting a hack like this for a while now, due to users registering
and not posting, because they have not posted, there is no easy way to find
thier IP address other than searching for it in the admincp.

With this hack all you have to do is go into the users profile and the IP image is
there next to the User Options link (see screenshot) click this and you have the
users IP address

Hope you find this as usefull as i do!!

Instructions

In the memberinfo template

FIND

Code:
    <if condition="can_moderate()">
        <td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
    </if>
REPLACE WITH

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 -->
&nbsp;<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>
If you want this for your Moderators as well then please replace the above with this code, With thanks to thalamus for this addition

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 -->
&nbsp<a href="modcp/user.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>
Please click install if you use this

EDIT: Now optimised for IE

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • peterska2

Screenshots

 

Similar Mods

User can view their own IP address... vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024