vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Better IP Trace Hack... Easy install (https://vborg.vbsupport.ru/showthread.php?t=47598)

madhouse 01-13-2003 12:33 PM

I know there was no need I was wanting to know the purpose of why the changes to the PHP file... :)

ranger2kxlt 01-13-2003 12:47 PM

If we did not add the php, the host address was sent to the site instead of the ipaddress. (thru the whosonline part anyway). Adding the php allowed for the host address to be displayed while allowing for the ipaddress to be passed.

madhouse 01-13-2003 12:51 PM

Not true for me, I stil was able to see the ip info for who ever was online with no problems.

Boofo 01-13-2003 03:52 PM

That's right, you are able to see the "IP" address on who's online, not the Host's address. :) With the php addition, you see the host's address (the IP address resolved) and the IP is passed. ;)

Cyberhouse 01-14-2003 05:35 AM

Very nice hack :)

Installs ;)

Erwin 01-15-2003 10:39 AM

Cool. I can do the same with just a template mod, using the URL you provided. Thanks. :)

Erwin 01-15-2003 10:49 AM

To achieve a similar result without hacking, just do this:

Replace the template "threads_displayip" with this content:

Code:

The IP Address is: $postinfo[ipaddress]. The host name is: $postinfo[hostaddress]. Please click <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid">here</a> to return to the thread.<br><br><b><a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress=$postinfo[ipaddress]">Click here to get LOCATION of member.</a></b><br><br>
Replace the template "whosonlinebit_ip" with this:

Code:

<td bgcolor="$backcolor" align="left"><smallfont><a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress=$userinfo[ipaddress]">$userinfo[ipaddress]</a></smallfont></td>
Now, when you click on the IP link in a post, or the IP address in Who's Online, you get the same info. :) No need hacking.

Boofo 01-15-2003 11:17 AM

That's great, Erwin, but how can we get the host address to show in who's online with just a template hack? I think that was the reason for the php hack part of this. :)

Boofo 01-15-2003 11:50 AM

Erwin, I changed one of your lines of code a little to add the username of the person who's post you select the view the IP address in and also to center it. Makes it a little nicer to have the name in front of you, too. :)

Quote:

<center>The IP Address is: $postinfo[ipaddress]. The host name is: $postinfo[hostaddress].<br /><br />Please click <b><a href="showthread.php?s=$session[sessionhash]&threadid=$threadid">here</a></b> to return to the thread.&nbsp;&nbsp;<b><a href="http://www.networldmap.com/TryIt.htm?GetLocation&Template=demo.htm&ipaddress= $postinfo[ipaddress]" target="_blank">Click here to get <i>$postinfo[username]'s</i> location.</a></b><br /></center>

Gaffer 01-16-2003 01:47 AM

works great for addresses in the US but we have members from all over the world several from New Zealand and heaps from England and even onw from the UAE and well i'm from AUZ

but i found a error on that site.. one member i know is from just outside of chicargo(SP?) but his IP address came up as phillidelphia(SP?)


All times are GMT. The time now is 03:30 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.02620 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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