Log in

View Full Version : ipInfo -- Extra user IP information


Jordeh
07-03-2004, 10:00 PM
ipInfo is a replacement for the standard 'view users ip' option in
vBulletin. Normally when you click on the view ip button in a user's post
you'll only see his or hers ip address and host name.

With ipInfo you'll get more information. Besides the ip address and host
name you will also see what other users have posted with the same ip
address. That feature can be really good for spotting clones.

Another thing ipInfo will show you is what other ips this user has posted
with and how many times. Could be useful when you want to ban all of the
ips of a user and not just the one of that post.

Instructions, screenshot & php file attached!

Note: Parts of the IPs on the screenshot are hidden, this is obviously not the case when you install it on your site. They're hidden for security :D

It will probably look familiar to those that had or have a phpBB board. This was one of the features I missed so much in vBulletin, not anymore :D

Update: I forgot to add a phrase in the instructions. Instruction text file is updated. If you already have the hack installed add this phrase to the phrase group GLOBAL:
Varname: host_name
Text: Host Name

Thanks to Boofo for letting me know!

Mijae
07-03-2004, 11:22 PM
Very nice! Will install this later :D

???`S?LV?R???`
07-04-2004, 12:07 AM
nice one, ill definitly use this :)

Boofo
07-04-2004, 02:10 AM
Any way to add proxy detecetion to this also? I have the proxy IP hack installed and I would have to uninstall it for this. ;)

kall
07-04-2004, 02:38 AM
Any way to add proxy detecetion to this also? I have the proxy IP hack installed and I would have to uninstall it for this. ;)
From looking at it briefly, it looks as though the stuff that the proxy detector does isn't fundamentally changed, so should be easily integrated with this.

:)

Merjawy
07-04-2004, 03:04 AM
Cool hack thnx.. will install later :)

alkatraz
07-04-2004, 04:10 AM
very useful!! thank you

Skaterscafe.com
07-04-2004, 05:34 AM
Very nice, thanks!!

msimplay
07-04-2004, 08:56 AM
i like this installed :)

Jordeh
07-04-2004, 05:04 PM
Boofo is testing my addon for the proxy hack and the ipinfo hack, I hope it's going to work. If it's working I'll post it here :)

Thanks for all the kind comments!

The Realist
07-04-2004, 05:37 PM
Installed - Nice one.

Dan P.
07-04-2004, 08:34 PM
Great mod. I installed without a problem.

RMS-Chef
07-04-2004, 09:17 PM
Nice.
Any way to get this to list all instances of multiple accounts per per user or IP on like a seperate "Multiple Account's" page, maybe in the ACP? It would be a great tool to just have a listing of linked accounts.

ttlgDaveh
07-05-2004, 05:18 AM
That is an excellent hack! Installed!

Jordeh
07-06-2004, 10:53 AM
Nice.
Any way to get this to list all instances of multiple accounts per per user or IP on like a seperate "Multiple Account's" page, maybe in the ACP? It would be a great tool to just have a listing of linked accounts.That could get really difficult, it'll probably need lots of complicated SQL queries. I figure it would be relaly resource intensive too. I'll think about it but I'm not going to promise anything ;)

YLP1
08-09-2004, 08:09 PM
Dumb question: The last step says New Templates...

I'm new to VB what does this mean?

The Realist
08-09-2004, 08:22 PM
## NEW TEMPLATES ################################################## #######

Means just that.

Where it says: Title: ipinfo_otherip

Make a new template called ipinfo_otherip

And copy the text below it in this new template and follow on with the other 3.

Laters

Dumb question: The last step says New Templates...

I'm new to VB what does this mean?

Logan70
08-11-2004, 05:08 PM
Any news on using this with the proxy hack?

would love to hear if it works.

sully02
08-12-2004, 04:44 PM
Any news on using this with the proxy hack?

would love to hear if it works.
My Super Moderators and Moderators are unable to see this. I'll check their settings, but if they appear to be fine, how would I make it so they can see everything? Right now, they can just see the IP.

redlabour
08-20-2004, 09:05 AM
Nice Hack......

@sully02 - ???? For what reason is a mod needing to see the IP from User ?

dutchbb
08-20-2004, 11:21 AM
very usefull hack thanks

Wential
08-21-2004, 04:30 AM
Excellent hack for Admins! You get my vote for security hack of the year.

integra99
08-21-2004, 06:27 AM
Any news on using this with the proxy hack?

would love to hear if it works.
What's the proxy hack?

Hh75
08-22-2004, 05:51 PM
Very nice Hack. Thanks a lot!

CLICKED @ INSTALL :)

Onkel_Tom
08-22-2004, 08:06 PM
well done Jordeh, thanks
* Onkel_Tom clicks install ;)

For instance the "proxy IP hack" Users can do a workaround.

In Template postbit_ip instead of changing the line
<a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]">

add a separate line at the end of this Template.

find in Template postbit_ip:
<img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="IP-Address: $post[ip] ......... etc. etc. </if>" border="0" /></a>[code]

add after:
[code]
nbsp;<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip2.gif" alt="$vbphrase[ip]" title="click here to show all IP-Addresses for User $post[username]" border="0" /></a>


pay attention that the code "</if>" is still at the end of this template !

After that copy the attached image ip2.gif to your /forum/images/buttons directory.

Now you have both Hacks working on your forum.

RacerX
08-23-2004, 02:02 AM
Nice Hack......

@sully02 - ???? For what reason is a mod needing to see the IP from User ?

My Super Mods do all sorts of detective work, as do my senior mods and some forum leaders... We only have a few admins and to make this a real strong tool people other than admins would be a huge plus if you cannot already select.

Limey-YMR
08-23-2004, 03:29 AM
Very nice Hack.
I'll use it in conjunction with the Geobytes IP address locator, http://www.geobytes.com/IpLocator.htm

of course, AOL proxied users generate false positives, those AOL proxies always screw up webmaster stats....

Limey-YMR
08-23-2004, 01:49 PM
When perusing, "Who's online" users that are using ipinfo.php are flagged as being in an unknown location, and the syntax passed to ipinfo.php is shown.

Can normal users access this file if they observe the full URL on the whos online page?

Is it possible to change the whos online variable to, "running security checks" or something similar.

And would it be advisable to place the ipinfo.php in the admincp folder, or at least somewhere that's protected by username/password such as an .htaccess/.htpasswd protected directory on an apache server?

Wential
08-23-2004, 02:42 PM
Good points Limey.

Pseudomizer
08-27-2004, 05:10 AM
Nice Hack. A combination of the proxy IP hack and of this one would be great because right now, i have 2 buttons in each post. Just one button and one template showing all information would be great. Give it a try !!!

Cheers,

Theater
08-27-2004, 11:33 PM
well done Jordeh, thanks
* Onkel_Tom clicks install ;)


For instance the "proxy IP hack" Users can do a workaround.

In Template postbit_ip instead of changing the line
<a href="postings.php?$session[sessionurl]do=getip&amp;p=$post[postid]">

add a separate line at the end of this Template.

find in Template postbit_ip:
<img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="IP-Address: $post[ip] ......... etc. etc. </if>" border="0" /></a>[code]

add after:
[code]
nbsp;<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip2.gif" alt="$vbphrase[ip]" title="click here to show all IP-Addresses for User $post[username]" border="0" /></a>


pay attention that the code "</if>" is still at the end of this template !

After that copy the attached image ip2.gif to your /forum/images/buttons directory.

Now you have both Hacks working on your forum.
I assume this (https://vborg.vbsupport.ru/showthread.php?t=61331&highlight=proxy+hack) is "the proxy hack" you are referring to?

Thanks for this hack, *clicks install*

Pseudomizer
08-28-2004, 12:22 AM
I assume this (https://vborg.vbsupport.ru/showthread.php?t=61331&highlight=proxy+hack) is "the proxy hack" you are referring to?

Thanks for this hack, *clicks install*

Thanks Theater, but i have seen this already. My request would be not to have 2 icons to click, but only 1 icon where you have the information of both hacks combined. Got me ?

Cheers,

y2krazy
08-30-2004, 03:15 AM
/me clicks install!

AnhTuanCool
08-30-2004, 10:44 PM
Cool, I clicked install ;) thanks lots bro

Yelper
08-31-2004, 03:21 AM
* Yelper clicks install. :D

Extremely handy not going all the way to AdminCP to check all this, and you can easily see with IP address is primary (most posts). Nice work!

iflux
09-05-2004, 01:19 PM
thanks. Great Hack.

Overlord
09-27-2004, 06:00 AM
Installed this hack.. very useful as we have had loads of clones lately.. :)

Buczilla
09-30-2004, 08:34 PM
Installed.......great work!

MickDoneDee
10-03-2004, 01:50 PM
*install* on vB3.0.3. I used Onkel Tom's workaround in template postbit_ip because postbit_ip has Paul Marsden's Proxy IP Hack Modification v1.1 code in it. His hack is at
https://vborg.vbsupport.ru/showthread.php?t=69295

I've also got Proxy Detector v3.1 (https://vborg.vbsupport.ru/showthread.php?t=61331)

Paul Marsden's modification provides a red coloured gif in place if ip.gif when the post was posted by a user with a proxy server. Has other benefits as well.

Onkel Tom's workaround provides an additional gif to call-up the template information provided in this hack. With all three hacks installed I'm much better informed about my members and which ones may be using other names. Even if they use a proxy server I can see them in Who's Online. I had no problems with the installs but there were quite a few file and template changes and some new templates were created.

:Judge:
10-15-2004, 08:37 PM
thankyou this hack rocks

(installed on vb 3.0.3)

SaN-DeeP
10-17-2004, 07:32 AM
anyway to restrict this hack to be used only by administrators ?
i want to disable this to be used by moderators and super-mods

Regards,

Techguy1
10-19-2004, 09:52 PM
anyway to restrict this hack to be used only by administrators ?
i want to disable this to be used by moderators and super-mods

Regards,
I would add a conditional to postbit:
<if condition="$bbuserinfo[usergroupid] == 6">
// ipinfo.php URL
<else />
// regular URL
</if>

Then, edit ipinfo.php
Find: if (!can_moderate($threadinfo['forumid'], 'canviewips'))
Replace with: if ($bbuserinfo['usergroupid'] != 6)

SaN-DeeP
10-20-2004, 12:29 AM
Thank You Techguy1 for your help :)
I remember your site but not your ID

Regards,

alzibub
12-11-2004, 04:30 PM
Great - this is just what I needed.
Thanks for the code :)

trevelyn1015
12-12-2004, 07:01 AM
great hack... installed..

Widok
01-06-2005, 04:40 PM
well done Jordeh, thanks
* Widok clicks install ;)

Onkel_Tom, Thanx for
For instance the "proxy IP hack" Users can do a workaround.

Limey-YMR
01-06-2005, 05:13 PM
I tried adding a location for Whos Online so that you don't just get "Unknown Location" but its not working out, I edited Includes/functions_online
though something is missing...

Dennis B
01-18-2005, 07:02 PM
Installed, great hack, integrated with the proxy hack. :up:
Thanks.

chriswible
01-24-2005, 01:30 PM
YES! I missed this so much when we migrated from phpBB. Poo, I actually just went through all the trouble of coding a hack like this one (stupid me, only looked in the admin section). Yours is far superior, though, so I'm using it instead. :p Thanks!

Skyline_GT
01-24-2005, 06:08 PM
very nice..
will install this.

Megareus Rex
02-06-2005, 04:46 AM
Great hack, invaluable to our war efforts :-p
(j/k, of course...>.>)

MrLovellz
02-26-2005, 02:43 PM
Thanks alot :)

* MrLovellz clicked install

This is just what i was looking for, kinda a feature missed from phpBB when upgraded it to vB :D

The Piper
04-16-2005, 04:59 PM
When perusing, "Who's online" users that are using ipinfo.php are flagged as being in an unknown location, and the syntax passed to ipinfo.php is shown.I tested this on my vB 3.0.7 and it shows "Viewing index" instead. Can anyone please confirm this?

Also, would it be possible to make each of the IP addresses in the "All IPs for this user" clickable, and have another page with information on other users using those as well?

I figured it would be a nice way to cross-check data, specially if a user has a couple of hundreds of IP addresses.

Great hack, /install. Thanks!

PCOSLiving.com
07-15-2005, 03:10 AM
bump :) Definitely would be useful for "smurf" detection.

Paul M
07-15-2005, 04:31 AM
The author of this hasn't logged in for over 8 months, so it's doubtful bumping it will get very far.

PCOSLiving.com
07-16-2005, 05:48 PM
Yeah, doh! I am running into some minor problems with this hack. Maybe someone else can give me some ideas. I installed the mod added the conditional statement, as per techguy, and ran into a little problem.
When I click on the ipinfo icon to see all of the ips rather than just the standard, i get a blank screen. Any ideas?
PCOS

Xplorer4x4
08-18-2005, 10:01 PM
Any chance you will get this ported to 3.5 soon?? This was one of my favorite security feature hack there was for 3.0X.

I tried to install it and here is what I get:
Fatal error: Call to a member function on a non-object in /forums/ipinfo.php on line 81

Here is line 81 for reference. ;)

$users = $DB_site->query("

Andy R
09-21-2005, 12:44 AM
I just upgraded a site of mine and need this IP feature for v3.5. Anyone seen a good IP solution for 3.5. I twould be nice to have the proxy IP hack, member's sharing IPs and a link to geobytes all in one.

FWIW - I tried to search the v3.5 forum for IP but the term is too short. I viewed the threads but did not find any good IP tools for v3.5 yet.

Paul M
09-21-2005, 03:02 AM
Proxy to real ip exists for 3.5, don't recall seeing any others.

Andy R
09-23-2005, 02:13 PM
Any chance you will get this ported to 3.5 soon?? This was one of my favorite security feature hack there was for 3.0X.

I tried to install it and here is what I get:
Fatal error: Call to a member function on a non-object in /forums/ipinfo.php on line 81

Here is line 81 for reference. ;)

$users = $DB_site->query("I get the same error. Can anyone help us debug this .php file so it will be 3.5 compatible. This tools is very important for sniffing out trolls and their alter egos...

Here is the rest of the code where the error is happening (of course you can download it all at the top of this thread, haha).// Search posts first
$users = $DB_site->query("
SELECT post.username, post.userid
FROM " . TABLE_PREFIX . "post AS post
WHERE post.ipaddress = '" . $postinfo['ipaddress'] . "'
AND post.userid != '" . $postinfo['userid'] . "'
GROUP BY post.username
ORDER BY post.username ASC
");

Zachariah
09-23-2005, 02:20 PM
Ill look @ the hack and see what I can do for vb 3.5

Paul M
09-23-2005, 04:32 PM
That'll save me the trouble then. :)

Zachariah
09-24-2005, 06:47 PM
vb3.5 Ver.

https://vborg.vbsupport.ru/showthread.php?t=96834

Edit: 1 template
Upload: 1 file
Add: 3 templates

Zachariah
10-23-2005, 07:21 PM
Shameless Plug

HOTM ? - Perhaps ?
https://vborg.vbsupport.ru/showthread.php?t=98444

ipInfo -- Extra user IP information (VB 3.5)

The VB3.0 Ver. made by Jordeh has 202 Installs.

I have a lot of use out of this. Thanks Jordeh.

mystic10
10-18-2007, 09:47 PM
:( not working i am not sure what i did wrong

MickDoneDee
10-31-2007, 02:31 AM
If your forum software version is 3.5.x or later you should use one of the hacks in the threads below:

ipInfo v. 1.2 for vBulletin 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=96834)

ipInfo v. 1.5 for vBulletin 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=117966)