Jeremy

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Jeremy
    Participant

    Ah thanks! That mysql2date() call was definitely screwing it up. That got me on track. Here’s what I ended up using so the pubDate is in the proper format:

    echo tribe_get_start_date($post, false, ‘D, d M Y H:i:s -0004’);

    Also, in case anyone from the future finds this, I have a couple actions registered that add the event start and end dates into the feed output in rss:ev and xCal formats. Here are those:

    http://pastebin.com/BE4rSW9H

    Jeremy
    Participant

    I’m sure this has something to do with recurring events. I know there have been lots of issues with this. I just need a way to get the date for the next upcoming event in the recurring event entry. As you can see from the code, I just need to output a feed that lists today’s events only, and they are usually going to be recurring events.

    in reply to: Version 3 breaks WP-Member plugin #57006
    Jeremy
    Participant

    Stop the presses. Well I was fairly certain I had the most recent update the other day when I started this thread, when I looked today there was a plugin update available for 3.0.2. Appears to have fixed my issue. Sorry for the trouble.

    in reply to: Version 3 breaks WP-Member plugin #57005
    Jeremy
    Participant

    Thanks Neil. I didn’t actually customize anything. V2 was working just fine along with WP-Member (http://wp-member.com/) but when I updated to V3 things started getting weird. If I disable, then re-enable The Events Calendar, the content from categories marked as Guest level via WP-Member appear to visitors that are not logged in (as it should), but as soon as I edit a post or category or event (while The Events Calendar is active) the Guest level content stops appearing to non-logged in visitors.

    in reply to: Recurring events rss feed #19423
    Jeremy
    Participant

    Just wanted to follow up on the beginning of this conversation about getting correct event dates into RSS feeds. I ended up just extending the RSS output with the proposed Events module namespace and injecting ev:startdate and ev:enddate elements into my feeds (for events only obviously).

    Here is the code I added to the theme functions.php file to make it work:
    http://pastie.org/3941187

    Just so the picture is clear, I have a specific widget on another website that uses SimplePie to pull the extended feed from WordPress/ECP and uses the ev:startdate and ev:enddate values instead of the pubDate element.

    If anyone cares to see it in action, it’s the “Today at the Moon” block on http://bluemoonrehoboth.com/

    in reply to: Recurring events rss feed #18579
    Jeremy
    Participant

    Awesome, thanks David. Modifying wp-content/feed-rss2.php means the changes could get clobbered on the next WordPress update. I made a copy of the file with the changes and symlinked to it so it’s easier to restore if that happens.

    in reply to: Recurring events rss feed #18432
    Jeremy
    Participant

    That’s disappointing. I expected that the dates on events in the RSS feed would be correct, that seems basic. Rob, can you point out (or get a developer to point out) the file that builds the RSS feed for events?

Viewing 7 posts - 1 through 7 (of 7 total)