WordPress.org

Ready to get started?Download WordPress

Forums

Connections Business Directory
[resolved] CN_PLUGIN_URL constant throughout. (6 posts)

  1. Ed Roms
    Member
    Posted 1 year ago #

    We are having more than several mixed content blocks in IE10, so the lovely tile-plus directory looks very bad with our default Windows profile to block mixed content.

    I noticed this line in connections.php:
    @TODO: Add support for SSL using the CN_PLUGIN_URL constant throughout.

    When will you be implementing this SSL support please? We run our whole site in SSL and the Connections stylesheets, js, and other references seem to happen in http instead of https.

    Any tips on how to do this now would be helpful.

    Thank you.

    http://wordpress.org/extend/plugins/connections/

  2. shazahm1
    Member
    Plugin Author

    Posted 1 year ago #

    That's just an old todo that I forgot to remove. Current versions of Connections and Tile Plus will load just fine over SSL.

    Are you certain Connections is the issue?

  3. Ed Roms
    Member
    Posted 1 year ago #

    I'm not 100% certain. We've had issues with the core and other plugins since the 3.5.1 upgrade. Here are some of the js filepaths that are causing an issue with our secure settings for IE10. I don't have a link, because this is internal only. Do you have any suggestions on how to fix the JavaScript URLs? These should all be https protocol.

    [blocked] The page at https://someurl.com/?page_id=285 ran insecure content from http://someurl.com/wp-content/plugins/connections/js/jquery.preloader.js?ver=1.1.
    /?page_id=285:1
    [blocked] The page at https://someurl.com/?page_id=285 ran insecure content from http://someurl.com/wp-content/plugins/connections/js/cn-user.js?ver=0.7.6.6.
    /?page_id=285:1
    [blocked] The page at https://someurl.com/?page_id=285 ran insecure content from http://someurl.com/wp-content/plugins/connections/js/jquery.chosen.js?ver=0.9.11.
    /?page_id=285:1
    [blocked] The page at https://someurl.com/?page_id=285 ran insecure content from http://someurl.com/wp-content/plugins/tile-plus/tile-plus.js?ver=3.0.1.

  4. shazahm1
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting, those same files will be server correctly for me. The only difference is that I have pretty permalinks turned on. Can you try that?

    Also, how are you forcing https?

    Connections uses the standard WP functions to determine the URL which will correctly set the https protocol. So a guess would be the method that you're using for force https.

  5. Ed Roms
    Member
    Posted 1 year ago #

    This is a production site and changing the permalinks to something other than the default would break too many links.

    I've suspected for a while now that it does have something to do with our force https method. Maybe there is a syntax error in our apache config. I will try to find out and also maybe use an .htaccess file with appropriate code.

    What we have now:
    RewriteCond %{HTTPS} off [NC]
    RewriteRule (.*) https://someurl.com$1 [R]

    Thanks for all of your help.

  6. Ed Roms
    Member
    Posted 1 year ago #

    Okay, I've cleared most of the blocks by using this gist,
    https://gist.github.com/webaware/4688802

    I'm closing this issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic