William

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 49 total)
  • Author
    Posts
  • in reply to: Recurring events auto-creation (take 2) #1349380
    William
    Participant

    This reply is private.

    in reply to: Recurring events auto-creation (take 2) #1349379
    William
    Participant

    OK…

    I switched over to my staging site, disconnected all non-calendar plugins except Cron Events, and switched to 2017 theme. Still no luck.

    Here are a few events I created with the option checked for two months of recurrence. I later switched to four months and ran the cron event, but no further events were created.

    http://upcal.staging.wpengine.com/event/a-game-of-thrones-discussion/all/
    http://upcal.staging.wpengine.com/event/walk-with-a-horse-along-the-shore/all/
    http://upcal.staging.wpengine.com/event/go-fish/all/

    I’ll followup with a post with the site info from the staging site just in case there’s anything amiss there.

    in reply to: Recurring events auto-creation (take 2) #1348773
    William
    Participant

    OK, I installed the plugin, and saw that particular chron, and ran it. It said it ran successfully, but no events were created. I tried the same thing you did, changing the time to two months in advance, creating an event, then changing it to three months in advance and running the chron. It didn’t do anything. (test event created just now with two months in advance setting.)

    So no luck there. However, the delete chron works. I see it deleting events regularly via our activity log plugin. (Screenshot attached)

    In the event edit screen, these past events appear as a list of recurrence exceptions. I guess that’s how it works? (Screenshot attached)

    I hope this provides some valuable clue. It seems strange that one part of the recurrence housekeeping would work and not another.

    in reply to: Recurring events auto-creation (take 2) #1348319
    William
    Participant

    Note: The previous reply marked “private” contains system info. I realize anyone else trying to work their way through a similar problem will find it hard to follow with private messages interspersed. So we’ll leave that one private and I’ll include the rest of the message below. There’s actually one change from the previous message so please disregard everything before the system info, András.

    Hosting
    Site is hosted with wpengine.

    Past events or New events
    I checked a daily event created after the update – last Friday. It had created three months worth from that day. When I updated just now, it gave it another few days. That means it’s affecting post-update events too, right?

    Theme and plugins
    We’re already using a default theme, 2016, for this very reason… easier troubleshooting ?
    I haven’t tried deactivating all the plugins. Most of them are necessary for the site’s normal functioning. And with the nature of this issue, it seems like they’d have to stay disabled for awhile, right? The script that’s supposed to go through and create the events ahead of time wouldn’t instantly kick in?

    in reply to: Recurring events auto-creation (take 2) #1348310
    William
    Participant

    This reply is private.

    in reply to: HIding unnamed/blank venues & organizers from choices #1254737
    William
    Participant

    Thanks! It worked.

    in reply to: Removing unlinked venues & organizers #1253004
    William
    Participant

    Badass!!!! Thanks for going above and beyond. Always great to read such well-commented code as well, makes for a good lesson every time.

    in reply to: Removing unlinked venues & organizers #1244276
    William
    Participant

    Thanks! While working on this I ran into a snag, hoping you might be able to help me out.

    When I try to grab the VenueID from all my event posts I get empty values. I tried grabbing a few hundred and that worked fine, so I worked my way up and found it cuts out at 2015 (the number, not the year). If I set posts_per_page or numberposts at that or fewer, I get values, but if I set it for more, I get all empty values.

    I rigged up a demo page to show what’s happening. Here’s what it looks like with 2015:
    http://upcal.staging.wpengine.com/lemme-see-yer-id/

    If I ask for home, all those values show up as empty.
    1:
    2:
    3:
    etc.

    Here’s the relevant snippet:

    $event_ids = get_posts( array(
    'post_type' => 'tribe_events',
    'posts_per_page' => 2715,
    ) );
    
      echo "<h2>Venue IDs</h2>";
       $i = 0;
      foreach ($event_ids as $event) {
      $meta = get_post_meta($event->ID, "_EventVenueID", true);
          $i++;
          echo $i . ": " . $meta . "</br>";
    
    }

    Any suggestions you might be able to offer would be most appreciated… thanks!

    in reply to: Plugin is Forcing Wrong Date in Calendar #1201719
    William
    Participant

    Try saving as draft, private or posting with the incorrect date, anything to get the page to refresh. Then return to the dates and see if you can change the end date.

    I found that if you set the end date first you create an event that lasts that many days, and it won’t let you make the end date sooner. Then if you change the start date, it will automatically change the end date to be that many days later.

    in reply to: Auto-deleting old recurring events #1164429
    William
    Participant

    Thanks! Everything looks good now and probably always was working correctly. I didn’t know that about the first (or master) instance of a recurring event always remaining.

    There were some other examples I was still puzzling over after learning that which seemed to be multiple subsequent instances of a recurring event. But they were actually master versions with variations. Example: Three separate events for a class that meets regularly three times a week at different times on different days, which should have been entered as one event with multiple recurring rules. Couldn’t figure out why the same event title at the same venue was listed for Aug. 1, 3 and 5, but they were all masters.

    Thanks again.

    in reply to: Auto-deleting old recurring events #1163740
    William
    Participant

    This reply is private.

    in reply to: Auto-deleting old recurring events #1162389
    William
    Participant

    This reply is private.

    in reply to: Auto-deleting old recurring events #1162386
    William
    Participant

    This reply is private.

    in reply to: Show time and date on posts admin screen #1159565
    William
    Participant

    Thanks, works! Have a good weekend!

    in reply to: Show time and date on posts admin screen #1157401
    William
    Participant

    Thanks for the reply. Yes, that’s what I see. I was wondering if it were possible to also see the time of day as well for each event start date and end date. 10 p.m. August 29, for example.

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