Forum Replies Created
-
AuthorPosts
-
Mathew
ParticipantMathew
ParticipantThis reply is private.
Mathew
ParticipantHans-Gerd,
Thanks for confirming the scenario. Now let’s wait for the support staff to chime in on the topic.
Mathew
ParticipantHans-Gerd,
I believe you are looking at the wrong DB Table. The _EventOrganizerID is within wp_postmeta.
In wp-admin, make note of the post_id of an event that exhibits the issue from the URL in the browser. It will look something like …/wp-admin/post.php?post=1234&action=edit. The post_id in this example is 1234. This is helpful when you have thousands events to contend with.
Run a search in phpMyAdmin within the wp_postmeta table for the post_id obtained from the URL.
Look for the _EventOrganizerID entries within the search results.
In the results, look for two things:
Are there multiple entries for _EventOrganizerID? And more importantly, is there and entry with a value of 0 (Zero)?
Mathew
ParticipantJust to add to the conversation. I have a ticket open, much like this one.
One thing to look for in the DB. Not only look for multiple _EventOrganizerID entries for the same post, but if one of the entries has a value of 0.
If so, reply here.
Mathew
ParticipantMartin,
I use TextWrangler for Mac by Bare Bones Software to run a file/folder comparison. I run it against every TEC update. It works great for this and other editor needs.
Hope this helps.
Mathew
ParticipantLet me preface that I believe this to be a Divi issue. Simply because I have had to use this solution for another plugin that uses CPTs.
Add the following snippet to your child-theme’s functions.php. There are other TEC post types, but these are the ones I was concerned with.
/* ----------------------------------------------------------------------------------- */
// Add Divi Builder to TEC Post Types
/* ----------------------------------------------------------------------------------- */function add_tec_post_types( $post_types ) {
$post_types[] = 'tribe_events';
$post_types[] = 'tribe_venue';
$post_types[] = 'tribe_organizer';return $post_types;
}
add_filter( 'et_builder_post_types', 'add_tec_post_types' );
Hope this helps.
Mathew
ParticipantThank you @Cliff
The custom function works perfect.
Building off the same snippet, here’s a version that will remove the Export button from the Month view.
function tribe_remove_calendar_export_links() {
if ( function_exists( 'tribe' ) ) {
remove_action( 'tribe_events_after_footer', array( tribe( 'tec.iCal' ), 'maybe_add_link' ) );
}
}
add_action( 'init', 'tribe_remove_calendar_export_links' );
Mathew
ParticipantThis reply is private.
Mathew
ParticipantI’ll open a ticket with ThemePunch and see if I can make some headway with them. They’re pretty slow to update this product.
Mathew
ParticipantI stumbled on something last night. It looks like an escaping issue.
If you use singe quotes on the shortcode, the space issue goes away. Not sure if is a bug in wordpress includes, or somewhere else.
Here’s what works for me.
[tribe_formatted_event_date id='%post_id%' timezone='America/Chicago' format='F jS, Y @ g:i a']
Mathew
ParticipantThis reply is private.
Mathew
ParticipantThis reply is private.
Mathew
ParticipantWilliam,
I cannot reproduce the error. I’m not sure where it’s coming from. Do you have debug turned on?
Other than that, do you have the post type set to “Event” in Essential Grid? Under Settings -> Source -> Post Types.
-
AuthorPosts
