Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

files usa_zips.sql file / country_info.sql file

  • musteks
  • musteks
  • OFFLINE
  • Posts: 15
  • Thanks: 1
  • Karma: 0
8 years 4 months ago #282965 by musteks
Hey . Please throw off me a link to download these files.
usa_zips.sql file
country_info.sql file

After updating the site can not download them.

Please Log in or Create an account to join the conversation.

  • itsjeff
  • itsjeff
  • OFFLINE
  • Posts: 35
  • Thanks: 2
  • Karma: 0
8 years 2 months ago #284730 by itsjeff

musteks wrote: Hey . Please throw off me a link to download these files.
usa_zips.sql file
country_info.sql file

After updating the site can not download them.


I too would like to download the zips, but the link doesn't work.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago - 8 years 2 months ago #284752 by krileon
The tutorials need to be redone to use the tables that CBSubs provides. You can find queries for country/state/zip tables all over the web for generic usages. For example you can use the below site.

www.geonames.org/

It'll give you text files when downloading data that are tab delimitered. That's basically a CSV file. You can edit in libreoffice spreadsheet or microsoft excel to fine tune the CSV. You can then import it into your database as a CSV import in phpmyadmin.

I've attached an sql and csv export from geonames of the US zipcodes. The table is setup in a way it can handle more than 1 country as well. It's a huge SQL import so you need robust SQL settings to completely import it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:
Last edit: 8 years 2 months ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum