Technical Issues

Forum-related topics
User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Tue Feb 23, 2021 6:26 pm

Utisz wrote:
Tue Feb 23, 2021 6:23 pm
Madrigal wrote:
Tue Feb 23, 2021 2:14 pm
Also, any chance we can completely change the types of smilies we have in here?
Yeah sure! Have a look here, whatever y'all like:

https://www.phpbb.com/customise/db/styles/smilies-13

One restriction is that they should look okay in the dark mode, no jaggies.
(We could also add custom smilies if y'all want to propose some. They don't need to come from there.)

User avatar
Madrigal
Posts: 619
Joined: Fri Nov 22, 2019 8:59 am

Re: Technical Issues

Post by Madrigal » Tue Feb 23, 2021 7:50 pm

Utisz wrote:
Tue Feb 23, 2021 6:26 pm
(We could also add custom smilies if y'all want to propose some. They don't need to come from there.)
That's what I meant. xD

User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Mon Mar 15, 2021 3:47 pm

Limey wrote:
Mon Mar 15, 2021 1:02 pm
edit: I can't seem to hotlink to my hosting here, so here's the direct, supposedly broken link from above:

http://writtenpolicy.com/d-restore.jpg
Roger that! Will look at this in more detail, hopefully tonight.

Off the top of my head, I'm not sure what could explain that. I've hotlinked without issue to images on various sites, so it only affects particular sites.
It's not possible that your hosting blocks hotlinking through some arcane web server dark magick based on the HTTP REFERER?

User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Mon Mar 15, 2021 10:25 pm

Limey wrote:
Mon Mar 15, 2021 1:02 pm
edit: I can't seem to hotlink to my hosting here, so here's the direct, supposedly broken link from above:

http://writtenpolicy.com/d-restore.jpg
Okay, after messing around with HTTP headers for a while, that's not the issue. :)

The problem is an ERR_SSL_PROTOCOL_ERROR

Essentially the browser will now allow for loading images from HTTP on an HTTPS site, which I guess is a feature rather than a bug.

The workarounds are not so straightforward it seems. One quick workaround is to try https instead of http in the URL, but if that doesn't work (if the site with the image does not have https), another possibility is to use a proxy, like instead of

Code: Select all

[img]http://writtenpolicy.com/d-restore.jpg[/img]
You can use:

Code: Select all

[img]https://images.weserv.nl/?url=http://writtenpolicy.com/d-restore.jpg[/img]
So the image goes through the image proxy via HTTPS.


Another idea would be to have a proxy working here on this site, detect HTTP errors maybe and somehow invoke it where necessary, but seems a bit tricky (I could create a bbcode tag like "pimg" that adds the proxy automatically, maybe, if not working). For now at least a possible workaround is to stick:

Code: Select all

https://images.weserv.nl/?url=
before the image URL.

User avatar
Limey
Posts: 104
Joined: Thu Feb 18, 2021 9:45 pm
Location: Scotland

Re: Technical Issues

Post by Limey » Wed Mar 17, 2021 10:28 am

Utisz wrote:
Mon Mar 15, 2021 10:25 pm

Okay, after messing around with HTTP headers for a while, that's not the issue. :)

The problem is an ERR_SSL_PROTOCOL_ERROR

Essentially the browser will now allow for loading images from HTTP on an HTTPS site, which I guess is a feature rather than a bug.
oh man. I didn't even notice you were running SSL here. That's good I guess, better than the insecure way vbulletin would show everything to the proxy including the thread name in the URL

I don't think I'm going to buy a certificate just to hotlink pictures. I might have a free one for a year. I've had the hosting for almost twenty years now and pretty sure they gave me a free one at some point.

Is that dutch SSL proxy trustworthy? - they're gonna be peeping all my pixels.

User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Wed Mar 17, 2021 4:03 pm

Limey wrote:
Wed Mar 17, 2021 10:28 am
Is that dutch SSL proxy trustworthy? - they're gonna be peeping all my pixels.
They might be peeping the pixels, yep. :/

Might be a quick solution though for pixels you don't mind being peeped.

User avatar
JohnClay
Posts: 313
Joined: Mon Mar 01, 2021 7:55 am
Location: Australia
Contact:

Re: Technical Issues

Post by JohnClay » Mon Mar 22, 2021 10:00 am

With certain window widths the content is problematic....

Image

also I was having issues attaching the image as an attachment....

User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Mon Mar 22, 2021 3:48 pm

JohnClay wrote:
Mon Mar 22, 2021 10:00 am
With certain window widths the content is problematic....
I don't have the same issue. It works as well as one could expect in my browser (Chrome). :heh:

If you don't mind sharing, which browser are you using and which version?

Anyone have the same issue (or does it work okay)?

I think this might be difficult to resolve, but if you share what browser you are using, I can try to have a look. (There might also be a way to "force" the mobile version, as a workaround.)


Scratch that, I have the same issue inside a particular forum (the index page works okay). I will have a look, but it might be difficult to solve.

A workaround for the moment is to make it even narrower so that it switches to the mobile view.
also I was having issues attaching the image as an attachment....
I haven't tested the image attachment feature at all I think. :)

I will have a look!

User avatar
ashi
Posts: 165
Joined: Sat Mar 13, 2021 6:59 pm

Re: Technical Issues

Post by ashi » Mon Mar 22, 2021 4:17 pm

Utisz wrote:
Mon Mar 22, 2021 3:48 pm
JohnClay wrote:
Mon Mar 22, 2021 10:00 am
With certain window widths the content is problematic....
Anyone have the same issue (or does it work okay)?
I browse in Firefox on a 10" display with two windows occupying 50% of the screen, so I typically encounter every version of this issue ... but I don't here. 🤷🏻‍♀️


Utisz wrote:
JohnClay wrote:
also I was having issues attaching the image as an attachment....
I haven't tested the image attachment feature at all I think. :)
I have never been able to attach images. It usually says they are too large, even when I butcher it to around 200kb, or it uploads and displays a generic error icon beside the upload and is unusable.

User avatar
Utisz
Posts: 676
Joined: Fri Nov 22, 2019 4:35 am

Re: Technical Issues

Post by Utisz » Fri Mar 26, 2021 11:03 pm

JohnClay wrote:
Mon Mar 22, 2021 10:00 am
With certain window widths the content is problematic....
Yeah, the forum widths between 700px and around 830px were problematic like you say!

I fixed this by swapping to the mobile friendly version at 830 px.

Have a look and see. Be sure to clear your browser cache if it's not working, but you will see that it will switch to the mobile view earlier.
also I was having issues attaching the image as an attachment....
ashi wrote:
Mon Mar 22, 2021 4:17 pm
I have never been able to attach images. It usually says they are too large, even when I butcher it to around 200kb, or it uploads and displays a generic error icon beside the upload and is unusable.
I've fixed the issue and changed the upper limit to 1MB. Should be working better now. Pardon the dust.

Using this post to test.
apel2c.jpg
apel2c.jpg (67.35 KiB) Viewed 10263 times

Post Reply