# Chemical Forums

## General Forums => Comments for Staff and Comments from Staff => Topic started by: Mitch on March 14, 2019, 08:56:06 AM

Post by: Mitch on March 14, 2019, 08:56:06 AM
Hi everyone, the site will be upgraded during the next few days to SMF 2.0.15. Also, we will switch the site to use SSL certificates and https during this time. If you see any bugs or any issues creep in please report it here.
Title: Re: Upgrading Forum to 2.0.15
Post by: wildfyr on March 14, 2019, 09:20:00 AM
Wohoo 2012 here we come ;)
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 14, 2019, 10:17:23 AM
Wohoo 2012 here we come ;)
Haha, so true.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 14, 2019, 10:59:14 AM
I am a bit concerned about https. There will be definitely problems with hotlinked images, they will generate tons of warnings, as they will not use the same certificate and they are not always hosted on servers with https. At other forums I know it ended with hosting a copy of every image on the forum server (costly in terms of space and traffic).

The upgrade itself won't be visible, latest changes (since at least 2.0.12 where I stopped installing them) were mostly related to security of some obscure functions that are not enabled at CF.
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 14, 2019, 02:37:35 PM
Do you think we should disable hotlinking images? We could disable the {img} tag, I think we can disable it.
Title: Re: Upgrading Forum to 2.0.15
Post by: sjb on March 14, 2019, 02:47:28 PM
It's difficult - some things probably need images more than others - descriptions of set-ups for instance, and maybe to some degree equations and formulae. But we also need to discourage screendumps of questions, especially those that are lo-res and / or orientated awkwardly.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 14, 2019, 03:51:13 PM
It's difficult - some things probably need images more than others

As long as we can attach images to posts that's not as wrong as it may look. My policy was always to ask people to attach images, to not risk they will get lost.

I am more worried about old threads, but I will need to do some tests. Disabling img tags is always an option.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 14, 2019, 04:59:06 PM
OK, looks like the external images are dealt with correctly, so probably there is no problem: https://www.chemicalforums.com/index.php?topic=52031.0
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 14, 2019, 05:08:42 PM
They go through CF proxy, so they eat bandwidth:

Code: [Select]
<img src="https://www.chemicalforums.com/proxy.php?request=http%3A%2F%2Fwww.titrations.info%2Fimg%2Fmethyl-orange.jpg&amp;hash=ee4984e34fdfb430a20ea9e41eb1ed2c" alt="" class="bbc_img">
Title: Re: Upgrading Forum to 2.0.15
Post by: billnotgatez on March 14, 2019, 09:01:51 PM
I wanted to point out something that is trivial bur a change.
When I logged on the log on page was very different.
But, once in the rest looks the same as always.
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 14, 2019, 09:07:34 PM
@bill, you probably caught me in between tweaking templates
Title: Re: Upgrading Forum to 2.0.15
Post by: billnotgatez on March 14, 2019, 09:23:34 PM
I signed off and then back on.
Thanks
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 14, 2019, 11:08:01 PM
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 15, 2019, 04:13:40 AM

Edit: OK, I see it is a matter of changed approach to the SQL calls.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 15, 2019, 04:37:15 AM
For now just switched it off. Turns out LaTeX stopped working as well.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 15, 2019, 04:40:28 AM
LaTeX is back, it was just a trivial typo in the header.

Edit: no, sometimes it works, sometimes it doesn't.

Edit 2: it works, but very slowly.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 15, 2019, 06:14:36 PM
Smiles are back.
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 15, 2019, 06:27:12 PM
Smiles are back.
Woot!
Title: Re: Upgrading Forum to 2.0.15
Post by: billnotgatez on March 16, 2019, 01:27:05 PM
Smiles are back.
Excellent
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 16, 2019, 03:16:37 PM
Is it just me, or is the MatJax so slow for everyone? How long does it take before you can see it rendered?

$$\frac 1 {2I} \left(\frac\hbar i\right)^2 \left[\frac 1 {\sin\theta} \frac \delta {\delta \theta} (\sin \theta \frac \delta {\delta\theta})+\frac 1 {\sin^2\theta} \frac {\delta^2}{\delta \phi ^2}\right]\Psi=E\Psi$$

I have to wait about 15 seconds (or even longer, depending on the browser). No idea why, as far as I can tell there is no traffic after the page is loaded, so it is not like MathJax downloads anything it needs to work. I am almost sure it wasn't this way before switch to https.
Title: Re: Upgrading Forum to 2.0.15
Post by: wildfyr on March 16, 2019, 06:41:37 PM
I'm on chrome on a phone and it took about a second, slow enough to see, but quick enough not to be a bother.
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 16, 2019, 08:56:08 PM
I'm on chrome on my phone and it took less than 10 seconds. Annoying, but not too bad.
Title: Re: Upgrading Forum to 2.0.15
Post by: Borek on March 17, 2019, 09:59:12 AM
Moved the config file right into the page source, so that MathJax doesn't have to read additional file - now it works instantly :)
Title: Re: Upgrading Forum to 2.0.15
Post by: Mitch on March 17, 2019, 12:02:26 PM