Help - Search - Members - Calendar
Full Version: Limiting Search Radius
User Forums > Ultimate Locator v1 - v2.5 Support > General Support
Kinncom
Is there a way to limit the user's search radius (I know you can type in a default search radius.)? I have a client that only wants to let people search within a 10 mile radius of a zipcode at a time.
Brian
Yes, it is very possible.

2 ways you can do it.

1. Remove the drop down list from the template, and your users will no longer be able to select. Then hard code the radius into the form with a hidden form variable. Such as:
CODE
<input type="hidden" name="radius" value="10">


2. Remove the radius inputs all together from the template, and set the default radius in the admin panel, using the Program Settings tool.

Hope this helps!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.