vBulletin 4.2.5 and HTTPs Mixed Content Issue with Skimlinks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mark99
    Senior Member
    • Oct 2002
    • 118

    [Forum] vBulletin 4.2.5 and HTTPs Mixed Content Issue with Skimlinks

    I use the default vBulletin Skimlinks plugin and am just about to move my site over to HTTPS from HTTP, although during testing I noticed that it adds this code at the bottom of pages and the source call is to http rather than https (i.e. mixed content warnings).

    Code:
    <script type="text/javascript">   
      		var noskimlinks = false, 			noskimwords = false, 			skimlinks_product = 'vbulletin';  		vBulletin.events.SkimlinksActivate.fire();  	</script> 	<script type="text/javascript" src="[URL="https://www.vbulletin.com/forum/core/view-source:http://s.skimresources.com/js/5630X653681.skimlinks.js"]http://s.skimresources.com/js/5630X653681.skimlinks.js[/URL]"></script>
    So my question is, where can I edit that src="" call so that I can change http:// to https:// and call the secure script instead?
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24358
    • 5.7.X

    #2
    You can edit this in:

    \packages\skimlinks\hooks\showthread_complete.php
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • charlesr
      Senior Member
      • Jan 2008
      • 176
      • 4.2.X

      #3
      Originally posted by mark99
      I use the default vBulletin Skimlinks plugin and am just about to move my site over to HTTPS from HTTP, although during testing I noticed that it adds this code at the bottom of pages and the source call is to http rather than https (i.e. mixed content warnings).

      Code:
      <script type="text/javascript">
      var noskimlinks = false, noskimwords = false, skimlinks_product = 'vbulletin'; vBulletin.events.SkimlinksActivate.fire(); </script> <script type="text/javascript" src="[URL="https://www.vbulletin.com/forum/core/view-source:http://s.skimresources.com/js/5630X653681.skimlinks.js"]http://s.skimresources.com/js/5630X653681.skimlinks.js[/URL]"></script>
      So my question is, where can I edit that src="" call so that I can change http:// to https:// and call the secure script instead?
      Did you get this working mark99 ? I edited the showthread_complete.php and cleared the cache, but it's still loading as http. Do I need to reinstall the plugin or something?
      http://www.bordersdown.net - 10 years of videogame reviews and chat

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        You will need to edit the file as per Trevor's comment.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • charlesr
          Senior Member
          • Jan 2008
          • 176
          • 4.2.X

          #5
          Figured it out. Trevor's file edit was working fine in the forums that were skimlinks enabled, but I had hard coded the footer template with to always fire the skimlinks on all articles, which is set as the homepage, with a conditional on product type = CMS. As you can imagine, I was tearing my hair out for a bit! If in doubt though, it's always a hard coding thing......
          http://www.bordersdown.net - 10 years of videogame reviews and chat

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...