Home › Forums › Calendar Products › Events Calendar PRO › Conflict with WPFrontUser
- This topic has 3 replies, 4 voices, and was last updated 9 years, 10 months ago by
Guillaume.
-
AuthorPosts
-
June 5, 2016 at 2:45 pm #1122819
Guillaume
ParticipantHi there,
We’re facing an issue between the events calendar pro and wpfrontuser. When both are activated, executing the tribe_get_events method from an included page (bootstrap modal) in WP doesn’t return any event. Whereas when opening the modal page without includes, data are received. When dumping the requests we note a difference linked to wpfrontuser.
Here are the dumps: (first when included, second when modal page)
SELECT SQL_CALC_FOUND_ROWS FROM ( SELECT DISTINCT wp_posts., wp_postmeta.meta_value as EventStartDate, tribe_event_end_date.meta_value as EventEndDate FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDate’ ) WHERE 1=1 AND ( wp_postmeta.meta_key = ‘_EventStartDate’ ) AND wp_posts.post_type = ‘tribe_events’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘closed’) AND wp_posts.id NOT IN (SELECT post_id FROM wp_wpfront_ure_post_type_permissions WHERE role IN (‘wpfront-guest-role-1’) AND enable_permissions = 1 AND has_read = 0 ORDER BY EventStartDate ASC, wp_posts.post_date ASC ) a GROUP BY IF( post_parent = 0, ID, post_parent ) ORDER BY EventStartDate ASC LIMIT 0, 10
AND wp_posts.id NOT IN (SELECT post_id FROM wp_wpfront_ure_post_type_permissions WHERE role IN (‘wpfront-guest-role-1’) AND enable_permissions = 1 AND has_read = 0 ORDER BY EventStartDate ASC, wp_posts.post_date ASC )///
SELECT SQL_CALC_FOUND_ROWS FROM ( SELECT DISTINCT wp_posts., wp_postmeta.meta_value as EventStartDate, tribe_event_end_date.meta_value as EventEndDate FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = ‘_EventEndDate’ ) WHERE 1=1 AND ( wp_postmeta.meta_key = ‘_EventStartDate’ ) AND wp_posts.post_type = ‘tribe_events’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘private’ OR wp_posts.post_status = ‘hidden’) AND (wp_postmeta.meta_value >= ‘2016-06-05 13:42:54’ OR (wp_postmeta.meta_value <= ‘2016-06-05 13:42:54’ AND tribe_event_end_date.meta_value >= ‘2016-06-05 13:42:54’ )) ORDER BY EventStartDate ASC, wp_posts.post_date ASC ) a GROUP BY IF( post_parent = 0, ID, post_parent ) ORDER BY EventStartDate ASC LIMIT 0, 10
Can you help us in any way? Thanks in advance for your answer!
Best,Guillaume
June 6, 2016 at 7:18 am #1122957Nico
MemberHi there Guillaume,
Thanks for reaching out to us! I’ll try to help you here…
First of all, have you tried to reach out to the WPFrontUser folks on this? They might be able to indicate you how to un-hook the action/filter that modifies the query to get events.
Also, I’m not sure about “… when opening the modal page without includes, data are received …” , what you mean by “without includes”?
Please let me know about it,
Best,
NicoPS: if you prefer to continue the conversation in French we have a native speaker in our team 🙂
June 21, 2016 at 9:35 am #1129897Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Conflict with WPFrontUser’ is closed to new replies.
