Event Calendar Pro and SSL Connections

Home Forums Calendar Products Events Calendar PRO Event Calendar Pro and SSL Connections

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #98314
    Nathan
    Participant

    After installing an SSL connection on a website running ECP, I noticed that the calendar wasn’t working anymore. The culprit was 2 style sheets and a Javascript file being called over http:// instead of https://

    The calls for those are found in events-calendar-pro.php

    Line 1295 calls tribe-events-pro-full.css
    Line 1296 calls tribe-events-pro.css
    Line 1317 calls tribe-events-pro.js

    It seems there’s an issue with using trailingslashit( $this->pluginUrl ) which prevents WordPress / is_ssl from changing the links to these files from http:// to https://

    While it was somewhat easy to override the styles using wp_dequeue_style (for the full-calendar-pro-style stylesheet ) and the filter tribe_events_pro_stylesheet_url for the other stylesheet, I was unable to override the script with wp_dequeue_script. I ended up needing to use a plugin for this (one that forces SSL across a WordPress site), but it looks like using another method to call the plugin URL directory instead of trailingslashit( $this->pluginUrl ) will fix this.

    #98761
    Casey
    Participant

    clicknathan,
    Thanks for the heads up on this! I’ll post a ticket for our developers to look into this further. Thanks! 🙂

    -Casey-

    #105341
    Casey
    Participant

    Nathan,
    Thanks for being patient on this issue with us. One of our developers confirmed that this is the case, and has logged this as a bug to be resolved in a future release.

    In the mean time, you can resolve this now by pasting the following code into your theme’s functions.php file: https://gist.github.com/ckpicker/9051867

    Give that a shot and let me know if it does the trick. Thanks! 🙂

    -Casey-

    #105436
    Nathan
    Participant

    Great, thank you for the update!

    #107866
    Casey
    Participant

    Thanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.

    By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. 🙂

    Cheers,
    Casey

    #123964
    Barry
    Member

    Unfortunately we weren’t able to squeeze this one into our next upcoming release (3.5) but I wanted to drop a note in here to let you know it’s still on our radar and we will try hard to fit it in to the next release instead. Thanks for your support and patience in the meantime!

    #768914
    Leah
    Member

    Hi there,

    I just wanted to let you know that we were able to work on this issue for our upcoming 3.8 release. Keep an eye out on your site for an update announcement! If you update and are still seeing this problem, please post a new thread so we can check it out. Thank you for your patience while we got this fix in place.

    Best,
    Leah
    and the team at Modern Tribe

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event Calendar Pro and SSL Connections’ is closed to new replies.