vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   ipInfo -- Extra user IP information (https://vborg.vbsupport.ru/showthread.php?t=96834)

Zachariah 09-23-2005 10:00 PM

ipInfo -- Extra user IP information
 
# ipInfo v. 1.2 for vBulletin 3.5.x
# ----------------------------------------------------------------
# Copyright ?2004 Jordi Romkema. All Rights Reserved.
#
# Ported to VB 3.5 by: Zachariah - http://www.gzhq.net

Old VB 3.x can be found here

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.

================================================== =====
Edit: 1 template
Upload: 1 file
Add: 3 templates
Added: 9 phrases
Added: Admin setting
================================================== =====

Changelog:

1.2
- added option to limit how far back to get posts.

1.1
- Added option If the user that posts is a guest use the old standard VB IP info page.
- To upgrade replace postbit_ip template with new code.
-------------------------------------------------------*/

Quote:

Originally Posted by Yorixz
Thanks a lot, very usefull to have some more info than the basic things vB gives.
(Confirmed to work 100% with vB3.5 Gold)


Daniel 09-24-2005 07:47 PM

Great! I'll test it out now.

EDIT: works great!

nexialys 09-24-2005 07:50 PM

best of all, and quite easy to install for a complete IP report...!!!

Zachariah 09-24-2005 08:08 PM

Quote:

Originally Posted by nexialys
best of all, and quite easy to install for a complete IP report...!!!

Yes Sir, the extra info does help root out trouble makers.

:cool:

Kirk Y 09-24-2005 08:42 PM

Nice one. Would it be possible to show users that share any of the additional IP addresses?

.Tim 09-24-2005 08:43 PM

Great hack!

BradE 09-24-2005 09:43 PM

Works great, very helpful for rooting out trolls with multiple accounts.

Zachariah 09-24-2005 11:13 PM

Quote:

Originally Posted by acidburn0520
Nice one. Would it be possible to show users that share any of the additional IP addresses?

Ill take a look.

jribz 09-24-2005 11:24 PM

Thanks for the great hack, one question though, would it be very difficult to use geotargeting, or tracking, to automatically determine the physical location of the IP address, sort of like a IP or DNS reversal? I had a situation on my boards where we were banning allot of people, it took a while before we realized they were all from India and this would have made the process much much quicker.

Alien 09-24-2005 11:24 PM

It's great to see the return of this! Thanks so much!

Zachariah 09-24-2005 11:33 PM

Quote:

Originally Posted by jribz
Thanks for the great hack, one question though, would it be very difficult to use geotargeting, or tracking, to automatically determine the physical location of the IP address, sort of like a IP or DNS reversal? I had a situation on my boards where we were banning allot of people, it took a while before we realized they were all from India and this would have made the process much much quicker.

This will tell the Host name - look @ image.

cpe-xx.xxx.xx.xx.socal.res.rr.com

S. California - socal
Roadrunner - rr

You can always do "tracert" on the IP to find where it is.

Quote:

C:\Documents and Settings\Zman>tracert yahoo.com

Tracing route to yahoo.com [66.94.234.13]
over a maximum of 30 hops:

1 1 ms 1 ms 1 ms xx.xxx.xxx.xxx
2 6 ms 11 ms 8 ms xx.xxx.xx.xx
3 7 ms 9 ms 7 ms GIG2-2.CNPKCA2-RTR2.socal.rr.com [24.24.192.73]

4 9 ms 9 ms 11 ms SRP1-1.CHSWCA1-GSR1.socal.rr.com [24.24.192.158]

5 9 ms 10 ms 10 ms SO-0-0-1.TUSTCA1-RTR1.socal.rr.com [24.24.192.5]

6 15 ms 17 ms 13 ms so-0-1-2.lsanca1-rtr1.socal.rr.com [66.75.161.49
]
7 11 ms 12 ms 12 ms so-4-2-0-0.gar2.LosAngeles1.Level3.net [4.78.202
.25]
8 14 ms 11 ms 14 ms ae-1-52.bbr2.LosAngeles1.Level3.net [4.68.102.33
]
9 30 ms 24 ms 23 ms as-2-0.bbr2.SanJose1.Level3.net [4.68.128.157]
10 26 ms 23 ms 23 ms ge-10-0.ipcolo3.SanJose1.Level3.net [4.68.123.11
]
11 25 ms 23 ms 25 ms unknown.Level3.net [64.152.69.30]
12 23 ms 37 ms 23 ms UNKNOWN-66-218-82-219.yahoo.com [66.218.82.219]

13 24 ms 32 ms 21 ms w2.rc.vip.scd.yahoo.com [66.94.234.13]

Trace complete.

C:\Documents and Settings\Zman>

jribz 09-24-2005 11:53 PM

Thanks, you know, I never really realized that socal was south california, and I assume res is residential, and rr is roadrunner.... well with that said this is perfect, thanks!

Boofo 09-25-2005 02:11 AM

Good one buddy! Now I can trash the one I was working on. Good job! ;)

The Wise One 09-25-2005 03:18 PM

very useful. nice work.

*installed

WNxWakko 09-25-2005 05:17 PM

When I try to import product I get this,

Warning: xml_get_error_code(): 18 is not a valid XML Parser resource in \includes\class_xml.php on line 276

Warning: xml_get_current_line_number(): 18 is not a valid XML Parser resource in \includes\class_xml.php on line 266

Blaine0002 09-25-2005 05:18 PM

it might be a plugin :-/

WNxWakko 09-25-2005 05:28 PM

ah I figured it out. Im such an idoit, lol I was trying to import the php file whoppsy

Blaine0002 09-25-2005 05:29 PM

that might help XD

Zachariah 09-25-2005 10:03 PM

Quote:

Originally Posted by WNxWakko
ah I figured it out. Im such an idoit, lol I was trying to import the php file whoppsy

:laugh: I did that last week. Moven real fast trying to get something done and select the wrong file ......

Kirk Y 09-26-2005 01:11 AM

Any luck on getting the additional IP address usernames, Zach?

Kihon Kata 09-26-2005 02:00 AM

Installed here: www.MakeupTalk.com/forums

thanks!



Quote:

Originally Posted by Danieldude
hehe, great! I'll test it out now.

EDIT: works great!


Mone' 09-26-2005 02:06 AM

Quote:

Originally Posted by TonysDesigns
Installed here: www.MakeupTalk.com/forums

thanks!

Nice one thank you :)

Zachariah 09-26-2005 06:59 AM

Quote:

Originally Posted by acidburn0520
Any luck on getting the additional IP address usernames, Zach?

Nope, I have some crazy days :tired: , I'll try and make some time to work on it.

ImportPassion 09-26-2005 12:17 PM

I would like to see whether the IP is a proxy or not. Could this be added easily?

Zachariah 09-26-2005 06:54 PM

Quote:

Originally Posted by 7thgenCivic.Com
I would like to see whether the IP is a proxy or not. Could this be added easily?

I'll read up on it and see what we can do.

Xplorer4x4 09-27-2005 11:54 PM

Quote:

Originally Posted by 7thgenCivic.Com
I would like to see whether the IP is a proxy or not. Could this be added easily?

I don;t believe this can be ported into this hack directly, but there is a proxy hack that can be combined with this.

It would have been nice to know this was in the works seeing as I just paid for it to be ported.

Paul M 09-28-2005 12:31 AM

Quote:

Originally Posted by 7thgenCivic.Com
I would like to see whether the IP is a proxy or not. Could this be added easily?

Combine it with this. A number of people have, both in 3.5, and the 3.0.x versions. :)

Mac Write 09-29-2005 05:22 AM

Does this work with Gold (about to test out on my dev server)?

Zachariah 09-29-2005 11:03 AM

Quote:

Originally Posted by Mac Write
Does this work with Gold (about to test out on my dev server)?

I do not see a problem :D (I have not tested yet, but It works since RC1-RC3)

Yorixz 09-29-2005 11:29 AM

Thanks a lot, very usefull to have some more info than the basic things vB gives. (Confirmed to work 100% with vB3.5 Gold - hardly different from vB 3.5 RC3 anyway ;))

Zachariah 09-29-2005 12:21 PM

Quote:

Originally Posted by Yorixz
Thanks a lot, very usefull to have some more info than the basic things vB gives. (Confirmed to work 100% with vB3.5 Gold - hardly different from vB 3.5 RC3 anyway ;))

Thanks for the test I was installing Gold as I type :D


[high]* Zachariah heart is raceing[/high]

WNxWakko 09-29-2005 11:37 PM

I found a major problem on this mod. When you click the IP on an unregistered user who posted in a forum it takes minutes to load and the reason is, after its done loading it generates what seems to be hundreds of IP's under the All IP's for this user. Im assuming it pulls all ips for the name unregistered user.

Can you modify this so it wont pull any additional IP's for unregistered posts?

havefun 09-29-2005 11:47 PM

nice job. works fine under gold :) THX!

Zachariah 09-30-2005 12:00 AM

Quote:

Originally Posted by WNxWakko
I found a major problem on this mod. When you click the IP on an unregistered user who posted in a forum it takes minutes to load and the reason is, after its done loading it generates what seems to be hundreds of IP's under the All IP's for this user. Im assuming it pulls all ips for the name unregistered user.

Can you modify this so it wont pull any additional IP's for unregistered posts?

OK ill add an <if> statment - if guest no link just show IP that should work.

WNxWakko 09-30-2005 12:03 AM

Thanks, just let me know when you have it updated. I think it pulled over 1000-2000 IP's on it. I have a big board, so it probably went back like 2 years worth of IP lol

Avalon111 09-30-2005 02:31 PM

great hack!!!

i had to change _SERVER['REMOTE_ADDR'] to $_SERVER['HTTP_X_REMOTECLIENT_IP']. because my host uses a loadbalancer.

before i changed that all users had the same ip (from the host). now all users appear in the Users sharing the same IP Address. because the old wrong ip is still in the database.

is it possible to clear all stored ip adresses?

Kihon Kata 09-30-2005 02:33 PM

Quote:

Originally Posted by Avalon111
is it possible to clear all stored ip adresses?

Yes I would need this also

Zachariah 09-30-2005 02:46 PM

Quote:

Originally Posted by WNxWakko
Thanks, just let me know when you have it updated. I think it pulled over 1000-2000 IP's on it. I have a big board, so it probably went back like 2 years worth of IP lol


Template: postbit_ip:

== REPLACE WITH: ================================================== =======
Code:

<if condition="$show['ip']">
        $vbphrase[ip]: $post[ip]
<else />
<if condition="$post['userid'] > 0">
<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<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>
</if>

I updated the 1st post

Avalon111, TonysDesigns - I'll look @ it.

Kihon Kata 09-30-2005 02:52 PM

Quote:

Originally Posted by Zachariah
Template: postbit_ip:

== REPLACE WITH: ================================================== =======
Code:

<if condition="$show['ip']">
        $vbphrase[ip]: $post[ip]
<else />
<if condition="$post['userid'] > 0">
<a href="ipinfo.php?$session[sessionurl]p=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/ip.gif" alt="$vbphrase[ip]" title="$post[ip]" border="0" /></a>
<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>
</if>

I updated the 1st post

Avalon111, TonysDesigns - I'll look @ it.

Thanks

Zachariah 09-30-2005 03:00 PM

Quote:

Originally Posted by Avalon111
great hack!!!

i had to change _SERVER['REMOTE_ADDR'] to $_SERVER['HTTP_X_REMOTECLIENT_IP']. because my host uses a loadbalancer.

before i changed that all users had the same ip (from the host). now all users appear in the Users sharing the same IP Address. because the old wrong ip is still in the database.

is it possible to clear all stored ip adresses?

So basicly every user's post ip must be reset. This hack looks @ the IP recorded on each post. If all your posts have the same IP then we could Null the posts that are currently on you forum to "enpty or blank" value and all the new posts will be ok.

Code:

UPDATE `post` SET `ipaddress` = '' WHERE `ipaddress` ='xxx.xxx.xxx.xxx';
xxx.xxx.xxx.xxx fill in the IP you want to remove.


All times are GMT. The time now is 05:08 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05044 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete