tmfsupport

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts

  • tmfsupport
    Expired Member
    Post count: 13

    Ok, I see. All those errors are coming from google.

    What change did you make? Is it something that will be overwritten when I upgrade or set this up on another site?

    I found this online as an easy way to redirect alerts to the console and it works fine in chrome:

    
    
    // Redirect javascript alerts to console
    window.alert = function ( text ) { console.log( 'Alert: ' + text ); return true; };

    Thanks for your help.
    Cory


    tmfsupport
    Expired Member
    Post count: 13

    Ok, thanks. Here’s what I see:

    Portland, OR – OK
    Beaverton, OR – OK
    Las Vegas, NV – OK
    New York, IA – error
    New Brunswick, NJ – error
    Vancouver, WA – OK
    Vancouver, BC, CA – OK
    and a bunch of other cities I tried were ok.

    So it’s better because Las Vegas for one was erroring when I made that video.

    While the underlying problem is being fixed, is there a way to disable the error popup? In most cases it seems to set the map properly anyway, and even if the error were to trigger, I don’t want my users to ever see it.

    Thanks,
    Cory


    tmfsupport
    Expired Member
    Post count: 13
    This reply has been marked as private.

    tmfsupport
    Expired Member
    Post count: 13

    Hey guys, any further questions on this for me? Would you like me to record a screencast showing the issue?
    Thanks,
    Cory


    tmfsupport
    Expired Member
    Post count: 13

    Thanks Guust and Stiofan.

    I filled in Address (with a city), city, region, country. No zip usually unless specified. Also title and description. Address might not be able to have a full address, because that might auto fill a zip code.

    It seems to mostly be when there is no zip code on only some cities, but as I mentioned I found one city where the zip code doesn’t matter. Type in New York, Iowa

    Thanks.

    in reply to: Google Maps API Request Denied #332239

    tmfsupport
    Expired Member
    Post count: 13

    I wrote above that I used the same API key on two test sites and although it does report an API error, it does allow the map to function and report a location without a popup error, so clearly something is different on the main site, and the key is enabled and working.

    Nevertheless, I erased the API key from the settings, saved, then I clicked Generated A Key to allow it to create a brand new project. I then saved and applied the new key.

    Now it is working. I’ll let you know if that changes (sometimes I noticed Google changing behavior after a day). Thank you very much for your help.

    in reply to: Google Maps API Request Denied #331388

    tmfsupport
    Expired Member
    Post count: 13

    I had edited my post perhaps after you replied. All our production and test sites are SSL everywhere.
    Thanks.

    in reply to: Google Maps API Request Denied #331385

    tmfsupport
    Expired Member
    Post count: 13
    This reply has been marked as private.
    in reply to: A few tweaks – Please advise ASAP :) #323879

    tmfsupport
    Expired Member
    Post count: 13

    The category dropdown is already pretty clunky and is completely unnecessary when there is only one category. Since the map doesn’t work without a category, the development choice is either a poor user interface or no map.

    I have written a script to work around this. This will work with only one category, but should be pretty easy for a jquery programmer to expand to other things.

    1) Configure your Category field to be radio.

    2) In your CSS include something like this to hide it from the form

    #gd_placecategory_row { display: none; }

    3) In your footer scripts include this which checks the radio button upon submitting the form:

    
    
    <script>
    $("#geodir-wrapper #propertyform").submit(function() {
      $('#gd_placecategory input[type=radio]').prop("checked", true);
    });
    </script>
    
Viewing 9 posts - 1 through 9 (of 9 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount