Back to vBulletin 3.8 Add-ons

Show hashed IP to find sock puppets
Mod Version: 1.00, by ateesdale

vB Version: 3.8.7 Rating: (1 vote - 5.00 average) Installs: 2
Released: 06 Mar 2011 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Re-usable Code  

Here is a little mod that I used in my forum. Basically, it takes the IP address for each posts and hashes it so that I can show it to the users of the forum. I hash it as I do not want regular members seeing the actual IP of the person making the post. This allows users to identify sockpuppets and users with multiple registrations.

It is sort of ugly but it works.

1. You need to create a new plugin under AdminCP -> Plugins & Products -> Add New Plugin

Product: vBulletin
Hook Location: posbit_display_start
Title: IP to Hash
Execution Order: Leave as is
Plugin PHP Code:
PHP Code:
$md5ip substr(md5('PUTAUNIQUEVALUEHERE'.$post['ip']),-10); 
2. Then you need to add some code to your postbit template. I put mine right under the Quote button for each post. I also limit it's view to certain users.

PHP Code:
<if condition="is_member_of($bbuserinfo, 6,7,9)">                                
<
div class="smallfont">$md5ip</div>
</if> 

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2025