The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Mixed Content Blocker?
Hello,
I've implemented the SSL to my forum. However, whenever there is an external image or video (Mixed Content), I get a browser error. Is there any way to block external images or embedded videos if they don't have secured connection? I noticed that there is an add-on for that but it's only for vb 4. Is there a vb 5 version? |
#2
|
||||
|
||||
I solved that by setting Replacement Variables for http:// (replace to https://) in AdminCP. But that causes errors on links to websites, who doesn't support https.
This could also help you: https://www.vbulletin.com/forum/arti...forum-to-https |
#3
|
||||
|
||||
<a href="https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-miscellaneous-modifications/4207-block-mixed-content-prevent-ssl-breaking" target="_blank">https://vbmods.rocks/forum/vbulletin...t-ssl-breaking</a>
The HTTP Content-Security-Policy (CSP) block-all-mixed-content directive prevents loading any assets using HTTP when the page is loaded using HTTPS. |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Add the following to your headinclude template:
HTML Code:
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|