Chris

Forum Replies Created

Viewing 15 posts - 631 through 645 (of 1,121 total)
  • Author
    Posts
  • in reply to: Infobox won't display #13414
    Chris
    Keymaster

      Hi,

      This is probably specific to your site. If you can provide a URL I’ll take a look.

      You might try deactivating your other plugins and switching to a standard theme to see if there’s some kind of conflict.

      in reply to: Again, you saved my brain! #13403
      Chris
      Keymaster

        Thanks, Connie, I’m glad you got it working and saved your brain! 🙂

        in reply to: MapPress in Widget #13394
        Chris
        Keymaster

          Hi,

          The widget is for displaying maps (not POIs) so the map will need to be saved on another page. It disables the directions link by default because the sidebar is usually not wide enough to display the directions form.

          To re-enable the form, you can use the field where you can specify additional shortcode parameters. This should work to override its default and show directions in the sidebar:

          directions="inline"

          It may work better to open instead open a new page with Google for directions (it’ll provide easy printing and a bigger space to work with):

          directions="google"

          in reply to: Automatic POI maps with custom fields #13381
          Chris
          Keymaster

            Hi,

            I don’t know how your import script works, but MapPress hooks into the events for meta fields being updated in order to trigger its geocoding.

            You might check to see if there’s a field ‘mappress_error’ on those posts, which would indicate a geocoding error, although you should still see an empty map.

            You can also use the action ‘mappress_update_meta’ to force an update when you know all the field data has been saved – my own TurboCSV importer calls this action. You’ll need to pass it the post ID to update:

            do_action('mappress_update_meta', $post_id);

            in reply to: Question about Widget #13355
            Chris
            Keymaster

              Hi,

              Yes, that’s possible – there are some good plugins specifically for controlling where widgets appear in your theme.

              I use one called “widget logic” which seems to work well.

              in reply to: DataTable shortcode? #13354
              Chris
              Keymaster

                Hi,

                I think this will work:
                [mappress datatables="false"]

                in reply to: Use custom fields to create multiple POIs per post? #13328
                Chris
                Keymaster

                  Hi,

                  Sorry, only one POI per post is supported. I don’t know the details of your design, but a workaround might be to create multiple posts and then combine them together using a mashup map?

                  in reply to: Import a list of POI #13320
                  Chris
                  Keymaster

                    There’s a similar question here with an example that may help:

                    http://mappresspro.com/forums/topic/mashup-template-php-syntax

                    in reply to: Import a list of POI #13319
                    Chris
                    Keymaster

                      There’s a similar question here with an example that may help:

                      http://mappresspro.com/forums/topic/mashup-template-php-syntax

                      in reply to: Mashup Template PHP Syntax #13318
                      Chris
                      Keymaster

                        Hi,

                        You just need to include your variable(s) in the query:

                        echo do_shortcode
                        ('
                         [mashup query=
                           "dealership_state=' . $current_dealership_state . '&
                           posts_per_page=-1"
                         ]
                        ');
                        in reply to: Multiple Locations Icon when zoomed out #13311
                        Chris
                        Keymaster

                          Hi,

                          Please put feature requests in that section. This one has been requested before and I will eventually add it (it’s
                          called “clustering”).

                          Thanks for the feedback.

                          in reply to: Remove google POI #13310
                          Chris
                          Keymaster

                            On the settings screen – there’s a style maps section where you need to paste your json.

                            in reply to: Import a list of POI #13309
                            Chris
                            Keymaster

                              Hi,

                              That should work. WordPress doesn’t document the query string very well in their codex but it does work.

                              You should able to do things like:

                              query="mytax1=a"
                              query="mytax1=a+b"   (a and b)
                              query="mytax1=a,b"   (a or b)
                              query="mytax1=a&mytax2=b"   (mytax1 = a and mytax2 = b)

                              Remember to use slugs for the taxonomy name and term values.

                              in reply to: Remove google POI #13303
                              Chris
                              Keymaster

                                Hi,

                                Google has recently made it so those POIs are always clickable. They’ve refused to fix it, you can see the bug report here if you’re interested.

                                One workaround is to use a styled map to hide the business POIs. Google’s own styling tool allows you to select POI layers and hide them. Please see the MapPress documentation for more information about how to enter map styles in the settings.

                                in reply to: Geocoding Address Line 1 , Address Line 2 Not Appearing #13296
                                Chris
                                Keymaster

                                  Hi,

                                  I see the problem. When Google is able to geocode a result, you’ll see a single marker for the street address. Try it with “620 Pulaski Highway, Bear, Delaware, 19701”.

                                  When it can’t geocode the address, Google shows a list of businesses that might match from Google Places. That’s what you’re seeing with “620 Pulaski Highway, Route 40, Bear, Delaware, 19701

                                  MapPress uses the Google geocoding service (not Places) and it needs to have at least one match through that service. You can test the geocoder directly using this url.

                                  The result is approximate, for “Bear, DE” which is what you see in MapPress.

                                  I see the “Powersports” business on Google shows without the “route 40” but they include it on their web site. If the “route 40” part is valid, Google has a service where you can notify them of errors and get them fixed (click ‘report a problem’ in the bottom-right corner of any map).

                                  If you have a lot of errors of this kind, I don’t think there’s an easy answer. You can fix the addresses, or possibly find another geocoder that is more lenient. MapPress supports Nominatim, but it’s not very accurate. There are also some other paid and free geocoding services.

                                Viewing 15 posts - 631 through 645 (of 1,121 total)