Kolimarfey's Zip Code Search

Now this is a fun toy, however it has a major issue with it that I have asked in the past for help on and none has been forthcoming.  Actually, can't even get this dang thing to work like a site member would expect it to.

 

If we install it exactly as the mod creator (Kolimarfey) has designed it to be installed, then it works fine.  However, even though we dump a ton of code into the search.php page we get nothing on the search page itself, only on the search results page.

Now, I've attempted adding the functionality in, adjusting settings within search.php and oh so many other little tricks, but in the end, it just screws up the search page.  The closest I got was in getting the mile boxes to appear and man where they even literally screwed up on placement.

 

So, I'm putting this out there.  The Country Zip Code Search should be an item that is integrated into the Search page, NOT the home page, I have asked privately for this a couple of times with no answers from the mod creator, how in the hell do we get this thing to resolve properly as part of the search page?  Meaning, the Zip Code block should have all the pre-requisite items on the Search.php page for this to work, whether it's in D6 or D7. 

Quote · 21 Mar 2010

Issue dealt with.

 

templates/tmpl_uni/page_4.html/

Find this:


 

<div class="boxFirstHeader">__page_header__</div>


 

 

Insert this after it:

 


<div id="page_block_138" class="page_block_container">
<div class="divsignBoxFirst">
 <div class="boxFirstHeader">Search by ZIP</div>
 <div class="boxContent"><div style="height: 180px;" class="qsi_wrapper" align="center">

    <form method="get" action="search.php">
               
        <div class="qsi_line">
            <div class="qsi_first">
                From Country   </div>
   <div class="qsi_second">
       <select name="Country">
                                           
                        <opti alt="AS">American Samoa</option>
                                           
                        <opti alt="AD">Andorra</option>
                                           
                        <opti alt="AR">Argentina</option>
                                           
                        <opti alt="AU">Australia</option>
                                           
                        <opti alt="AT">Austria</option>
                                           
                        <opti alt="BD">Bangladesh</option>
                                           
                        <opti alt="BE">Belgium</option>
                                           
                        <opti alt="BR">Brazil</option>
                                           
                        <opti alt="BG">Bulgaria</option>
                                           
                        <opti alt="CA">Canada</option>
                                           
                        <opti alt="HR">Croatia</option>
                                           
                        <opti alt="CZ">Czech Republic</option>
                                           
                        <opti alt="DK">Denmark</option>
                                           
                        <opti alt="DO">Dominican Republic</option>
                                           
                        <opti alt="FO">Faroe Islands</option>
                                           
                        <opti alt="FI">Finland</option>
                                           
                        <opti alt="FR">France</option>
                                           
                        <opti alt="GF">French Guiana</option>
                                           
                        <opti alt="DE">Germany</option>
                                           
                        <opti alt="GR">Greece</option>
                                           
                        <opti alt="GL">Greenland</option>
                                           
                        <opti alt="GP">Guadeloupe</option>
                                           
                        <opti alt="GU">Guam</option>
                                           
                        <opti alt="GT">Guatemala</option>
                                           
                        <opti alt="GY">Guyana</option>
                                           
                        <opti alt="VA">Holy See (Vatican City)</option>
                                           
                        <opti alt="HU">Hungary</option>
                                           
                        <opti alt="IS">Iceland</option>
                                           
                        <opti alt="IN">India</option>
                                           
                        <opti alt="IT">Italy</option>
                                           
                        <opti alt="JP">Japan</option>
                                           
                        <opti alt="LI">Liechtenstein</option>
                                           
                        <opti alt="LU">Luxembourg</option>
                                           
                        <opti alt="MK">Macedonia, The Former Yugoslav Republic of</option>
                                           
                        <opti alt="MH">Marshall Islands</option>
                                           
                        <opti alt="MQ">Martinique</option>
                                           
                        <opti alt="YT">Mayotte</option>
                                           
                        <opti alt="MX">Mexico</option>
                                           
                        <opti alt="MD">Moldova</option>
                                           
                        <opti alt="MC">Monaco</option>
                                           
                        <opti alt="NL">Netherlands</option>
                                           
                        <opti alt="NZ">New Zealand</option>
                                           
                        <opti alt="MP">Northern Mariana Islands</option>
                                           
                        <opti alt="NO">Norway</option>
                                           
                        <opti alt="PK">Pakistan</option>
                                           
                        <opti alt="PL">Poland</option>
                                           
                        <opti alt="PT">Portugal</option>
                                           
                        <opti alt="PR">Puerto Rico</option>
                                           
                        <opti alt="RE">Reunion</option>
                                           
                        <opti alt="RU">Russia</option>
                                           
                        <opti alt="PM">Saint Pierre and Miquelon</option>
                                           
                        <opti alt="SM">San Marino</option>
                                           
                        <opti alt="SK">Slovakia</option>
                                           
                        <opti alt="SI">Slovenia</option>
                                           
                        <opti alt="ZA">South Africa</option>
                                           
                        <opti alt="ES">Spain</option>
                                           
                        <opti alt="LK">Sri Lanka</option>
                                           
                        <opti alt="SE">Sweden</option>
                                           
                        <opti alt="CH">Switzerland</option>
                                           
                        <opti alt="TH">Thailand</option>
                                           
                        <opti alt="TR">Turkey</option>
                                           
                        <opti alt="GB">United Kingdom</option>
                                           
                        <opti alt="US" selected="selected">United States</option>
                                           
                        <opti alt="VI">Virgin Islands</option>
                           </select>
      </div>
        </div>

  <div class="qsi_line">
   <div class="qsi_first">
                Within   </div>
   <div class="qsi_second">
       <span style="position: relative;">                   
                    <select name="distance">
                        <opti alt="miles" selected="selected">5</option>
                        <opti alt="miles" selected="selected">10</option>
                        <opti alt="miles" selected="selected">20</option>
                        <opti alt="miles" selected="selected">30</option>
      <opti alt="miles" selected="selected">50</option>
      <opti alt="miles" selected="selected">75</option>
      <opti alt="miles" selected="selected">100</option>
      <opti alt="miles" selected="selected">200</option>
      <opti alt="miles" selected="selected">500</option>
                    </select>
    </span>
                <span style="position: relative;">
                    <select style="position: relative; margin-left: 15px; width: 60px; left: 0px;" name="metric">
                        <opti alt="miles" selected="selected">Miles</option>
                        <opti alt="km">KM</option>
                    </select>
                </span>
            </div>
        </div>
 
        <div class="qsi_line">
            <div class="qsi_first">
                from ZIP            </div>
            <div class="qsi_second">
                <input type="text" name="zip">
            </div>
        </div>

        <div style="text-align: center; margin-top: 3px;" class="qsi_line">
            <input type="checkbox" style="width: 15px; height: 15px;" id="qsi_photos_only" name="photos_only">
            <label for="qsi_photos_only">with photos only</label>
        </div>
 
        <div style="text-align: center; margin-top: 3px;" class="qsi_line">
            <input type="submit" value="Search">
        </div>
       
    </form>

</div>
</div>


Then in templates/tmpl_uni/css/search.css insert this at the end of the file:


.divsignBoxFirst
{
clear:left;
color:#CCCCCC;
margin-bottom:10px;
margin-left:140px;
padding-top:24px;
position:relative;
}

 

We tried to do this the hard way for months, in the end it was just a matter of strippin' the inner html out of Firebug and dropping it in.  If you have a simpler way, then please feel free to toss it in here.

 

 

Quote · 21 Mar 2010

Please do not modify manually search page. All is needed is to drag standard 'Location' and 'Country' block to desired search page and it will work.

Predefined zipcodes search form on homepage is for additional functionality, for the case if you want to leave standard quick search and have location search on homepage too. And to get it work immediately without moving any fields in fields builder.

Quote · 22 Mar 2010

 

Please do not modify manually search page. All is needed is to drag standard 'Location' and 'Country' block to desired search page and it will work.

Predefined zipcodes search form on homepage is for additional functionality, for the case if you want to leave standard quick search and have location search on homepage too. And to get it work immediately without moving any fields in fields builder.

 

We tried that, dragging the Location & Country blocks to the desired area on the search page.  It still will not give us the mileage search functionality that your mod is supposed to give.  I understand you have it set to input it into the home page, but that's not where most people want it at.  I've asked before privately to get this into the search page, back when I first purchased your mod and that's been ignored.

So, if you have a better way of getting this functionality into the search page where it belongs, then I'd love to hear it Kolimarfey.  And so your aware, we don't want this on the home page, we want it on the search page where it belongs.  This is a zip code radius search tool, why can't we use it on the home page to do  just that?

Quote · 22 Mar 2010

I use the mod on the search page without problem.  Once the mod was installed I was able to leave the default boonex search options in so users can specify their own radius.  Now the only issue I did figure out was that you have to keep country, search radius/zip in the same search box or it will not work.

Quote · 22 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.