joneiseman
Forum Replies Created
-
I would check the firewall log to see what’s getting blocked. Maybe there’s some Firewall setting to fix the problem.
Are you using the WP Fullcalendar plugin? If so, add the following code snippet to solve the problem:
add_filter('wpfc_fullcalendar_args', function( $args ) {
$args['calendar_size'] = "large";
return $args;
});You can use the Code Snippets plugin to add this code snippet.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Event submissionAdd the edit_events and the edit_other_events capabilities. Don’t add to publish_events if you want to require approval before the event is published.
Because of a bug in the plugin you need to give the permission to “edit_other_events” as well as “edit_event” in order to allow users to access the event submission form.
https://www.ads-software.com/support/topic/only-admin-user-role-can-add-and-edit-events-2/
Here’s some documentation on accepting user submitted events: https://wp-events-plugin.com/documentation/user-event-guest-submissions/
I was not able to reproduce the problem. When I created an event where the location was of type URL and filled in a URL, it did not create an empty physical location.
Conditional placeholders are working for me.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Multiple CalendarsI tried adding two events_calendar shortcodes on the same page and it worked fine:
[events_calendar category=13]
[events_calendar category=14]Yes, you can edit recurring events. Just go to Events > Recurring and then select Edit to edit a recurring event: https://wp-events-plugin.com/documentation/recurring-events/
Hi @pixelcarre,
This is about your question here: https://www.ads-software.com/support/topic/grid-view-and-search-option/
I found a way to create a grid view with a search option: https://www.ads-software.com/support/topic/grid-view-and-search-option/
To make it a grid add the following line to events-search.php (underneath where it sets scope to all):
$args['view'] = 'grid';
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] search barI figured out a way to show the grid or list view with a search bar using a shortcode: https://www.ads-software.com/support/topic/separate-pages-for-past-and-future-events/#post-18124807
Here’s a way to create a page with filtering. First create the directory wp-content/plugin-templates/events-manager/templates and then create a file in that directory called events-search.php with the following content:
<script>
jQuery(document).ready( function($){
$(window).on('load', function() {
$('.em-search-submit').click();
});
});
</script>
<?php
/* @var $args array */
$args['scope'] = 'all';
$args['search_action'] = 'search_events';
$args['search_url'] = get_option('dbem_events_page') ? get_permalink(get_option('dbem_events_page')):EM_URI;
$args['css_classes'][] = 'em-events-search';
$args['css_classes_advanced'][] = 'em-events-search-advanced';
em_locate_template('templates/search.php', true, array('args'=>$args));
?>Then use the following shortcode on the page where you want all events to be displayed:
[event_search_form]
Unfortunately, there’s no way to add a search form with the events_list shortcode. You can add a search form with the events_calendar shortcode but there’s no way to change the default view with the events_calendar shortcode.
[events_calendar show_search=1 has_search=1 views=calendar,list,grid,list-grouped scope="all"]
On another page use the following shortcode:
[events_list scope="all"]
Two ways to do this. One way is to go to Events Manager Settings and click on the Pages tab and then in Event List/Archives select your existing page from the pulldown next to “Events page” and then click on the “Save Changes” button. The other way is to insert the following shortcode in your existing page:
[events_calendar show_search=1 has_search=1]
I tried it and it worked for me.
Until this problem gets fixed by the plugin owner, you could try using the following code snippet to fix the problem:
function my_em_custom_booking_form_cols_tickets($value, $col){
if( $col != 'actions' && $col != 'event_name' && $col != 'user_email' ){
$value = wp_strip_all_tags( $value );
}
return $value;
}
add_filter('em_bookings_table_rows_col','my_em_custom_booking_form_cols_tickets', 100, 2);You can use the Code Snippets plugin to add this code snippet.