Title: ixray's Replies | WordPress.org

---

# ixray

  [  ](https://wordpress.org/support/users/ixray/)

 *   [Profile](https://wordpress.org/support/users/ixray/)
 *   [Topics Started](https://wordpress.org/support/users/ixray/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ixray/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ixray/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ixray/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ixray/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ixray/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/ixray/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ixray/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Non-eventful locations don't appear in location list](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/)
 *  [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/#post-5740464)
 * This is really starting to get annoying.. please fix it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Non-eventful locations don't appear in location list](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/)
 *  [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/#post-5740430)
 * Any words from devs when we can expect a fix? Creating draft events for all locations
   is not really a feasible option.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Search form option not working](https://wordpress.org/support/topic/search-form-option-not-working/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/search-form-option-not-working/#post-5723450)
 * After hours of digging in EM’s code I have found the problem:
 * For whatever reason the _dbem\_version_ field in my database was set to “5,55”(
   with comma) instead of “5.55”. So with each page refresh, _em-install.php_ (which
   includes various version checks) would write the default values into the database.
 * Manually setting _dbem\_version_ to 5.55 fixed this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Update global map with search results](https://wordpress.org/support/topic/update-global-map-with-search-results/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-global-map-with-search-results/#post-5739318)
 * The problem is that “-1” is being passed as a category ID to the map if “all 
   categories” is selected in the search form.
 * As a workaround I’ve come up with a piece of code that replaces “-1” with a comma-
   separated list of all category ids:
 *     ```
       if ($_REQUEST['category'] == "-1") {
       	$terms = get_terms( 'event-categories' );
       	if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
       	    foreach ( $terms as $term ) {
       	       $categories .= $term->term_id . ',';
       		}
       	}
       	$_REQUEST['category'] = $categories;
       }
       echo em_get_locations_map_shortcode($_REQUEST);
       ```
   
 * Add this to your templates/events-list.php
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Non-eventful locations don't appear in location list](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/)
 *  [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/non-eventful-locations-dont-appear-in-location-list/#post-5740317)
 * Same here. This is a bad bug, please fix it soon!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Update global map with search results](https://wordpress.org/support/topic/update-global-map-with-search-results/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-global-map-with-search-results/#post-5739219)
 * To clarify: Map shows search results if I select a category and a country in 
   the Ajax search form (see #1 below), but not if I select (only) a country (#2).
   Is that expected behavior?
 * Output in `em-locations-map-coords` div:
 * #1(map shows results)
    `{"action":"search_events_grouped","em_search":"","geo":"","
   near":"","category":"518","country":"DE","near_distance":"200","near_unit":"km","
   em_ajax":true,"width":"100%","height":"100%","query":"GlobalMapData","random_id":"
   37c25"}`
 * #2 (map shows no locations found)
    `{"action":"search_events_grouped","em_search":"","
   geo":"","near":"","category":"-1","country":"DE","near_distance":"200","near_unit":"
   km","em_ajax":true,"width":"100%","height":"100%","query":"GlobalMapData","random_id":"
   6e603"}`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Update global map with search results](https://wordpress.org/support/topic/update-global-map-with-search-results/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-global-map-with-search-results/#post-5739218)
 * Thanks, Angelo. I’ve checked again and it does not work with the country selector,
   either. What’s the point of the global map then if it can’t be updated with search
   results?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] How to use custom map markers?](https://wordpress.org/support/topic/how-to-use-custom-map-markers/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/how-to-use-custom-map-markers/#post-5738660)
 * Thanks but the code example in that thread does not work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] How to use em_maps_locations_map_options hook?](https://wordpress.org/support/topic/how-to-use-em_maps_locations_map_options-hook/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/how-to-use-em_maps_locations_map_options-hook/#post-5739107)
 * Hi Angelo,
 * thanks but there’s nothing about the new ’em_maps_locations_map_options’ hook
   in that document. Also, the paragraph about modifying maps with javascript is
   not very helpful (see [my other thread](https://wordpress.org/support/topic/how-to-use-custom-map-markers?replies=2)).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] How to update global map on ajax search?](https://wordpress.org/support/topic/how-to-update-global-map-on-ajax-search/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/how-to-update-global-map-on-ajax-search/#post-5738583)
 * Sorry, my fault, it’s working now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Search form option not working](https://wordpress.org/support/topic/search-form-option-not-working/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/search-form-option-not-working/#post-5723276)
 * Here’s another option field that gets overwritten with the default value on every
   refresh:
    `dbem_location_event_single_format`
 * Seeing that other options are saved correctly I don’t really understand what 
   is going wrong here.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, Appointments and more!] Search form option not working](https://wordpress.org/support/topic/search-form-option-not-working/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/search-form-option-not-working/#post-5723271)
 * The latest public versions of both Events Manager and WordPress.
 * Something seems to delete the `dbem_events_page_search_form` entry with every
   page refresh. If I add an entry named `dbem_events_list_search_form` (or anything
   else, really) and modify em-events.php accordingly it works like a charm. Of 
   course, modifying EM’s core files is a bad solution.
 * As a work around for now I am adding the [event_search_form] shortcode to the
   events page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Form and newsletter editor broken](https://wordpress.org/support/topic/form-and-newsletter-editor-broken/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/form-and-newsletter-editor-broken/#post-4760144)
 * Just figured out it seems to be a conflict with the WP Review plugin. Now if 
   only I knew how to fix it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Form and newsletter editor broken](https://wordpress.org/support/topic/form-and-newsletter-editor-broken/)
 *  Thread Starter [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/form-and-newsletter-editor-broken/#post-4760142)
 * Here’s what Safari error console says for the newsletter editor:
 * “[Error] TypeError: ‘undefined’ is not an object (evaluating ‘_.memoize’)
    (anonyme
   Funktion) (load-scripts.php, line 31) [Error] ReferenceError: Can’t find variable:
   Backbone (anonyme Funktion) (notes-common-v2.js, line 32) [Error] TypeError: ‘
   undefined’ is not an object (evaluating ‘_.extend’) global code (admin-bar-v2.
   js, line 2) [Error] TypeError: ‘undefined’ is not a function (evaluating ‘$(‘.
   wp-review-color’).wpColorPicker()’) (anonyme Funktion) (admin.js, line 155) c(
   load-scripts.php, line 3) fireWith (load-scripts.php, line 3) ready (load-scripts.
   php, line 3) q (load-scripts.php, line 3) [Error] TypeError: ‘undefined’ is not
   a function (evaluating ‘element.dispatchEvent(event)’) fire (prototype.js, line
   5733) _methodized (prototype.js, line 417) fireContentLoadedEvent (prototype.
   js, line 5819)”
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [User Role Template Tag](https://wordpress.org/support/topic/user-role-template-tag/)
 *  [ixray](https://wordpress.org/support/users/ixray/)
 * (@ixray)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/user-role-template-tag/#post-622322)
 * Hi kafkaesqui,
 * strangely, this only works if I am logged in.. what I want to do though is showing
   the role of the author on the single.php, no matter if I myself am logged in 
   or not..
 * How would I need to change your code to do that?

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

1 [2](https://wordpress.org/support/users/ixray/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ixray/replies/page/2/?output_format=md)