Forum Replies Created
-
AuthorPosts
-
Kyle
ParticipantHey, thanks for following up
Yes exactly, for some reason any time I use tribe_update_event or wp_update_post with an event post type the start and end times get wiped out.
Kyle
ParticipantIts tough for me to paste the full code because it is in my payment gateway plugin, I tried to boil it down to just the parts that affect it. The event post status is meant to tie in to Woocommerce order status. http://snippi.com/s/qztnzvb
Kyle
ParticipantNevermind ha
Thanks again!
Kyle
ParticipantAll I see in the meta EventStartDAte,Hour,Minute,Meridian etc.
Kyle
ParticipantAs a follow up to this, for scheduling the hourly function, is there a way to easily pull the end time/date from an event post as a unix timestamp?
Kyle
ParticipantThanks for the reply.
Okay, I will probably schedule an hourly event that checks for past events or something in that case.
Kyle
ParticipantOf course, forgot to put the custom field in the meta array:
‘meta_query’ => array(
array(
‘key’ => ‘wpcf-xcustomer_id’,
‘value’ => $currentid ))October 19, 2012 at 10:18 am in reply to: Customize Information Output to iCal and Google Calendar #26872Kyle
ParticipantThanks for the reply Leah,I think the filter at the top there will work perfectly!
Kyle
ParticipantThanks for the reply! I will try that out
Kyle
ParticipantOh okay, yeah now that I re-read my post I could have explained that better. I believe that is what I was originally looking for and didn’t explain it well
Kyle
ParticipantThank you for the reply. After finding exactly where the error was coming from in the list.php I found the tribe_is_past() function, which solved it
Kyle
ParticipantThank you that is exactly what I was looking for
Kyle
ParticipantThanks for your help, this will definitely get me going in the right direction. I decided to limit the view of the calendar to people who have the option to be organizers, so I may try to sort by that as the ‘author’ also.
Kyle
ParticipantOkay, wrapping the entire code for the /view files for both those pages in if(current_user_can()){ code } else { wrong permission message } did the trick for what I was looking for.
Kyle
ParticipantThanks for the response Joyce
So I put in a plugin that does so, but since I those two pages aren’t pages that you can do to the edit screen I can’t set permissions-know what I mean? I’ll keep trying, but any other tips would be appreciated
-
AuthorPosts
