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)
-   -   vbulletin-ip Plotter (https://vborg.vbsupport.ru/showthread.php?t=42340)

DrkFusion 08-16-2002 12:13 AM

Whos Online:
Link to map, with ip address.

THIS ADDON WAS ALSO MADE BY NTLDR.
Thanks again NTLDR.

DrkFusion 08-16-2002 12:16 AM

Note the file has been updated.

SemperFidelis 08-16-2002 03:27 AM

Damn cool hack
Thanks for all your efforts.
:)


But, has anyone got this error so far ?

Could not open socket to caida.org
Warning: Undefined offset: 1 in /home/admin/db_mysql.php on line 84
Warning: Undefined offset: 1 in /home/admin/db_mysql.php on line 97
Warning: Undefined offset: 1 in /home/admin/db_mysql.php on line 84
Warning: Undefined offset: 1 in /home/admin/db_mysql.php on line 97

Here is my line 84 :
Quote:

80 $pageendtime=microtime();
81 $starttime=explode(" ",$pagestarttime);
82 $endtime=explode(" ",$pageendtime);
83
84 $beforetime=$endtime[0]-$starttime[0]+$endtime[1]-$starttime[1];
85
86 $this->query_id = mysql_query($query_string,$this->link_id);
And here is line 97 :
Quote:

93 $pageendtime=microtime();
94 $starttime=explode(" ",$pagestarttime);
95 $endtime=explode(" ",$pageendtime);
96
97 $aftertime=$endtime[0]-$starttime[0]+$endtime[1]-$starttime[1];
98 $querytime+=$aftertime-$beforetime;
99
100 if ($showqueries) {

DrkFusion 08-16-2002 03:53 AM

Wierd....this doesn't have anything to do with mysql...'_'
Drk

SemperFidelis 08-16-2002 05:36 AM

Well yeah thats what I thought too.
Hmmm
This has got me rather stumped !

Anyone got any ideas ?

SemperFidelis 08-16-2002 05:51 AM

Updated Info :

In ipconf.inc I had to change
# set $use_firewall to "1" if behind a proxy
$use_firewall="1";
to the correct details

But I am still getting the above error
(minus Could not open socket to caida.org)

Also when you view an IP from within a post, and then select
'Click Here to find the location of this member'
Wouldnt that look better if it opened within a page of forum rather than how it crrently does ?

Neo 08-16-2002 09:01 AM

tight hack.

Znaper 08-16-2002 11:02 AM

In the plotimage.php are the files

Code:

include("plotconf.inc");
include("plot.inc");

included, where are the files.
In the ZIP-Package is none.


bye Znaper

NTLDR 08-16-2002 12:12 PM

Another place to add the link ;)

In admin/user.php change:

PHP Code:

".makelinkcode("find more users for this ip","user.php?s=$session[sessionhash]&action=doips&ipaddress=$ip[ipaddress]"). 

To:
PHP Code:

echo "<li>$ip[ipaddress] (".gethostbyaddr($ip[ipaddress]).") ".makelinkcode("find more users for this ip","user.php?s=$session[sessionhash]&action=doips&ipaddress=$ip[ipaddress]")."".makelinkcode("plot ip","../mod/vbipplot.php?s=$session[sessionhash]&address=$ip[ipaddress]")."</li>\n"

This will add the plot ip link when you search for IP addresses in the Admin CP.

Feel free to add this in to the readme as well DrkFusion ;)

ULTIMATESSJ 08-16-2002 12:20 PM

fanciness, great hack

/me clicks install


All times are GMT. The time now is 01:45 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.01207 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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