Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter saugertyp

    (@saugertyp)

    Oh btw, I am not using DIVI. I didn’t build the website and I don’t know the one who did it, but it’s definitaly not DIVI. It looks like some self-made stuff in combination with any standard theme.

    Thread Starter saugertyp

    (@saugertyp)

    Hello,

    I’ve found out something new on this issue.

    I could fix nearly every address beside these 2 and I think something is wrong with those addresses, not the Plugin.

    First: First Wrong Address
    Second: Second Wrong Address

    If I google those 2 addresses, it shows me no real address for the first wrong one. I don’t really know where exactly the event should be even though I use Google itself to look for it.

    The second address is wrong even though it’s a real address. I don’t really know why it is not correctly displayed. It shows the correct address in the backend, but shows the world map in the frontend.

    I think that error occurs due to an issue with the marker. The map doesn’t know where to place it, because anything is wrong with the address at the end when you save and publish it to the frontend.

    At the backend it looks for the most accurate address, like if you type “Bahnhofstraße” in there, it shows any “Bahnhofstraße” in Germany. The more specific the data is, the better and more accurate it will be displayed.
    In the frontend it’s like: there is an error in the address? I don’t know where it is so I just show the world map.

    Maybe you as the plugin support know how to solve that issue? Is it possible to get a new function like you have the option to either type in the address OR use the lat / long coordinates to put the marker? The lat / long option should show the address too though.

    Thanks a lot for the help!

    Regards,
    saugertyp

    Thread Starter saugertyp

    (@saugertyp)

    I am using the embedded map with cityname and address.

    Thread Starter saugertyp

    (@saugertyp)

    Hello angelo,

    well sadly it is still not working as you can see at this site: one problem URL. Sometimes it shows the map correctly, other times it shows the map as a world map. I really don’t get it.

    Regards,

    saugertyp

    Thread Starter saugertyp

    (@saugertyp)

    Is it possible that Events Manager isn’t working properly due to a missing SSL-certificate on the website?
    I already tested the API-Key with no http-/IP-restriction but it doesn’t work either.
    Also I tried to put the * everywhere already, e. g.

    *moba-deutschland.de/*/*
    http://moba-deutschland.de/*
    http://*moba-deutschland.de/*
    http://moba-deutschland.de/*/*

    It doesn’t matter how you write it, that error is happening every time like here: World Map Error Page

    Thread Starter saugertyp

    (@saugertyp)

    Hello,

    yes I did all that. Instead ofthe http referrers I used the IP address.

    Thread Starter saugertyp

    (@saugertyp)

    Hello proximity2008,

    I have a billing account setup and connected with my API key project which is also verified. Also why it works with some maps and a few don’t? I really don’t get it.

    I’ve chosen embedded maps in Events Manager. Maybe I need to change something at the restrictions? I already tried the following restrictions for that API key:

    Directions API
    Places API
    Maps JavaScript API
    Geocoding API
    Maps Embed API
    Geolocation API

    I also tested it with no URL restriction. Can you tell me what to do there?

    Best regards,

    saugertyp

    Thread Starter saugertyp

    (@saugertyp)

    Hello s-hinse,

    your fix works!

    Thank you a lot for this fast help!

    Best regards,

    saugertyp

    • This reply was modified 7 years, 8 months ago by saugertyp.
    Thread Starter saugertyp

    (@saugertyp)

    Not all solutions are upgrade-safe and I am too lazy to look for upgrade-safe solutions at the moment, but that’s how I solved the most:

    1st and 3rd solution:
    folder: /wp-content/plugins/events-manager/templates/forms/event/when.php
    You need to edit this file. Change ‘all day’ to ‘Verschiedene Uhrzeiten’. It will be displayed in the backend and in the frontend in the submission form.

    In the same file, change line 16 to:
    <span class=”em-event-text”><?php _e(‘Veranstaltung von’,’events-manager’); ?> </span>
    You now have “Veranstaltung von” except “Veranstaltung startet am”. It’s also changed in the backend and frontend.

    4th solution: /wp-content/themes/YOUR THEME/plugins/events-manager/forms/event-editor.php
    You can apply changes in this file.

    5th solution: You need to add this code to your functions.php and change my has_… attributes to the attributes you need. If you need more attributes, just add them. I’ve found this code-snippets here.
    At the end the code looks like this:

    function em_event_output_condition_filter($replacement, $condition, $match, $EM_Event){
    
     // Checks for has_notes conditional
     if (is_object($EM_Event) && preg_match('/^has_(notes)$/', $condition, $matches)) {
     if (isset($EM_Event->$matches[1]) && !empty($EM_Event->$matches[1])) {
     $replacement = preg_replace("/\{\/?$condition\}/", '', $match);
     } else {
     $replacement = '';
     }
     }
    
    // Checks for has_Telefon conditional
    if(is_object($EM_Event) && preg_match('/^has_(Telefon)$/', $condition, $matches)){
            if(array_key_exists($matches[1], $EM_Event->event_attributes) && !empty($EM_Event->event_attributes[$matches[1]]) ){
                $replacement = preg_replace("/\{\/?$condition\}/", '', $match);
            }else{
                $replacement = '';
            }
        }
    
    // Checks for has_Homepage conditional
    if(is_object($EM_Event) && preg_match('/^has_(Homepage)$/', $condition, $matches)){
            if(array_key_exists($matches[1], $EM_Event->event_attributes) && !empty($EM_Event->event_attributes[$matches[1]]) ){
                $replacement = preg_replace("/\{\/?$condition\}/", '', $match);
            }else{
                $replacement = '';
            }
        }
    
        return $replacement;
    }
    
    add_filter('em_event_output_condition', 'em_event_output_condition_filter', 1, 4);

    I hope this helps anyone out there. 🙂

    • This reply was modified 7 years, 9 months ago by saugertyp.
    • This reply was modified 7 years, 9 months ago by saugertyp.
    Thread Starter saugertyp

    (@saugertyp)

    I’ve fixed my 2nd issue: Used the wrong placeholders.. It works perfectly now.
    For my 3rd issue I’ve made a translation suggestion in the plugins website. I hope this will be changed.

    My 1st, 4th and 5th issue is still open. Can anyone help?

    Thread Starter saugertyp

    (@saugertyp)

    I want to buy the Plugin once this is fixed, but I can’t find a way to resolve my issues.

    Maybe a plugin developer can help? I need an answer to this issues before I can buy the plugin, else I can’t use it sadly.

    1st: I want to be able to tick “Different Times” in the backend to show the text “Different Times” in the front-end in the #_EVENTTIMES attribute. In German it’s called “Verschiedene Uhrzeiten”. At the moment you can only tick “All Day” or in German “Ganztägig”.

    2nd: If you only have a start time but no end time, it must only show the start time, not both. It works perfectly for the #_EVENTDATES attribute. If you only insert a start date, it only displays the start date and no range. I need the same for #_EVENTTIMES?

    3rd: The German translation: “Veranstaltung startet am …” is wrong. It must be “Veranstaltung startet um …” for the time.

    4th: Can you change the front-end submission form as a paying user? If no, where can I change it?

    5th: How can I add more {has_…} values? For example once there is no description for the event, how can I disable that? At the moment it looks like this:

    Beschreibung<br/>
    #_EVENTNOTES

    If I don’t have #_EVENTNOTES, it shouldn’t show “Beschreibung<br/>” either.
    I’ve found a code-snippet which I already used for another issue, but I can’t find a way to add more of these snippets:

    function em_event_output_condition_filter($replacement, $condition, $match, $EM_Event){
        // Checks for has_MOBA-Event? conditional
        if(is_object($EM_Event) && preg_match('/^has_(MOBA-Event?)$/', $condition, $matches)){
            if(array_key_exists($matches[1], $EM_Event->event_attributes) && !empty($EM_Event->event_attributes[$matches[1]]) ){
                $replacement = preg_replace("/\{\/?$condition\}/", '', $match);
            }else{
                $replacement = '';
            }
        }
        return $replacement;
    }
    add_filter('em_event_output_condition', 'em_event_output_condition_filter', 1, 4);

    Thanks for the help!

    A way to change the [event_form] output is really appreciated for me aswell. Hope someone knows?

    Thread Starter saugertyp

    (@saugertyp)

    Hello all,

    I’ve found another possible solution for my issue.
    Now I only need one more option in the plugin.

    Here is a screen of the backend:
    all day

    Ganztägig = the whole day from 12 am – 12 am the next day.

    So basically at the point: Veranstaltung startet am … bis … Ganztägig
    I need another option: “Different Times” = “Verschiedene Uhrzeiten”. Once you tick it, you should see that message “Different Times” or in German “Verschiedene Uhrzeiten” in the frontend too.

    Also “Veranstaltung startet am …” is wrongly translated. It must be “Veranstaltung startet um …”. I think it’s only shown in the backend in the window where you create the event or edit it, but it’s still confusing.

    And the last question: Where can I edit the Frontend submission form? I’ve used the shortcode [event_form] on my page to show it.

    • This reply was modified 7 years, 10 months ago by saugertyp.
    • This reply was modified 7 years, 10 months ago by saugertyp.
    Thread Starter saugertyp

    (@saugertyp)

    Hey,

    omg such an easy fix and I am looking for ages..
    Thaanks so much!

    Best regards,
    Saugertyp

    If you use the shortcode:
    [property_overview] or anything, you need to add “fancybox_preview=false” to every of this shortcodes.

    E.G. [property_overview …. fancybox_preview=false ….]

Viewing 15 replies - 1 through 15 (of 15 total)