Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved force Imgur url's to use https ?
#1
Not Solved
If a user inserts an imgur hosted image into a post using http://imgur.com is there anyway to have mybb force or rewrite the url to use https://imgur.com instead?
Reply
#2
Not Solved
(06-15-2017, 11:31 PM)mrdon515 Wrote: If a user inserts an imgur hosted image into a post using http://imgur.com is there anyway to have mybb force or rewrite the url to use https://imgur.com instead?

Not really. You can try this plugin 

https://community.mybb.com/mods.php?action=view&pid=450

to help preserve your pages with secure content.
What goes around comes around
Reply
#3
Not Solved
Thanks. I do already have that plugin and it works great. However it make non-secure images/videos a link instead of showing the actual image. I know it has a feature to proxify the images, but I'd rather not have to do that.
Reply
#4
Not Solved
This user has been denied support. This user has been denied support.
It is not possible to change all http links to https without a plugin, this would disrupt linking to sites that aren't using SSL. Assuming your site is forced https, then I recommend implementing proxify if you can't afford for some users images to be displayed is links.
[Image: 87ee2bb91058f535f4c1fcba43b7bd7c.jpg]
Reply
#5
Not Solved
Yes it's possible.

https://gist.github.com/Cameron-D/a685a83196650991875c should still work. I remember using it about a year ago.

You may have to do a few edits if something doesn't work right. I had used it and added a bunch of hosts so if I happen to find the plugin in storage anywhere I'll give it to you.

If you decide to use a proxy and just want to go with something that works and is free I'd recommend using weserv.nl
See: https://community.mybb.com/thread-206338...pid1254693
Reply
#6
Not Solved
Thank you for this^
Reply
#7
Not Solved
A word filter works.

Word:
http://i.imgur.com

Replacement:
https://i.imgur.com

All existing and new Imgur Url's will change to https.
Reply
#8
Not Solved
This user has been denied support. This user has been denied support.
(06-17-2017, 01:04 PM)sarisisop Wrote: A word filter works.

Word:
http://i.imgur.com

Replacement:
https://i.imgur.com

All existing and new Imgur Url's will change to https.

That would also change https to httpss.
[Image: 87ee2bb91058f535f4c1fcba43b7bd7c.jpg]
Reply
#9
Not Solved
Quote:That would also change https to httpss.

No it shouldn't. If you're encountering that issue something may be wrong with your installation.
Reply
#10
Not Solved
(06-18-2017, 02:41 AM)Wage Wrote:
Quote:That would also change https to httpss.

No it shouldn't. If you're encountering that issue something may be wrong with your installation.


I can assure it works, I'm using it on 3 forums with no problems.

I also have another word filter to convert all http images to https.

Word:
http

Replacement:
https

If an image doesn't have https it will convert it, if however the image server doesn't have ssl (for example tinypic) the image won't show and you will not get flagged up for having insecure images.  

Why not try it and see, you can always remove it if your not happy.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)