Announcement

Collapse
No announcement yet.

JV Twitter on an SSL Site

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • JV Twitter on an SSL Site

    Dear Developer. I love your mod which works really well and is very customisable. I have installed it on one of my sites which has an SSL certificate and some of the pages are delivered securely. When I go to a secure page I get a mixed content error and that is because of their being http links in the Twitter module. Is there any way of fixing this please? Thanks Steve

  • #2
    We are also having an insecure mixed content problem on our SSL site.

    The problem is in modules/mod_jvtwitter/tmpl/default.php and must be this data-bind attr:{src: avatar} is not using https:

    Code:
        <div class="jvTwitterTweets well well-small" data-bind="visible: showTweet" style="display: none">
            <div class="jvTwitterTweetContainer" data-bind="foreach: tweets">
                <div class="media well well-small">
                    <a class="pull-left" target="_blank" data-bind="visible: $root.params().tweet_avatar == 1, attr:{href: url}">
                        <img class="media-object" src="#" data-bind="attr:{src: avatar}" alt=""/>
                    </a>
    How to make that call SSL, can you tell us? You can check, we are purchasers on 8/5. The module is very nice and we want to keep using it if possible but it is breaking our SSL "lock" with the ugly warning exclamation point.

    On a somewhat related note, fyi, I tried to make an html folder /mod_jvtwitter/ override of this tmpl file and it would not work.

    Apologies if not posting in the right place. We saw a lot of folks posting on Envato comments and http://joomlavi.com/forum/forum/them...ort/jv-hosting is listed as the forum for support but this thread is exactly the same issue we are having.

    Thank you in advance for your help.

    Comment


    • #3
      After consulting https://dev.twitter.com/overview/gen...es-and-banners I have discovered the answer myself.

      You must go to modules/mod_jvtwitter/assets/js/twitter.ajax.js and find and replace profile_image_url with profile_image_url_https lines 27, 69, 93.

      Hope this helps someone else and maybe dev will update in next release.

      Comment

      Working...
      X