Kyle

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 52 total)
  • Author
    Posts
  • in reply to: Revision Support Blocks Admin Create/Edit Events #29408
    Kyle
    Participant

    Jonah;

    Oh I see good to know. I am just getting into the revision part of my site, so I didn’t know that. I am trying to add a feature for customers/event providers to submit changes to one another and if approved it updates the event. If revisions don’t support meta though it would probably have to be a new cpt then, so looks like I’ll have to build it from scratch. Thanks for your time and help!

    Kyle

    in reply to: Revision Support Blocks Admin Create/Edit Events #29406
    Kyle
    Participant

    Jonah;

    I am holding off on running 3.5 for a few weeks until a couple waves of bug fixes, so I’m not sure.

    Kyle

    in reply to: Updating an Event #29297
    Kyle
    Participant

    Okay, apparently the source of the problem was the code added for supporting revision tracking, which was kind of in the middle of troubleshooting this problem so I got them mixed up, my bad : https://theeventscalendar.com/support/forums/topic/view-event-revision-history-in-admin/

    Although that is kind of its own problem. When adding revision support, you cannot update event meta(e.g. start/end time) normal wp meta still updates though. New topic?

    in reply to: Updating an Event #29261
    Kyle
    Participant

    both

    in reply to: Updating an Event #29250
    Kyle
    Participant

    Hi, yes the original problem was the time meta getting wiped out whenever updating event from the admin

    in reply to: Updating an Event #29248
    Kyle
    Participant

    Have you guys come up with any solution to the problems with the event dates? At this point I cannot create events through the admin, the date automatically reverts back to today’s date. Is there someway to get a copy of 2.0.9

    Kyle
    Participant

    Code is courtesy of the WP Block Admin plugin http://wordpress.org/extend/plugins/wp-block-admin/

    in reply to: View Event Revision History in Admin #29074
    Kyle
    Participant

    Okay, clearing my cache did it. Thanks for your help!

    in reply to: View Event Revision History in Admin #29073
    Kyle
    Participant

    Inside my functions file. Strange

    in reply to: View Event Revision History in Admin #29071
    Kyle
    Participant

    Hey, thanks for the reply

    I tried adding:
    add_action(‘init’, ‘tribe_revision_support’);
    function tribe_revision_support() {
    add_post_type_support( ‘tribe_events’, ‘revisions’ );
    }

    But didn’t see a result

    in reply to: Updating an Event #28954
    Kyle
    Participant

    Okay, so after playing with the tribe_update_event function for awhile it seems that you simply have to pass the entire date/time variable back in the correct format each time, or it will reset the date. So something like this http://pastie.org/5482011 will work. It is essentially like using the tribe_create_event function each time.

    in reply to: Updating an Event #28951
    Kyle
    Participant

    Hey

    I switched over to wp_update_post, but I will test with tribe_update_event

    in reply to: Updating an Event #28949
    Kyle
    Participant

    Hey Sam, thanks for following up on this. I think I actually was able to figure out part of the problem. I had a separate function that was hooked into save_post which was causing an infinite loop (but only with events, which is why I thought it was with tribe_update_event). I appreciate you taking the time with this

    in reply to: Updating an Event #28905
    Kyle
    Participant

    Jonah;

    Okay great, thanks for your help.

    Kyle

    in reply to: Updating an Event #28902
    Kyle
    Participant

    I also tried to pass the times back to the post inside the function.

    http://pastie.org/5479104

Viewing 15 posts - 16 through 30 (of 52 total)