The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
How to enable full ssl
I'll be discussing how to enable full ssl and how to block unsecure content here. The first big thing to do comes from a vbulletin.com article and is revised a bit. Quote:
This is what I use to rewrite http to https. Code:
RewriteEngine on #Options +FollowSymLinks ################https############## RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ################https############## * SSL - Full * Edge Certificates - make one "The certificates in the pack listed below are managed and auto-renewed by Cloudflare." *HSTS Code:
HTTP Strict Transport Security (HSTS) Enforce web security policy for your website. Status: On Max-Age: 12 months Include subdomains: On Preload: On No-sniff: On * Opportunistic Encryption - On * TLS 1.3 - Enabled+0RTT * Automatic HTTPS Rewrites - On Quote:
*Important! One last thing to do to ensure full SSL compatability is making sure that no insecure requests come through, this is how to do it with a description of what it does in the link. Pop this in your headerincludes Code:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> One extra thing that I do is use this mod. It fetches external images and serves them locally, meaning that they will not violate the mixed content policy due to the rewrite we did earlier. There is also another mod that you can use to locally serve insecure (http) images. https://vborg.vbsupport.ru/showthread.php?t=288060 CKEditor Loading Issues: For users experiencing loading issues of ckeditor on vbulletin 4 with https enabled while using Chrome, here is a fix. https://www.vbulletin.com/forum/foru...52#post4378752 |
#12
|
||||
|
||||
sir i did every thing
--------------- Added [DATE]1535137346[/DATE] at [TIME]1535137346[/TIME] --------------- I upgrade to latest version vb 4.2.5 but icons still not showing |
#13
|
|||
|
|||
Ok I guess I need to rephrase that... What else did you do that wasn't in the first post?
Because there is nothing in that first post that would stop images from showing on a site.. So to help everyone figure this thing out, we need more details. |
#14
|
|||
|
|||
Alright it looks like gsmlover's issue has been resolved, if anyone else has issues with images not loading, try messing with Hotlink Protection settings in Cpanel.
Quote:
|
#15
|
|||
|
|||
For users experiencing loading issues of ckeditor on vbulletin 4 with https enabled, here is a fix.
https://www.vbulletin.com/forum/foru...52#post4378752 |
#16
|
|||
|
|||
So I recently finally got around to setting up my site for SSL. Everything went fine, but my post icons are still loading with the old http:// URL and not the new https:// URL.
I have checked to make sure that the icons in the Post Icon Manager show the proper URL. (I've tried both relative path and full URL) and the forum still points to the old http. I've set up the redirect in .htaccess as well, but doesn't seem to work on the icons. I've checked it on the default VB4 style, and I get the same issue, so I don't think it's a style problem. I've tried deleting the Post Icon and replacing it, still didn't fix it. I've tried deleting the image itself and somehow it still shows up on my browser (And I cleared cache on the browser and VB so I'm completely at a loss). I've seen other people have this issue though it seems like simple changes fixed it, so I'm not sure why mine is acting up (other than a network cache problem?) Any help would be appreciated. |
#17
|
|||
|
|||
You need to find in codes to change it to https. I am sure it used a fixed link for your icon.
|
#18
|
|||
|
|||
Like the actual PHP files? Is there a way to do that via the admin console?
--------------- Added [DATE]1559608846[/DATE] at [TIME]1559608846[/TIME] --------------- I found it! In case anyone else is having this problem, they were listed in vBulletin Options-> Thread Display Options (showthread) |
#19
|
|||
|
|||
We recently switched our forums to SSL. It was a bit of an ordeal because I don't think our host fully knew what they were doing. I think one tech was able do what we wanted by changing all the http links to https, but then another tech did another restore from a backup and wiped out the changes.
I want to change all references of http://www.mysite.com to https://www.mysite.com within on entire vBulletin database. I know this is the SQL query to change it just in the posts. UPDATE post SET pagetext = REPLACE(pagetext, 'http://www.mysite.com', 'https://www.mysite.com'); What query would I run to search and replace the entire database? I will, of course, make a backup before running it and check to see the links have been successfully converted. |
#20
|
||||
|
||||
thanks alot for that great informitions
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|