Tim Vergara
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] slow queryHello,
The queries from Events Manager should be optimized already. In which part of Events Manager page do you it to trigger? checking of the query it seems to get the row counts of locations.
There is also a chance that the issue is on the Server itself, chances are MySQL Server is configured on your hosting properly. I have an EM installed on a cheapest hosting plan of Hostgator and I don’t have the same problem where sites became too slow.
You could try checking this thread: https://wordpress.org/support/topic/using-scope-for-a-custom-display-list/#post-10856544
You could also try this snippet:
add_filter( 'em_object_build_sql_conditions_args', 'custom_add_one_week_scope_filter' ); function custom_add_one_week_scope_filter( $args ) { if( isset( $args['scope'] ) && $args['scope'] == '1-weeks' ) { add_filter( 'em_object_build_sql_conditions', 'custom_add_one_week_scope' ); } return $args; } function custom_add_one_week_scope( $conditions ) { $EM_DateTime = new EM_DateTime(); //the time, now, in blog/site timezone $start_date = $EM_DateTime->getDate(); $end_date = $EM_DateTime->modify('+7 days')->getDate(); $conditions['scope'] = " (event_start_date BETWEEN CAST('$start_date' AS DATE) AND CAST('$end_date' AS DATE))"; if( !get_option('dbem_events_current_are_past') ){ $conditions['scope'] .= " OR (event_start_date < CAST('$start_date' AS DATE) AND event_end_date >= CAST('$start_date' AS DATE))"; } if( !empty($conditions['scope']) ){ $conditions['scope'] = '('.$conditions['scope'].')'; } return $conditions; }Then to use it:
[events_list scope="1-weeks"]<p>#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES</p>[/events_list]- This reply was modified 7 years, 6 months ago by Tim Vergara.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] JQuery ErrorHello,
What jQuery Error do you Get? Have you also tried disabling other plugins then only activate Events Manager then changing theme to any default twenty series and check if you still have the jQUery Error?
There is setting under Events > Settings > Performance Optimization (Advanced) where you could limit JS loading.
Hello,
You can enter key under Events > Settings > Google Maps and Location Services
Hello,
Currently Google now have billing. What you could do is try using the The Static Map setting from Events > Settings > Google Maps and Location Services > Google Map Type
I’m not sure if this is available on the Free Version in case you’re using the Free Version.
Hello,
Have you tried changing the Theme? Checking the page and It seems like the footer with Copyright is showing to me. I would also suggest checking that you have have forgot to close an html tag incase you have modified something on settings.
Hello,
If I get is correctly What you’re looking for is to display something like.
Nov 4, 2018 (Monday)
Some Event 1
Some Event 2Nov 5, 2018 (Tuesday)
Some Event 1
Some Event 2
Some Event 3and so one.
You would need to do some custom coding with PHP for it.
$now = new DateTime; $total_days = 7; $week_start = $now->modify("monday this week")->format('M d, Y'); // see ISO 8601 $now->modify("+1 week"); for( $d = 1; $d <= $total_days; $d ++ ) { $now->modify("+1 day"); $current_date = $now->format("Y-m-d"); echo "<h3>" . $now->format('M d, Y') . "</h3>"; echo do_shortcode("[events_list scope='{$current_date}' ]<p><b> #_EVENTNAME </b> meet at <b>#_LOCATION </b> at <b>#_EVENTTIMES </p>[/events_list]"); }- This reply was modified 7 years, 6 months ago by Tim Vergara.
Hello,
Have you tried using the Category ID’s on the attribute?
[events_list category="1,15,200"]Hello,
You could display them using a shortode. Example below:
[events_list limit="-1"]<p>#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES</p>[/events_list]Hello,
I have tried your link also and it is indeed Working on my End. Here is a Screenshot for it. http://take.ms/q3PIj
Would like to ask some questions also. Have you tried using other Browser or Perhaps Computer? There a lot of cases that sometimes it’s due to the Security Settings of Browser/Computer.
I’m using: Windows 10 Pro with Google Chrome when I tried it.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] showing end dateHello,
I’m not sure If I get what you mean. Are you referring to that When you have created an Event and views the Event. It only shows the End Date?
You could try checking your Settings under:
Events > Settings > Formatting > Single event page formatYou could also check the link: https://wp-events-plugin.com/documentation/placeholders/ This link contains all the placeholders that you can use.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Separate CalendarsHello,
You could try using the https://wordpress.org/plugins/wp-fullcalendar/ There is a shortcode there that would display the Calendar wherever you want to.
Sample code: This shortcode would display a Calendar with the specific Events under the said Category
[fullcalendar category="2"]After you have tried enabling all the mentioned API. You could try and Add a new Location to test. There are times that for the previous location that you entered won’t work, Thus you just need to Edit those and re-save.
I would suggest that you try and use twenty series theme to test. There is also an option under the Google Maps Settings where you could select. embedded, static and others modes. You could try switching to those and try again.
If you have a PRO version you could also submit a Support Ticket so EM Tech Support team could help you.
Can you also make sure that you have also enabled the following API’s and added the Billing Info?
1, Make sure that you have also added your BILLING ADDRESS, This is because google maps requires billing information now.
2. Geocoding API
3. Geolocating API
4. Directions API
5. Distance API
6. Elevation APIAfter you have made sure that you have activated those, You might need to re-enter the addresses again on the Field for the map to show.
If you’re also using Themes like DIVI, They have their own Google Maps Implementation, You would need to enter the API there also. Please do check DIVI Documentation in case you’re using it.
- This reply was modified 7 years, 6 months ago by Tim Vergara.
Hello,
This could be because you’re trying to print a shortcode [html] which doesn’t exist. I would suggest checking the shortcode or location where it shows. If you’re using a PRO version you could submit a Ticket on the Pro Site and EM Team would gladly check the error for you.