Page 1 of 3 12 ... LastLast
Results 1 to 10 of 27

Thread: zip code search

  1. #1
    Jumbo
    Guest

    Default zip code search

    dolphin script
    needs simple zip code matching search.

    just want to match a zipcode i search for..how hard is that..?


    hello all.

    well ive searched the board for 2 days ..looking for the fix to the zip code search.

    is there any script that has a working zip code search..?

    just for starters ..is there a way to make it match a requested zip code..so you can sort be zip code...
    i know ther is a city state mod in the mods section.
    but really just need a simple matching zip search.

    when peeps register they enter a zip.. seems like there should be a way to sort by the zip..the distance function..as we know dont work.
    without a massaive database.

    i think the matching zip would be nice default search function.

    I was just playing with this script think it is ok..pretty buggy out of the zip file.

    if the zip function wont match without a major overhaul..well i dont see how it works well for a date script..
    i spent a week playing and cleaning this thing just to find it wont match the dam zip codes..why did they even put that option on if it does not work..with out a major mod and databse..?

    search by zip and distance is a must for any date script..

    is there any fix other than a massive zip database or geoip..
    i just want to match the zipcode you want to search for..
    i can find no fix on the site..seems simple .

    well i hate that my first post is asking for somthing.. but cant seem to find it.


    thanks for any help or links i might have missed..
    Jumbo
    ps nice site..

  2. #2

    Join Date
    May 2006
    Posts
    22

    Default Zip Code

    If you use UK zip codes you need to edit search_results.php

    and comment out these 3 lines

    Code:
    if ( ((int)$zip) == 0 )
       $z_arr = db_arr("SELECT `Latitude`, `Longitude` FROM `ZIPCodes` WHERE `City` = '$zip'");
        else

    Then search should work properly.

    Swampy

  3. #3
    Jumbo
    Guest

    Cool swampy thnx for the reply

    well i looked around all night for a mod or somthing.

    i will use the us zip codes..

    i really dont know which databse to use or where to get it..of us zipcodes.

    i cant find one anyway, if you know where one is please ..please point it out to me.

    my second choice, was just hoping to chang the zip search to work like the userid search without distance.

    oh i would like very much the distance but not sure wht database i would need or where to get it. and my budget is well lets say..there is not one for this project.

    if anyone can point me in the right direction of a peice of code..you will be king.

    or if you know of a free usa zipcode database with long and lat so my distance will work." i guess thats the type of database i need" please point it out to me.

    thanks to you all.. im very greatful for this support board.
    i know there are a lot of good coders here..that are busy...to busy for my greenhorn questions.

    but just tell me which usa zipcode database to use so my distance will work..please..

    well im off to search the board some more for zipcode help..
    thank you all...
    Jumbo

  4. #4
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    http://www.modmysite.com/zippostal/usa_zipcodes.zip

    The standard, aeWebWorks, USA zipcode database.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  5. #5
    kaijan
    Guest

    Default Canada's Postal/Zip codes

    Quote Originally Posted by Smoge
    http://www.modmysite.com/zippostal/usa_zipcodes.zip

    The standard, aeWebWorks, USA zipcode database.

    Smoge

    Smoge, would you happen to have Canadian Postal codes?

  6. #6
    Jumbo
    Guest

    Default Thnx Smoge..

    I dont know how i missed this link..
    grabbed them now..thnx.

    The standard, aeWebWorks, USA zipcode database..?

    I guess this has no long and lat..? or does it..?

    Im kinda new to this script..so I dont know what standard means..?

    I have the current versions of aedating and dolphin..but like dolphin better.
    both about the same.. i guess the zips will work with either..

    please say this database will let my zipcode distance search work..?

    hehehe..

    I did manage to put the state mod on last night..working good..!
    How to add the 'State' field to the database?

    thanx for the state mod SMOGE it worked great..!

    Thanks to everyone..
    this is a great board with lots of great people..
    and lots of great code..
    cheers
    Jumbo

  7. #7
    Jumbo
    Guest

    Default Here is a link Smoge posted canada postal codes

    Quote Originally Posted by kaijan
    Smoge, would you happen to have Canadian Postal codes?



    http://www.modmysite.com/aedating/zi...ostalCodes.zip



    cheers
    Jumbo

  8. #8
    kaijan
    Guest

    Default

    Quote Originally Posted by Jumbo

    thanks Jumbo

  9. #9
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Quote Originally Posted by Jumbo
    I guess this has no long and lat..? or does it..?
    yes - it has the lat and long information for distance searching.

    Hit - you may want to check your code - and make an empty distance box (how far away) search default to a distance of 100, if not already, for better results.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  10. #10
    Jumbo
    Guest

    Default thank you..Smoge

    Thanks.. i am very happy for your post.....

    this is what i needed...i will try to insatll it this weekend..



    thank you very much..!
    Jumbo

Page 1 of 3 12 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zip Code Search in 6.1.4???
    By sspringer in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 08-29-2008, 11:05 AM
  2. Zip code search not working
    By 2paulm in forum General Troubleshooting
    Replies: 4
    Last Post: 02-25-2008, 06:49 PM
  3. Search by Zip Code
    By bzzrd2 in forum General Issues, Comments, Questions
    Replies: 7
    Last Post: 06-23-2007, 06:38 AM
  4. zip code search
    By kruemelg in forum FAQ & HOWTO
    Replies: 1
    Last Post: 09-10-2006, 01:36 AM
  5. zip code search bug
    By tester00 in forum Bugs aeDating v4.0.2
    Replies: 1
    Last Post: 10-09-2005, 12:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •