Tim Vergara
Forum Replies Created
-
Hello,
Can you check that the Enable Archives? is set to Yes? It’s located under Events > Settings > Pages > Event List/Archives
Hello,
Did update the plugin from a version that is few versions behind (ie: before implementation of timezones)? Can you try and edit an Event and make sure that the Timezone, Event Dates are properly set-up and Press the Update button.
Please try and change theme also then test, just to make isolate the problem.
Hello,
Are you using the Free Version of EM or a Pro Version? If you’re using the Pro Version you could submit a Ticket on https://eventsmanagerpro.com/ for further help.
Are you referring to fields that user needs to fillout?
Those are available to Pro Version of Plugin. https://wp-events-plugin.com/features/
Pro version would allow you to create Fields that users need to fill-out when registering to events. Here is a Sample Screenshot: https://imgur.com/a/OM4G7HeYou could try using this code and place it in your functions.php of theme. Then you could use the placeholder: #_PAYMENTGATEWAY to show the payment gateway used
/** This snippet will add new placeholder #_PAYMENTGATEWAY to determine what gateway is used when the event is booked. */ add_filter('em_booking_output_placeholder','my_em_get_payment_type',1,3); function my_em_get_payment_type($replace, $EM_Booking, $result){ global $wp_query, $wp_rewrite, $wpdb;; switch( $result ){ case '#_PAYMENTGATEWAY': $replace = ''; $sql = $wpdb->prepare( "SELECT transaction_gateway FROM ".EM_TRANSACTIONS_TABLE." WHERE booking_id= '".$EM_Booking->booking_id."' "); $gateway = $wpdb->get_var($sql); $replace = $gateway; break; } return $replace; }
You could try this shortcode
[events_list scope="past" limit="0"]
More info about shortcodes and attributes here: https://wp-events-plugin.com/documentation/shortcodes/
You could try this css code and put it on you theme css file of any place where you can put custom css.
.post-thumbnail > img { width: 100%; height: auto; }
Could you show us a Sample link of the event that is having an error?
You could use a combination of shortcode and placeholders to show the next 3 events.
[events_list scope="future" limit="3"]<p>#_EVENTLINK - #_EVENTDATES</p>[/events_list]
Then you look more about placeholders here: https://wp-events-plugin.com/documentation/placeholders/
- This reply was modified 6 years, 9 months ago by Tim Vergara.
Hello,
Are you using WPML or any wp translating plugin? using wpml, you can click on the Globe icon right beside “Error Message” text field. That part is translatable according to the code.
Though If you’re only looking are changing the Word itself then you could use simple snippet to change it. Here’s a sample snippet for it.
<?php /** * Validates a bookng to ensure consent is/was given. * @param bool $result * @param EM_Booking $EM_Booking * @return bool */ function theme_custom_em_data_privacy_consent_booking_validate( $result, $EM_Booking ){ if( is_user_logged_in() ){ //check if consent was previously given and ignore if settings dictate so $consent_given_already = get_user_meta( get_current_user_id(), 'em_data_privacy_consent', true ); if( !empty( $consent_given_already ) && get_option( 'dbem_data_privacy_consent_remember') == 1 ) return $result; //ignore if consent given as per settings } if( empty( $EM_Booking->booking_meta['consent'] ) ){ $EM_Booking->add_error( sprintf( __( 'PUT_YOUR_CUSTOM_MESSAGE_HERE', 'events-manager' ) ) ); $result = false; } return $result; } function theme_custom_em_data_privacy_consent_hooks(){ //BOOKINGS if( get_option( 'dbem_data_privacy_consent_bookings' ) == 1 || ( get_option( 'dbem_data_privacy_consent_bookings' ) == 2 && !is_user_logged_in() ) ){ remove_filter( 'em_booking_validate', 'em_data_privacy_consent_booking_validate', 10, 2 ); add_filter( 'em_booking_validate', 'theme_custom_em_data_privacy_consent_booking_validate', 10, 2 ); } } add_action( 'init', 'theme_custom_em_data_privacy_consent_hooks' ); ?>
Hello,
Since you’re using a table view, you could use a jQuey to trigger and click the entire table row. Another way is to change the format of content and ung anchor tags to wrap them all. In case you want the whole row to be clickable, here’s a small script that might work.
You will need to add those script on a js file of any custom location where your theme accepts a javascript code
jQuery(document).ready(function() { jQuery( 'table.events-table tbody tr' ).on( 'click', function() { var link = jQuery(this).find( 'a' ).attr('href'); window.location.href = link; } ); });
- This reply was modified 6 years, 9 months ago by Tim Vergara.
Hello,
The consent box should be located at the last part of the form right after the Comments.
Could try and do the following?
1. Events > Settings > Privacy > Just Press Save.
If this does not work, can you try changing your theme to any default wordpress, there are chances that your theme is hiding the checkbox.Hello,
You could only create events on backend by adding an Event there or on front-end if you allow users to Submit Events.
Those are pulled directly on database, if you can use php code there then you can reformat output. Another method is convert the format using javascript or jquery.
You could also try using the builtin placeholders of EM: https://wp-events-plugin.com/documentation/placeholders/
Any theme should work fine with EM and EM Pro. Usual problems are usually minor CSS tweaks.