Back to vBulletin 4.x Template Modifications

View IP in post - Admin/Mods
Mod Version: 1.00, by AURFSCAN

vB Version: 4.2.x Rating: (0 vote - 0 average) Installs: 4
Released: 12 May 2014 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

View the IP addresses of Members in their posts. The IP address displayed in the post is only viewable by the usergroup you set and you can add the users you dont want to display their IP's.

The displayed IP is clickable and linked to the Info page from ipaddress.is

In postbit template find

Code:
{vb:raw template_hook.postbit_signature_start}

add the following code above that but before you do, change

bbuserinfo, 6,7 to the usergroups you want to display the IP to, eg. bbuserinfo, 2,3

- 2,3 being admin, mod group eg.

and

change [userid] , array(1,2,3,4,5,88) to the user id's you dont want their IP's displayed

eg. user id's of moderators etc.

you can change the font size and color of font to suit your forum style

Code:
<vb:if condition="is_member_of($bbuserinfo, 6,7) AND !in_array($post[userid] , array(1,2,3,4,5,88))">
<br />
<span style="font-size:0.8em; color:#7a7a7a;"><a href="http://ipaddress.is/{vb:raw post.ip}" target="_blank">{vb:raw post.ip}</a></span>
</vb:if>

enjoy

Download

No files for download.

Screenshots

Click image for larger version
Name:	ip1.jpg
Views:	245
Size:	133.9 KB
ID:	149099   Click image for larger version
Name:	ip2.jpg
Views:	143
Size:	47.5 KB
ID:	149108   Click image for larger version
Name:	ip3.jpg
Views:	134
Size:	54.4 KB
ID:	149109  


vblts.ru supports vBulletin®, 2022-2024