Okay
  Public Ticket #2427149
Open street map
Closed

Comments

  •  5
    Earl D started the conversation

    Great update in the new version where do I turn on the open street maps in this  update.

  •  877
    Zhivko replied

    Hi,

    Front General settings -> Map Type.

    If you don't see this setting de-activate and re-activate the plugin for settings to update.


    Stachethemes Developer

  •  5
    Earl D replied

    Thanks that did the trick. Could you consider adding support for wpdiscuz in the commenting options

  •  877
    Zhivko replied

    We're going to build our own comment system for the calendar in 3.0.9 since a lot of people don't want to use 3rd parties like Disqus or Facebook but I'll take a look at this plugin.


    Stachethemes Developer

  •   Earl D replied privately
  •  877
    Zhivko replied

    I've tested it today.

    It can be implemented for the event's single pages.

    In the calendar view mode it will be tricky and I haven't figured it out yet.


    To turn on comments for single event page open file 

    \stachethemes_event_calendar\assets\php\inc\inc.custom-posts.php and add comments support for stec_event on line 14:

    $stachethemes_ec_main->register_custom_post('stec_event', esc_html__('Event', 'stec'), esc_html__('Events', 'stec'), Admin_Helper::get_permalinks('event'), array('title', 'editor', 'comments'));

    Also replace the file stachethemes_event_calendar\assets\php\o.event.php with the one inside the zip I've attached.


    Note you will have to resave your events to update the comment status to 'open'.


    To disable calendar default comments (disqus/facebook) add this filter in your theme functions.php file:

    add_filter('stec_event_get_front_data', function($data) {
        $data['comments'] = 0;
        return $data;
    });

    Stachethemes Developer

  •  5
    Earl D replied

    Thanks for checking in to it. Not sure what the value would be beyond the single event. That’s the place it makes sense to me.



  •  877
    Zhivko replied

    By design fb and disqus comments can be displayed inside the calendar as well. It would be nice to have this option for all comment form types. I'll leave a filter in the next update for customers that want to keep using their theme comments form.


    Stachethemes Developer