vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

FTDave 01-22-2012 10:23 PM

I've checked her IP. It is a static IP address. I checked all of her IPs when searching for her ips in vbulletin admin.

They are all the same. 98.249.54.16
http://whatismyipaddress.com/ip/98.249.54.16
culpepper virgina.
Also in the session table it has that address.
I checked with phpmyadmin with cpanel.
Is there anyway I could manually put a piece of code in the usermap.php to show her on the map if usermap sees that number in session table?

digitalpoint 01-22-2012 11:03 PM

If you look in the sessions table, does that user have more than one entry (based on userid)?

FTDave 01-22-2012 11:31 PM

No sir.
I click on userid in the session table and I only see her userid once.
Her userid is 3014 and host is 94.249.54.16 in the session table.

TombstoneWarrior 01-23-2012 12:16 AM

for this to work for most members we are going to need the geoip install instructions because i cant figure that install out and there site is not very helpful!!

FTDave 01-23-2012 12:39 AM

Yeah. I never messed with servers much. I just tinkered with my dedicated server and it finally worked.

digitalpoint 01-23-2012 01:59 AM

Quote:

Originally Posted by FTDave (Post 2291177)
No sir.
I click on userid in the session table and I only see her userid once.
Her userid is 3014 and host is 94.249.54.16 in the session table.

Can you make a PHP script that is just this and post the output?

PHP Code:

<?php
print_r 
(geoip_record_by_name('94.249.54.16'));


FTDave 01-23-2012 03:58 AM

Array ( [continent_code] => NA [country_code] => US [country_code3] => USA [country_name] => United States [region] => VA [city] => Culpeper [postal_code] => 22701 [latitude] => 38.4347991943 [longitude] => -77.9866027832 [dma_code] => 511 [area_code] => 540 )

I swear. There is no pin anywhere near virginia.
Is it cached? Anyway to clear cache?
The first time I ran this output it said chatanooga.
So I downloaded file again and its output said culpepper

FTDave 01-23-2012 04:04 AM

I downloaded the geoipcity.dat file again and it moved her from chatanooga to culpepper but it does not show up on map.

FTDave 01-23-2012 04:07 AM

I checked the session file and she is still in the file.

digitalpoint 01-23-2012 04:45 AM

It does cache their location until they time out of the session/who's online (15m by default on vB for them to not be online).


All times are GMT. The time now is 09:04 PM.

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.05858 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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