Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
IMG Cacher - SSL Keeper - Mixed Content Block Solution Details »
IMG Cacher - SSL Keeper - Mixed Content Block Solution
Mod Version: 2.2, by MegaManSec (Member) MegaManSec is offline
Developer Last Online: Dec 2016 I like it Show Printable Version Email this Page

vB Version: 4.1.x Rating: (10 votes - 5.00 average) Installs: 94
Released: 20 Sep 2012 Last Update: 30 Oct 2013 Downloads: 463
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code Translations External Content  

Pretty much you use this when you want to keep the SSL certificete working on pages that people may use [IMG] tag's without https://.

When you use SSL on your forum, and somebody embeds an image from a non-ssl host, lots of browsers will give you a warning and say the website is unsafe ---this is a solution to that problem.

Specifically, Mozilla has a 'Mixed Content Blocker', which makes it so if you are on an https:// website, it won't load any content on the same domain, using http://.



NOTE: MAKE SURE THE .HTACCESS FILE IN cache-img/ IS WORKING!



Upload the files into your root directory, and that's it.

Then you need to create a plugin (admincp -> plugins & products -> add new plugin)
Hook location: bbcode_img_match
Title: SSL IMG Cacher
Execution order: 5
Plugin PHP Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is active: Yes


edit "[LINK_TO_YOUR_WEBSITE]" - Without http, example: www.dragonbyte-tech.com or www.internot.info etc. etc.

Then you are done.

It should be secure as the actual directory for the images is not available.(deny from all in htaccess)


I would also suggest adding this to robots.txt

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also I suggest you add something like this to .htaccess:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

======
I only give support to people who have pressed 'installed' this.
======


Source&stuff can be found here: https://github.com/MegaManSec/IMG

For vB3.8 solution, go here: http://www.vbulletin.org/forum/showt...75#post2411575 (Thanks to Kh99)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #76  
Old 08 Aug 2019, 05:59
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Location: Lancashire, UK
Originally Posted by richTV View Post
anyone try this on vB3 ?

I'm using vb3.8.7 Patch Level 2
https://www.vbulletin.org/forum/show...75#post2411575
__________________
Better VB.org search
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:29.

Layout Options | Width: Wide Color: