Webmastersite.net
Register Log In

Search in Mexico
How to expand search boxes to find matches in foreign country.

Comments on Search in Mexico

MexicomikeReal
Beginner

Usergroup: Member
Joined: Jul 17, 2011

Total Topics: 1
Total Comments: 2
Posted Jul 17, 2011 - 4:06 PM:

First of all, I see the value and goodness of your script. Very impressive. I sincerely hope to become a customer - again. I bought your links script in 2007.

I may have missed the answer and apologize if I cause you extra work.

I thought I had read through the FAQ's and comments, but did not see my problem. I am only concerned with Mexico. Do not need USA states. Added states to dropdown list, but this seems to be just cosmetic. I want the seach optoins to reflect a dropdown of categories (hotels, rv parks etc.) within X miles of (dropdown list of Mexican towns).

Can't get the first (which should be easy to do) to work.
The second no doubt requires the Google map and 2 subcategories checked (They are) AND geocodezip checked (It is).

Secondly, I am having difficulty geo-locating hotels in Mexico on Google maps. In three cases, used addresses which the hotels use on their sites which show in Google maps. Only one shows up.

Oh, one last question. I saw that there was a way to make the Google map show all the listings in a category and a collection of code to add. But the post (in your Knowledgbase #453) did not say where to put it. Thanks, Peter.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 20, 2011 - 6:42 PM:

As for the distance searching and autocomplete, I've tested and verified it works for Mexico with this database: http://www.wsnlinks.com/geolocation.html

Dropdown lists of towns aren't available for the USA either -- it's just an autocomplete, you have to start typing out the down name for it to guess. A dropdown list doesn't seem too practical when there are hundreds or thousands of towns per state.

Secondly, I am having difficulty geo-locating hotels in Mexico on Google maps. In three cases, used addresses which the hotels use on their sites which show in Google maps. Only one shows up.

Please give me sample addresses to check.

I saw that there was a way to make the Google map show all the listings in a category and a collection of code to add. But the post (in your Knowledgbase #453) did not say where to put it.

The simplest way to accomplish it would be to set the number of listings per page to 1000 or something. Trying to display more than 50 or 100 listings on a map is going to get very slow though.

KB acticle #453's sample template code is for a full-site map, so it can be places anywhere in any template -- goes wherever you want it to go. See Admin -> Templates -> Manage Templates for the templates. Again though, it won't work well with more than a hundred or so -- so not really useful unless you add a filtering condition.
MexicomikeReal
Beginner

Usergroup: Member
Joined: Jul 17, 2011

Total Topics: 1
Total Comments: 2
Posted Jul 20, 2011 - 11:09 PM:

Hi Peter,

I am not making myself clear. I want to have a drop down menu after the 'Find' box. Like Find: RV, Hotel, Restaurant etc. .. within 'X' miles of [then either type in or a drop down list of the cities I have already entered (not the hundreds). Right now, as you type, there is a type-ahead feature with US cities.

I looked in the admin panel under Settings / Search but did not see the answer.

The other things I got figured out I think.

Oh, I was a little confused about the recommendation for the IP geo checker. Does it have a zip code database for Mexico?

Thank you.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 21, 2011 - 7:33 PM:

The IP database I linked has a city latitude and longitude database for the world that includes 2465 mexican towns. It doesn't have postal codes, so people would simply need to type the city name for the type-ahead instead.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.