Back to vBulletin 3.5 Template Modifications

View IP address inline
Mod Version: 1.00, by TygerTyger

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 21
Released: 08 Oct 2005 Last Update: 08 Oct 2005 Downloads: 16
Not Supported Template Edits  

Name: View IP address inline
Description: Replaces computer (or theme equivalent) icon and mouseover to display posters IP address with the IP address simply as text.
Difficulty: Simplicity itself!
Screenshot attached

Basically I just wanted IP address display to work the same as in SMF. It's infinitely more usable; far easier to scan addresses and spot discrepancies at a glance, etc.

Open postbit_ip in your templates.

FIND: (Should be the entire contents unless you've modded it already)

PHP 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> 
REPLACE WITH:

PHP Code:
<if condition="$show['ip']">
    
$vbphrase[ip]: $post[ip]
<else />
    <
a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]">$post[ip]</a>
</if> 
And if you feel like cleaning up afterwards to recover those precious bytes

DELETE:

yourthemedirectory/buttons/ip.gif

Done!

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

User can view their own IP address... vBulletin 2.x Full Releases
vb 2.02 : View templates inline (great for upgrades) vBulletin 2.x Full Releases
vb 2.0b1 : View templates inline vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024