Jen

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 54 total)
  • Author
    Posts
  • in reply to: Trailing slashes needed in three functions #20554
    Jen
    Participant

    Thanks, Rob! I also found some double-slashed links in the grid, so a good look-see at the getLink() function and a liberal application of trailingslashit() should solve everything.

    in reply to: Trailing slashes needed in three functions #20486
    Jen
    Participant

    OK, it looks like all the trailing slash problems trace back to getLink(), but I’ll let y’all figure it out. I see you also have a function trailingslashit() that could be used to clean it up.

    in reply to: Trailing slashes needed in three functions #20484
    Jen
    Participant

    Oops, the third function is actually getLink(), not tribe_get_linked_day(), and refers only to the ‘day’ case.

    in reply to: iCal feed adds one minute to end time #20311
    Jen
    Participant
    in reply to: iCal feed adds one minute to end time #20254
    Jen
    Participant

    I haven’t changed by UTC settings at all. I looked at the raw iCal feed, and it looks like it’s adding 59 seconds to the end of the time, which is getting rounded up to a full minute. So for instance, on an event that is ending at 7 p.m., the code reads “DTEND;VALUE=DATE-TIME:20120627T190059.”

    in reply to: iCal feed adds one minute to end time #20009
    Jen
    Participant

    OK, nevermind on the “United States” thing. It only affects the events created before I updated my version of Pro to 2.0.6. The extra minute is still an issue, though.

    in reply to: ECP version confusion #19999
    Jen
    Participant

    Got it! I had never seen that tab before. Now I know!

    in reply to: ECP 2.0.6 Issue #18612
    Jen
    Participant

    Check that your default template hasn’t changed (Settings > The Events Calendar). That was the issue for me. I switched it back to the correct template I wanted and all was back to normal.

    in reply to: ECP version confusion #18593
    Jen
    Participant

    Rob, my versions are also out-of-sync, and I’m not receiving automatic prompts from WordPress to update the Pro version. (I’m 2.0.6 on EC and 2.0.4 on Pro.) I also can’t locate the settings page with the license key, which I entered back in the initial installation. Odd. Is there a place to download the Pro installer?

    in reply to: Google Calendar feed displaying HTML entities incorrectly #17073
    Jen
    Participant

    HA! Your comment box encoded the HTML entities I used as examples. I actually wrote “ampersand, number sign, 8220, semicolon” and “ampersand, number sign, 8221, semicolon.”

    in reply to: Trouble with Google Calendar Link #17069
    Jen
    Participant

    Melody, I ran into this same problem. If you’re handy with PHP, you can work around it by hacking the function googleCalendarLink(), which is located in the file events-calendar-pro.php. You can either modify the function within the plugin itself (not recommended, but easier and faster) or by creating a copy of the function in your theme, renaming it, editing it, and then calling the custom function in your views.

    Anyway, what I’m doing is using the WordPress function wp_trim_words() to shorten the description to 55 words within the Google Calendar link. This helps keep the URL from becoming too large.

    I’m fixing some other stuff at the same time, so my new function now has a line that reads:

    ‘details’ => str_replace( ‘ ‘ , ‘+’, urlencode( html_entity_decode( wp_trim_words( strip_tags( do_shortcode ( get_the_content() ))), ENT_QUOTES, ‘UTF-8’))),

    Someone out there who knows PHP better than I do can probably come up with a more elegant solution.

    in reply to: Using shortcodes within event descriptions #17068
    Jen
    Participant

    I used a custom shortcode in the description of my events, and then when I exported the calendar items via either Google or iCal, the shortcode was left intact rather than expanded. So I’d see something like “[list cat=32 current=true]” instead of “This event is fantastic and you should totally go. Here are more details and a picture.”

    In the case of iCalFeed(), the content is never filtered, so the shortcodes are never run. For googleCalendarLink(), the shortcodes are being encoded before they are filtered, which then prevents them from running.

    Once I got this fixed, I then ran into two unrelated problems with googleCalendarLink(), which I’ll relate in separate threads. (One I think you’re already on top of.)

    in reply to: Using shortcodes within event descriptions #17048
    Jen
    Participant

    Sorry, I should have said apply_filters(‘the_content’,$content) in those references. Or I can also just wrap the content in do_shortcode() as before.

    in reply to: Using shortcodes within event descriptions #17047
    Jen
    Participant

    I’m also having shortcode issues in the description portions of the functions iCalFeed() and googleCalendarLink(). The content in the former is not being run through apply_filters(), and the latter is getting encoded before apply_filters(), which prevents the shortcode from being expanded. I’ve got a workaround in place, but wanted to bring it to your attention.

    I’ve also got a separate issue with too-long URIs that I see is being handled in an upcoming release.

    in reply to: Permalink conflict with Yoast SEO on recurring events #16438
    Jen
    Participant
Viewing 15 posts - 31 through 45 (of 54 total)