![]() |
I installed this but I am trying to get pages like:
https://www.iforumelite.com/content....e-contratacoes https://www.iforumelite.com/content.php Secure but this did not work. I did everything except add this: User-agent: * Disallow: /cache.php Also I suggest you add something like this to .htaccess: Code: <FilesMatch "cache\.php$"> Header set Cache-Control "max-age=86400, public" </FilesMatch> |
These images are served from your system as attachments. I don't use attachments, but I'm sure there's a way to sort this out. Look at attachment options, or also you can rebuild styles, but this mod shouldn't touch images on your domain, that is why you have problem in my opinion.
|
Quote:
Well, you replace original content of that file with this code. Whole content, not just part of it. Basically, you quoted how new cache.php looks like. Also, everything else needs to stay same, i.e. you need to create plugin which calls cache.php. It works for me, except for some images (few here and there, maybe slower sites that react slowly). |
This mod do images from https hosts and for some reason have problem with images taken from Facebook.
Is there a solution for this, either that all images work, or that mod just starts ignoring images from https hosts. I guess that plugin code should be different, to check not only if images is from different host, but that image comes only from http hosts. This also would speed this mod greatly. Is there someone who knows how to check if image is from host already with https? |
Quote:
Change Code:
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> Code:
src="//pagead2.googlesyndication.com/pagead/show_ads.js"> |
This is my version of this plugin
PHP Code:
if image http .. check for https version .. if the https version is OK => OK if the https version not working .. use the script |
Great work bridge2heyday, do you maybe have better code for cache.php? I noticed that it slows down loading of pages and also that some images don't work with it, but work when I disable plugin (i.e. disable cache.php).
It would be great if there's faster and 100% compatible version of this mod. That all images on http that work (some don't work) can be transferred to https. |
Quote:
There may be alternative solution - I did for an other client - to add white-list for known image hosting websites which turned using SSL .. if the image is hosted on one of those sites .. the link will be changed to https .. if not , it will be displayed as plain text image URL |
I checked, cache.php doesn't actually cache images in cache directory, it probably just create image there temporarily and delete it after it is sent to browser. At least I didn't found images in cache folder.
Anyway, it would be great if cache.php can work with all images, as some images don't work, not sure why. With your plugin modification and cache.php that work with all images (and hopefully faster), this would be great for making site completely https compatible. |
Hello
This modification works for vb5? Signatures of our forum not is on https BR |
Thank you. I was having difficulty with the "mixed content" warning for one of my forums which exists as a subdomain.
I tried a competitive add-on which sadly did not work for me. Your instructions for installing this add-on are a little ambiguous
but I am very happy to report that this completely resolved the mixed content issue for me. :up: |
Hi,
I installed this and it looked like it was working fine...but I forgot that our forums are served out of three load balanced servers...so each had its own cache. I moved the location of cache-img to a shared device to solve this. What can I do to make the previously cached images show up properly? (There already so many cached files on each server that the mv * command gets an error.) |
What do you mean by "What can I do to make the previously cached images show up properly?"?
Did you move all the images to the cache folder on the new server but it's not working? Are you sure the chown (group) and chmod permissions are properly setup? |
I am in the process of moving them now. When I could not get a simple mv * /shared_folder to work I was hoping things would be re-cached. But I am using tar to do the transfer now. Hopefully that will work.
|
Ok, everything has been moved...but this isn't showing up. It seems to be an aberration though as others are showing up fine.
https://forumserver.twoplustwo.com/s...&postcount=392 |
Does the file https%3A%2F%2Fimgur.com%2FMkp4JII.gif exist in the cache folder?
If it does exist, it might be a permission problem of the file or cache folder. |
Great mod and fixes the mixed content issue, thanks - unfortunately we run a pretty large forum and the saved images are adding about 300mb a day to our server... anyone know of an option that doesn't require the use of so much server space? That's going to be an extra GB every four days, so it's fine for a temporary solution but not in the long term.
edit: If anyone else has this issue, and wants an alternate solution I ended up adding a replacement variable in each skin which found instances of http: and changed them to https: , after giving the members warning that they would only be able to use image hosts that supported https from now on. |
Brilliant mod! Goodbye mixed content issues.
|
Thanks man! You ever come to Negril, look me up! The first rounds are on me!
|
I've installed this but it has not resolved my mixed content flags at https://www.bgobsession.com
Yes - I've done the following: 1) All files uploaded to root directory 2) CHmodded the cache-img folder to 777 3) Created plug-in and added my website address to the [] field 4) Edited my robots.txt file and the .htaccess file as described I've done a cache clear on vbulletin admincp, cleared my Sucuri firewall cache, and browser cache but still getting mixed content flagged. Any ideas or suggestions would be greatly appreciated. |
Start by trying to determine what is causing the mixed content flags: It may be scripts or advertising (including AdSense) as well as images. Test your site here:
Why No Padlock? - Why is my SSL web page insecure? Find the culprit! SSL-check: crawl your HTTPS website and find unsecure content Website Scanner Address any errors you see there. Sometimes, just replacing http:// with simply // will do the trick in scripts and plugins. Also, even if it's only images, you won't see an immediate result. You'll need to allow some time to scan all your images - and that may take a while if you have a lot of them. Are you seeing any entries in the cache-img folder? |
I'll take a look at those resources.
No - I'm not seeing anything in the cache-img folder except for the .htaccess file so far... |
That's because you still have a lot of resources that are served over HTTP, things that this plugin doesn't take care of.
Example: Mixed Content: The page at 'https://www.bgobsession.com/content.php/1079-Blognostications-Week-7-Redskins-at-Eagles-Edition' was loaded over HTTPS, but requested an insecure image 'http://bgobsession.com/images/smilies/smile.png'. This content should also be served over HTTPS. Mixed Content: The page at 'https://www.bgobsession.com/forum.php?home=1' was loaded over HTTPS, but requested an insecure image 'http://bgobsession.com/images/icons/icon1.png'. In the AdminCP under Styles & Templates, create a replacement rule of: http://www.bgobsession.com to https://www.bgobsession.com |
1 Attachment(s)
So - ran my site's homepage on the first tool. Here's what I get... So why would I still be getting the mixed content warning?
|
The replacement variable addition fixed a lot of it - thanks so much dj (should've thought of that myself!).
Have a few image links that are still showing up insecure on my forums page. Total number of items: 133 Number of insecure items: 2 Insecure URL: http://bgobsession.com/images/icons/icon1.png Found in: https://www.bgobsession.com/forum.php?home=1 Insecure URL: http://bgobsession.com/images/icons/icon4.png Found in: https://www.bgobsession.com/forum.php?home=1 Not to be dense, but where do I change the image urls for forum page icons? |
|
That did it - thanks so much!
|
I am having issues with the fulls size image going 404 while the thumbnail works fine.
An example may be viewed at https://www.websleuths.com/forums/sh...mage-not-found -or- https://www.websleuths.com/forums/at...0&d=1516479468 Of course the thumbnail calls the image as an attachment, the 404'd full size image is called from Code:
https://www.websleuths.com/forums/cache.php?img=https%3A%2F%2Fwww.websleuths.com%2Fforums%2Fattachment.php%3Fattachmentid%3D129050%26amp%3Bstc%3D1 Code:
$link_parsed = parse_url($link); Any ideas? |
[www.websleuths.com] should be changed to www.websleuths.com in the hook PHP code.
|
Thank you.
|
Thanks, I've added it to my new article which helps to prevent mixed content issues.
https://vborg.vbsupport.ru/showthread.php?t=326118 |
I've been using bridge2heyday's plugin with this mod. It seems to work great for most things. But I've been noticing a significant slow down on older threads where the images are now longer available, on either http or https. So particularly image heavy threads can take upwards of ten minutes to load.
I've been identifying image sites that can be autoupdated from http to https (eg imgur and imageshack), which has alleviated some of the issue, but is there a more robust solution? |
nice mod
|
Quote:
|
anyone try this on vB3 ?
I'm using vb3.8.7 Patch Level 2 |
Quote:
|
All times are GMT. The time now is 06:47 AM. |
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:
|