avatar_overscan

Forum Software Upgrade completed - 20th August

Started by overscan, March 28, 2022, 01:04:04 AM

Previous topic - Next topic

Hobbes

Worse. The URL looks fine in the editor, but when I inspect the HTML, the URL without spaces is shown. I'd have to rename the file on my hosting site. I can do that if need be, but let's see what Paul thinks first.

overscan

This is a very simple workaround.

Spaces are NOT allowed in URLs. Any spaces in a URL must be replaced by

%20
I edited the post in question replacing the spaces and it works just fine. I would suggest avoiding spaces in file names for uploading to use in the forum.

Now, the "Insert image" function  and [img] tag SHOULD know this and automatically do the replacement for you.  I can log this as a bug with the SMF team.

Paul Martell-Mead / Overscan
"What if?" addict

Gondor

Quote from: overscan on October 06, 2022, 01:11:59 PMThis is a very simple workaround.

Spaces are NOT allowed in URLs. Any spaces in a URL must be replaced by

%20
I edited the post in question replacing the spaces and it works just fine. I would suggest avoiding spaces in file names for uploading to use in the forum.

Now, the "Insert image" function  and [img] tag SHOULD know this and automatically do the replacement for you.  I can log this as a bug with the SMF team.



That sounds like the thing to do.  :thumbsup:

Gondor
My Ability to Imagine is only exceeded by my Imagined Abilities

Gondor's Modelling Rule Number Three: Everything will fit perfectly untill you apply glue...

I know it's in a book I have around here somewhere....

overscan

Apparently they know about it already. We'll see if anything happens.
Paul Martell-Mead / Overscan
"What if?" addict

Hobbes

thanks Paul. Have you seen the second issue?
The original filename contains capital letters. The forum software converts these to lowercase.

Gondor

I would like to say that having posted a link to another web page recently, the insert features for both images and URL's are a big improvement on what we had to do previously, however it takes all the fun out of editing the information.
I do miss programming in Spectrum basic  :-\

Gondor
My Ability to Imagine is only exceeded by my Imagined Abilities

Gondor's Modelling Rule Number Three: Everything will fit perfectly untill you apply glue...

I know it's in a book I have around here somewhere....

overscan

Quote from: Hobbes on October 10, 2022, 01:53:33 AMthanks Paul. Have you seen the second issue?
The original filename contains capital letters. The forum software converts these to lowercase.

Can't replicate this - it seems to be fine to me.

In the first post in the VC-10 Superb topic, the links in the page are:
https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg
https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg
https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg

The first one works, as the file "vc-10 superb 1.jpg" exists.

The second two don't work, as the files "VC-10 Superb 2.jpg" and "VC Superb 3.jpg" don't exist at this location.

Inspecting the page source I see

<a data-src="https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg" alt="" class="bbc_img" loading="lazy"></a>
<br>
<br>
<a data-src="https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg" alt="" class="bbc_img" loading="lazy"></a>
<br>
<br>
<a data-src="https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg" alt="" class="bbc_img" loading="lazy"></a>


In each case the link is in the same form it was in the post.
Paul Martell-Mead / Overscan
"What if?" addict

perttime

One  minor thing:
When people have quoted me (or maybe other things), there is an Alert at the top of the page. The alert doesn't exactly jump at me. Maybe a different colour would make it more visible?

overscan

Quote from: perttime on October 11, 2022, 02:38:14 AMOne  minor thing:
When people have quoted me (or maybe other things), there is an Alert at the top of the page. The alert doesn't exactly jump at me. Maybe a different colour would make it more visible?

Like this?

You cannot view this attachment.

I can try and do that.
Paul Martell-Mead / Overscan
"What if?" addict

perttime


Hobbes

Quote from: overscan on October 11, 2022, 01:55:31 AM
Quote from: Hobbes on October 10, 2022, 01:53:33 AMthanks Paul. Have you seen the second issue?
The original filename contains capital letters. The forum software converts these to lowercase.

Can't replicate this - it seems to be fine to me.

In the first post in the VC-10 Superb topic, the links in the page are:
https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg
https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg
https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg

The first one works, as the file "vc-10 superb 1.jpg" exists.

The second two don't work, as the files "VC-10 Superb 2.jpg" and "VC Superb 3.jpg" don't exist at this location.

Inspecting the page source I see

<a data-src="https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/vc-10%20superb%201.jpg" alt="" class="bbc_img" loading="lazy"></a>
<br>
<br>
<a data-src="https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/VC-10%20Superb%202.jpg" alt="" class="bbc_img" loading="lazy"></a>
<br>
<br>
<a data-src="https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg" data-fancybox="topic" data-caption=""><img src="https://www.acme-engineering.nl/model/VC-10%20Superb%203.jpg" alt="" class="bbc_img" loading="lazy"></a>


In each case the link is in the same form it was in the post.

I've been testing solutions in that post, so some information has been lost.

The original form of the URLs was this:

https://www.acme-engineering.nl/model/VC-10 Superb 2.JPG

which matches a file named VC-10 Superb 2.JPG on my hosting site (yes, with capitals and spaces). This worked on this forum until the upgrade.
After the server upgrade this didn't work any more, so I started to experiment. I've changed the URLs here, and changed some filenames on my hosting site.

First, see if changing everything to lowercase helps:
https://www.acme-engineering.nl/model/vc-10 superb 2.jpg
When I have a file with this name on my hosting site, pasting this URL into the browser's address bar works, but pasting it in a message here doesn't.

For this site, I have to insert percent-20 for the spaces in the file name :
https://www.acme-engineering.nl/model/vc-10%20superb%202.jpg

These two changes mean I have to modify dozens of filenames on my hosting site, and dozens of postings here and on other forums.

overscan

The developers have said that a fix will be added to the next update.
Paul Martell-Mead / Overscan
"What if?" addict

overscan

Regarding the alerts - you should now find the number of alerts highlighted in red.
Paul Martell-Mead / Overscan
"What if?" addict

NARSES2

Do not condemn the judgement of another because it differs from your own. You may both be wrong.

Nick

Logged. Why is this appearing under user names, what purpose does it serve, and does it have to be there?