Forums

Developer's Custom Fields
gmap not working (8 posts)

  1. katoen
    Member
    Posted 8 months ago #

    What is the expected behaviour of the gmap field? It doesn't find any adresses I put in?

    (already installed the google library plugin)

    http://wordpress.org/extend/plugins/developers-custom-fields/

  2. Steve Taylor
    Member
    Posted 8 months ago #

    It sounds like you're talking about the "Find an address" input that goes with the gmap field in admin screens. It should find addresses, but I think it looks only within the bounds of the view you're currently on in the map. Also, you have to type quite a bit of the address to get any responses. I'll double-check with the developer who did this aspect of the plugin.

    If it still doesn't work, please check the JS console and let me know what errors you're getting.

    BTW, this is merely an additional tool to go with the field. If it doesn't work, the gmap field functionality should all still work anyway as intended. Let me know if you're having any problems with the core functionality of the gmap field.

  3. unsalkorkmaz
    Member
    Posted 8 months ago #

    "Find an address" input really dont do anything.. there is no "load" button or something and pushing enter button or clicking to blank areas are not working tbh. http://wordpress.org/extend/plugins/geolocation/ this plugin works normally if you want an example of working adress load.

    Another problem: File image upload is working but after upload from computer, there is no "select" button. If we choose "insert into post" its just putting image to post content. If we go library, there is select button and its selecting. Actually it will be problem for clients. Most of plugins have problem with images inserting. I just see http://codecanyon.net/item/custom-backgrounds-for-wordpress/121983 this plugin is really works best because you just selecting image and it automatically inserting it to field. Maybe you can just check it.

  4. Steve Taylor
    Member
    Posted 8 months ago #

    The "Find an address" problem is a known issue. The code uses the autocomplete function, which WordPress dropped from it jQuery UI library in favour of suggest. Until I convert to suggest, you could use Use Google Libraries - Google's jQuery UI includes autocomplete. It's not top priority because, as noted, it's just a little additional functionality, nothing essential.

    AFAIK there's no issue with the File upload. Could you post more details?

  5. unsalkorkmaz
    Member
    Posted 8 months ago #

    I didnt add google libraries need to try it.

    For file upload: There is "Select file" button right? when clicking wordpress upload panel coming. I am choosing an image from my computer and uploading.. After crunching there is 3 button: "Insert into Post", "Use as featured image" and "Delete". If i select "Insert into Post".. its just inserting image to visual editor, not to file input place. But when i click to "Select file" button again from input place and go to "gallery" tab in wordpress upload panel, i can see "Select" button as action and its successfully inserting image to input place

  6. Steve Taylor
    Member
    Posted 8 months ago #

    It seems to be the same issue. Because jQuery autocomplete isn't present, you'll find there's a JS error, which prevents execution of subsequent JS - including that which sets up the "Select" button in the media library overlay for file fields.

    I'm trying to fix this in the new version - basically the geocoder will only be included if autocomplete is present. For now, I think installing Use Google Libraries is the best fix - you should see both the problems you've been having disappear.

  7. unsalkorkmaz
    Member
    Posted 8 months ago #

    i installed http://wordpress.org/extend/plugins/use-google-libraries/
    and:

    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
    <script type='text/javascript'>try{jQuery.noConflict();}catch(e){};</script>
    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js'></script>
    <script type='text/javascript' src='http://local.dev/wp-content/plugins/developers-custom-fields/slt-custom-fields-gmaps.js?ver=3.2.1'></script>
    etc.. still same problems.. nothing changed :S

    I am trying on localhost @ windows 7

    Can you link a screenshot of what should i see after image upload and crunching? There is 3 button in bottom: "Insert into Post", "Use as featured image" and "Delete".

  8. Steve Taylor
    Member
    Posted 8 months ago #

    OK, this is broken with the Flash uploader. Switch to the Browser uploader and it should work OK.

    In the imminent 0.7 release I'm disabling the Flash uploader when you use a file selection field type. WP 3.3 includes a new media uploader, so I'm not going to spend time fixing it with the pre-3.3 Flash uploader. Hopefully I'll get it working with the new uploader before 3.3 is released!

Reply

You must log in to post.

About this Plugin

About this Topic