![]() |
IMG Cacher - SSL Keeper - Mixed Content Block Solution
1 Attachment(s)
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: Code:
$link_parsed = parse_url($link); 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 Code:
User-agent: * Code:
<FilesMatch "cache\.php$"> 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: https://vborg.vbsupport.ru/showthrea...75#post2411575 (Thanks to Kh99) |
Quote:
Is there a similar solution to loads adsense in SSL forum without any warning? |
Quote:
This is mine: Code:
<script type="text/javascript"><!-- Code:
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> |
The embedded image appears in the cache_img directory but it doesn't appear in the posted thread. How to make it appear there?
|
Quote:
Code:
Then you need to create a plugin (admincp -> plugins & products -> add new plugin) |
Quote:
|
Quote:
|
Please re-download the modification. I forgot to update a part of the code for it to actually work.
Once you've re-downloaded it, it will work. |
Ok, thanks!
Edited: It's working now, thanks again :up: ! |
Great work
product has been added successfully Thank you |
All times are GMT. The time now is 03:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|