Forum Replies Created

Viewing 15 replies - 1 through 15 (of 2,344 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi Paul,

    Thank you for reporting this. It seems an error in the vendor package. I will look into it and release an update.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    The error is currently logged to your browser console window, but I do agree that that is not sufficient enough.

    I will implement any API errors in the next update.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    I have tried your query and get a 401 error back form the API. That means that your API key is invalid.
    You can check the API key by using the “Get your API key” button in the plugin options page.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @sarumbear,
    I am very sorry to reply this late. I seem to have missed you post.

    It appears that you have not stored the location coordinates in your WordPress database. If the “Find button” does not return a search result, there is probably something wrong with our API key.

    Please try the following:
    Go in your WordPress Admin to Events -> Locations -> And click on the one that is not working correctly. On that page, open your browser console window and then click the “Find Address” button.
    The server response will be shown in your browser console log.

    If you do not know how to open your browser console window, take a look here:
    https://appuals.com/open-browser-console/

    Please let me know what the server response is.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @longjogger,

    The easiest why is to add a snippet to your themes functions.php file.

    add_filter( 'em_osm_default_tiles', function( $maptiles ) {
        return '//stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.jpg';
    }, 10, 1 );

    Replace the URL with the one for your custom map tile server. Leaving the http: and https: out.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @davinian and @longjogger,

    I am glad to hear that the current version runs as it should. ??
    Still, I will a release a major update within a few days. Doing the last part of testing it with PHP 8.1.1 and EM 6.0.0.1.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    The browser console should show the OpenCage result or their error response.

    A 401 server response is usually “not found”, meaning the requested URL could not be found.

    What is the full response in your browser console window?

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi Bernd,
    You should have received the confirmation email with the correct download link on 16/05/2022 at 22:23 CET. Please check your spam folder.
    I will resend the emai, just in case.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Using this plugin will let to send emails to bookings of a specific event. The email form can be found in Event Bookings Overview Page: Events -> Bookings -> Click on the Event Name.

    The recipients list will automatically be filled with the email addresses of your bookings based on their booking status. You can change the status selection in the plugin’s options page.

    Upon submitting the email form, each email will be sent to each recipient individually, allowing you to use (personal) Booking Related Placeholders and will also ensure your emails are GDPR compliant, because the recipient will only have its own email address in the “To” field.

    Sending emails to individual bookings from your WordPress admin is one of the Pro features.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Taking another look at your screenshot, I think there might be another issue…

    Do you mean the “autocomplete” when you start typing in the location name field?
    If so, that field only searches your WordPress database for previously created locations and it does not contact the OpenCgae API server. If you have been using embedded maps, Events Manager has not saved the coordinates to your WordPress database.

    To edit an exiting location go to Dashboard -> Events -> Locations and click “Bartlett Hall”. In the “Edit Location” page you can click the “Search Address” button and the filled out address fields will be used to query the OpenCage API server. The state field will then also be automatically filled and the map should be moved to retrieved coordinates.

    Don’t forget to update the post to save the changes to the database.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    If the map does not update, there could be a jQuery error. Please check your browser console window for any errors.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    WP All Import is absolutely a wonderful plugin, but I am not sure if it is the best fit for importing into Events Manager, because Events Manager stores the events and locations not only as posts, but also as objects in their custom database tables (wp_em_events & wp_em_locations).
    So, if you import the locations as posts, you will need to open each imported entry in the “Edit Location Page” and click “Update” to allow Events Manager to assign a Location ID (different from the Post ID) and process the entry correctly.

    Since you are then already in the Edit Location Page, please check if the location address fields have been imported correctly. If so, click the “Search Address” button (before updating the post) to fetch the coordinates. The full OpenCage API search result will be visible in your browser console window.

    At this point the marker is still draggable, so you can move it to a more precise position on the map, if needed. Then click “Update” to store everything.

    In the EM – OpenStreetMap options page there is an option to “Show Fullscreen”. If that toggle has been set to “Yes”, the front-end map will show a button to allow you visitor to open the map in fullscreen. So there is no need to include a Google Maps Link.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    The default Events Manager settings already include the #_LOCATIONMAP placeholder in the Single Location Page format…

    Please see: https://snipboard.io/Yui2Bs.jpg

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @th3bish0p,

    Thank you for enjoying this EM add-on. ??

    The category color (#_CATEGORYCOLOR placeholder) you are referring to is for Event Categories. Location maps are only linked to an event using the Location ID.
    A single location can (technically) be used for multiple Events with different Event Categories.

    In the current version of EM – OpenStreetMap the default marker colors are separate images (marker-icon-red.png), while the Event Category Color is a hex value (#dd3333), so it would not be easy to apply the color code value to the marker image.

    I am about the release an update that will use an SVG image for the Leaflet ExtraMarkers, so any color code can be applied easier, using the em_osm_location_marker filter.

    So, I would like to suggest you wait for the release of version 5.0 and then repost your question here, so I can provide you with a snippet to use.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Hi @markburton52,

    The “Search Address” button should only be used when creating a new physical EM Location in either the “Edit Event Page” or “Add New Location Page” in your WordPress Admin.
    Clicking that button will connect to OpenCage API server, retrieving the coordinates using the location address field values as the search query. Those coordinates will be stored in your WordPress database when you click “Publish” or “Update”.

    Looking at your link, it seems to be a standard single event (bookings) page. You seem to use a link to Google Maps… Please make sure that your markup contains the placeholder #_LOCATIONMAP in: Dashboard -> Events -> Settings -> Formatting -> Events -> Single Event Page -> Single event page format.

    Also, please check your theme’s frontend.js, because the browser console window gives an error that “wp” is undefined. Any errors in jQuery will stop processing the rest of the script.

Viewing 15 replies - 1 through 15 (of 2,344 total)