Andy Fragen

Forum Replies Created

Viewing 15 posts - 496 through 510 (of 529 total)
  • Author
    Posts
  • in reply to: Leading spaces in iCal #18851
    Andy Fragen
    Moderator

    Sorry Steven, my bad. I see what’s creating the file. Just to confirm, you are using v2.0.6? What changes to the PHP did you make? I might be simpler to fix this problem if we all know your using a non-modified events-calendar-pro.php file.

    in reply to: Leading spaces in iCal #18835
    Andy Fragen
    Moderator

    How is this ics file created?

    in reply to: Leading spaces in iCal #18820
    Andy Fragen
    Moderator

    Steven,

    What program/app created the ics file? Also, as Johah said and example would help a lot. What PHP file did you edit?

    in reply to: Add Alarm to Event #18741
    Andy Fragen
    Moderator

    Jonah/Joey,

    I decided to rewrite this as a WP plugin that way all anyone else who wants this functionality has to do is download the plugin and activate it. They will also need to create the Additional Field as described above, but this way they won’t have to change their own theme functions.php file. And if/when tri.be incorporates similar functionality all that has to be done is deactivate the plugin.

    You can get it, pound on the code, or otherwise enhance, improve or change it from GitHub.

    https://github.com/afragen/events-calendar-pro-alarm

    If I need to add/change anything so I’m not infringing on tri.be’s work etc. let me know. It’s the last thing I want to do.

    Thanks,
    Andy

    in reply to: Add Alarm to Event #18726
    Andy Fragen
    Moderator

    Jonah,

    Excellent, I’m so glad there’s a way to add this without modifying the core. I just didn’t know how. I’m glad you put in the filter hooks. This is beautiful.

    I made few changes to the code which you and Joey can look at here.

    https://gist.github.com/2599350

    I added a test for test for is_numeric in addition to the empty test. That and the string conversion to integer is unnecessary.

    Thanks,
    Andy

    in reply to: webcal subscribe problems #16963
    Andy Fragen
    Moderator

    Rob I’m just pleased that, as developers, you guys have been very receptive to fixes by users. The level of support you’ll provide and the followup is exemplary.

    in reply to: webcal subscribe problems #16891
    Andy Fragen
    Moderator

    Joey, full name is Andy Fragen.

    Only question re: event’s occurrence timestamp, if there are they truly unique for each instance of a repeating event. The last bit of PHP code I sent will definitely work and only gets added when the ICS file is created/recreated. If the event’s occurrence timestamp is the value being used for the DTSTAMP then it’s not random. I have multiple repeats of this for repeating events. But hey, if the value is random and already created it’s clearly faster to reference it than create it each time, though not by any significant amount.

    Your welcome.
    Andy

    in reply to: webcal subscribe problems #16889
    Andy Fragen
    Moderator

    If you’re so inclined a more random salt can be added using the following php.

    base_convert(mt_rand(0x19A100, 0x39AA3FF), 10, 36)

    instead of

    rand(1,10000)

    This will result in a 5 character random number/string, between: 10000 to zzzzz

    in reply to: webcal subscribe problems #16878
    Andy Fragen
    Moderator

    @Rob – I think I fixed the problem for this thread. I sent you several emails with the solution where you can test.

    The issue seemed to be that the UID event tag for repeating events was not unique. My solution was to add a random salt to the UID tag generated so that they are ALL unique.

    Change line 380 of events-calendar-pro.php to the following.

    $item[] = “UID:” . $eventPost->ID . rand(1,10000) . “@” . $blogHome;

    in reply to: webcal subscribe problems #16776
    Andy Fragen
    Moderator

    @Rob – I’d be happy to test out some code.

    in reply to: webcal subscribe problems #16754
    Andy Fragen
    Moderator

    @Rob – Do we have a solution in the works for the original problem of some repeating events displaying in the calendar but not displaying in a iCal calendar subscription?

    in reply to: webcal subscribe problems #16101
    Andy Fragen
    Moderator

    WP 3.3.1
    Theme is child of Desk-Mess-Mirrored

    Akismet 2.5.5
    All in One Webmaster 7.5.3
    Articles 1.3
    BNS Login 1.8
    Clean-Contact 1.6
    Clean Options 1.3.2
    Dashboard: Pending Review 2.0.0
    Debug Bar 0.8
    Degradable HTML5 audio and video 1.8.2
    Easy Disable Visual Editor 1.0
    Events Calendar PRO 2.0.4
    Gallery Shortcode Style to Head 2.1
    Google XML Sitemaps 3.2.6
    GZIP Output 1.1
    Hello Dolly 1.6
    Imsanity 2.1.3
    iRobots.txt SEO 1.1.2
    Jetpack by WordPress.com 1.2.2
    JR Favicon for WordPress 1.1
    Markdown 1.0.1n
    Simple Lightbox 1.6.1
    SmartyPants 1.5.1e
    Stop Spammer Registrations Plugin 2.20
    Subscribe to Comments Reloaded 2.0.2
    The Events Calendar 2.0.4
    Touch Punch 0.1
    Universal Video 0.7
    WordPress Debug 0.2.2
    WP Author Slug 1.2
    WP Database Optimizer 1.2.1.2
    WP Status Notifier 1.3.1
    WP Updates Notifier 1.2

    in reply to: webcal subscribe problems #15923
    Andy Fragen
    Moderator

    Rob, I’m saying 2 things. First, I used to be able to Control-click the URL http://troop262ps.org/events/ical and download an ics fiile. I can no longer do this. What happens is a web page listing of events is produced. Second, when I try to subscribe to the ics using the URL, webcal://troop262ps.org/events/ical, there is an error of an invalid ics.

    in reply to: webcal subscribe problems #15901
    Andy Fragen
    Moderator

    Unfortunately something’s changed such that I cannot download the generated ics file to see what’s wrong.

    in reply to: webcal subscribe problems #15899
    Andy Fragen
    Moderator

    FYI, something in the 2.0.4 release messed up the integrity of the ics format. I’m digging further. I’ll post something more later.

Viewing 15 posts - 496 through 510 (of 529 total)