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)
-   -   Auto-Detect User Location At Registration (https://vborg.vbsupport.ru/showthread.php?t=53923)

Mike11212 06-06-2003 07:36 PM

dont you have to pay for ip2country database?

Raz 06-06-2003 07:50 PM

From the site (link posted in first post):
Quote:

The IP-to-Country Database and Tools are available FREE of charge.

Broekie 06-06-2003 07:50 PM

Quote:

Today at 10:36 PM Mike11212 said this in Post #11
dont you have to pay for ip2country database?
Yes, you do. You should remit $100 to my swiss bank-account :p


Okay, I'm kidding...
Here's the serious part of this post:
Quote:

The fourth line of text on http://www.ip-to-country.com:
The IP-to-Country Database and Tools are available FREE of charge.

Boofo 06-06-2003 08:09 PM

Quote:

Today at 03:30 PM Raz said this in Post #10
Have you tried importing it from phpMyAdmin? It may be large, but its not impossible.
I tried to do a 2 meg file when I had the Weather hack installed and the author had to make smaller files so others could import them as well.

Tim Wheatley 06-06-2003 08:09 PM

Yes it works now.

I got it to work when someone updates their profile too:

In member.php above
PHP Code:

  while ($profilefield=$DB_site->fetch_array($profilefields)) {
    
$profilefieldname="field$profilefield[profilefieldid]"

Add the same as in first post.

Works great, thank you. I'm using 2.3.0.

Raz 06-06-2003 08:11 PM

Quote:

Today at 10:09 PM Boofo said this in Post #14
I tried to do a 2 meg file when I had the Weather hack installed and the author had to make smaller files so others could import them as well.
Feel free to do it yourself.

AlexanderT 06-07-2003 08:28 AM

Really nice! *installed*

I attached a split version of the ip2country table. Make sure you first insert part1 before inserting the other parts (in order to create the table).

Alex

partang2 06-07-2003 10:17 AM

Thanks a lot AlexanderT!! :)

Raz 06-07-2003 10:37 AM

I've added a link to the split table in the first post.

Boofo 06-07-2003 11:46 AM

Can someone tell me how many rows there are and what size the table should be? I want to make sure I got it in there right.


All times are GMT. The time now is 12:56 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.01104 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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