vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Resolve IP adress to country (https://vborg.vbsupport.ru/showthread.php?t=320643)

martin1 10-29-2015 01:33 PM

Resolve IP adress to country
 
Best regards,

I would loved to resolve ip address of my forum users to get their home countries and store it under their profiles in the hidden field or just to get the report.

I was also looking for some addon that could point users on the map but that didn't worked as expected because it was very intensive for server or required geo php plugin configuration by the hosting.

Can you give me some advice or recommend which hack or coding could give me such info?

GET COUNTRY FROM THE IP.

martin1 11-15-2015 06:31 PM

okay is it possible to get the info with some query and store it in file ? not necessary as a vbulletin addon.

Dragonsys 11-15-2015 06:38 PM

<a href="http://stackoverflow.com/questions/12553160/getting-visitors-country-from-their-ip" target="_blank">http://stackoverflow.com/questions/1...-from-their-ip</a>

One thing to be aware of is if they are using as proxy then the information returned may not be accurate.

martin1 11-15-2015 08:29 PM

thank you very much, I'll try.


All times are GMT. The time now is 01:57 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.00901 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete