Opera 12 (release) breaks Nao's Footnotes Mod in SMF

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138
Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« on June 17th, 2012, 09:56 AM »
Everything was fine until I replaced the latest Opera 12 beta with the release version and now footnotes are not being displayed correctly. I should add that this affects SMF and not Wedge where footnotes continue to be displayed as they should.

Specifically:
  • The numeric link to a footnote is not superscripted
  • No horizontal rule immediately above the footnote 
  • The footnotes themselves are not in "smaller" text and the table cells seem to have "middle" vertical alignment
It is as if Opera is ignoring all the footnote CSS and the reason I think that they continue to work in Wedge may be because Wedge is serving browser-specific CSS. I have compared the HTML for both SMF and Wedge pages where footnotes are used and there's no discernable difference in the CSS statements.

Is there anything I can do to fix this?

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #1, on June 17th, 2012, 10:06 AM »
I didn't notice your issues but I did notice something else -- the font color ignores any settings. Seems like it's not an Opera bug because it happens in Firefox as well (but not in Safari), I suspect it's due to the new html5 parser. I didn't have time to look into it yesterday. Did you try validating a page with nb tags?[1]
Posted: June 17th, 2012, 10:05 AM

Worka in Safari Mobile too.
 1. Test.

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138

Nao

  • Dadman with a boy
  • Posts: 16,082

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #4, on June 17th, 2012, 07:35 PM »
Well I've found the cause of my issue - and I'm pretty sure it isn't something that you can fix, Nao. It's Opera's "turbo mode"! If it's disabled, then SMF footnotes work just fine but if enabled, they don't.[1]
 1.  Though quite why Wedge's footnotes are not affected at all by turbo mode escapes me ....
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #5, on June 17th, 2012, 07:41 PM »
I don't know if this is related but before v12 was released, Opera was using proxy servers in China and the US to serve the compressed pages under "turbo mode". Now that v12 is out, Opera is using its own server at opera.net so maybe some bugs there.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #6, on June 17th, 2012, 11:10 PM »
Ah. Well. I don't know a thing about turbo mode...
Still works in opera mini though. And it's 100% turbo iirc.
Posted: June 17th, 2012, 08:50 PM

Can you post a link to a page where it fails?
Posted: June 17th, 2012, 08:54 PM

Hmm... Any chance the CSS for Footnotes is simply *not* loading...?

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #7, on June 18th, 2012, 07:47 AM »
Quote from Nao on June 17th, 2012, 11:10 PM
Ah. Well. I don't know a thing about turbo mode...
Still works in opera mini though. And it's 100% turbo iirc.
Nao, there's no problem with the formatting of footnotes on Wedge.org but there is on an SMF-powered forum.
Quote
Posted: June 17th, 2012, 08:50 PM

Can you post a link to a page where it fails?
Yes, this page where the first footnote's link is on the first line.
Quote
Posted: June 17th, 2012, 08:54 PM

Hmm... Any chance the CSS for Footnotes is simply *not* loading...?
Umm .... that makes no sense at all. Why would turbo mode affect the loading of CSS? My site doesn't know about Opera's turbo mode and serves the same files to all. It is as if the CSS is being partly stripped-out.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #8, on June 18th, 2012, 08:29 AM »
Quote from markham on June 18th, 2012, 07:47 AM
Yes, this page where the first footnote's link is on the first line.
"Please log-in or disable Opera's "Turbo" mode to continue."
Uh...
If I disable it, the page works fine. (Except for the annoying popup that prevents me from clearly seeing which footnotes are linked to what...)
Quote from markham on June 18th, 2012, 07:47 AM
Umm .... that makes no sense at all. Why would turbo mode affect the loading of CSS? My site doesn't know about Opera's turbo mode and serves the same files to all. It is as if the CSS is being partly stripped-out.
I just don't know. But that doesn't make sense otherwise...

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #9, on June 18th, 2012, 08:42 AM »
Quote from Nao on June 18th, 2012, 08:29 AM
Quote from markham on June 18th, 2012, 07:47 AM
Yes, this page where the first footnote's link is on the first line.
"Please log-in or disable Opera's "Turbo" mode to continue."
Uh...
If I disable it, the page works fine. (Except for the annoying popup that prevents me from clearly seeing which footnotes are linked to what...)
Ummm.... yes!  :whistle:For security reasons, we don't allow visitors to view the sites (or register) via a proxy. I'm PM'ing you your login details (no authentication required) but you will need to accept our Cookies first, sorry about that[1]
Quote
Quote from markham on June 18th, 2012, 07:47 AM
Umm .... that makes no sense at all. Why would turbo mode affect the loading of CSS? My site doesn't know about Opera's turbo mode and serves the same files to all. It is as if the CSS is being partly stripped-out.
I just don't know. But that doesn't make sense otherwise...
 1. However, once you have completed your tests, and if you want our cookies to be removed, simply go to the Portal page ("Home") and scroll-down until you see "Cookie and you" where you'll find a link that does exactly that.
It's as if part of the CSS - in this case index.css - is being stripped-out and not transmitted by Opera's turbo mode proxy server.

There's a problem with the placement of footnotes on Wedge, however ...

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #10, on June 18th, 2012, 09:34 AM »
Yes that's exactly what I said... The CSS for footnotes is not being loaded.

Your file is 65+KB in normal mode, and 64 967 bytes when Turbo is enabled. There's probably something that prevents Opera from loading more than 64KB worth of data (including headers I guess) in Turbo mode. You'll have to contact them... Or try to set up Turbo to work correctly on large files.
Or just move your useless CSS to the end of the CSS file.

BTW your site's fixed toolbars --- brrr... Do you really like THAT? And your website link here is 404 (has an extra s at the end)... And I think the cookie message should be removed (eh), or at the very least, shown using something else than the dreaded SMF loading message styling... And I think your homepage has too many blocks and silly animations... Then again, portal-like sites were my love a dozen years ago. Even the homepage on wedge.org is too heavy-loaded for me now... And you didn't come for design advices.

markham

  • Finally finished the Slideshow... phew!
  • Posts: 138
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #11, on June 18th, 2012, 10:25 AM »
Quote from Nao on June 18th, 2012, 09:34 AM
Yes that's exactly what I said... The CSS for footnotes is not being loaded.

Your file is 65+KB in normal mode, and 64 967 bytes when Turbo is enabled. There's probably something that prevents Opera from loading more than 64KB worth of data (including headers I guess) in Turbo mode. You'll have to contact them... Or try to set up Turbo to work correctly on large files.
Or just move your useless CSS to the end of the CSS file.
Thank you, Nao!! I moved the footnotes CSS to the beginning of the file and now footnotes are displaying correctly in Turbo mode, so size matters! I've also minified the css file and it's now just 46,244 so there shouldn't be any problems.

I did look for settings for Turbo mode but there aren't any other than "on", "off" and "automatic".
Quote
BTW your site's fixed toolbars --- brrr... Do you really like THAT? And your website link here is 404 (has an extra s at the end)... And I think the cookie message should be removed (eh), or at the very least, shown using something else than the dreaded SMF loading message styling... And I think your homepage has too many blocks and silly animations... Then again, portal-like sites were my love a dozen years ago. Even the homepage on wedge.org is too heavy-loaded for me now... And you didn't come for design advices.
The fixed menu bar was requested by several members and it does aid navigation but I agree, it's a matter of personal preference.

My posted link gave you a 404? Umm, I've just clicked on the links - both my original and where you quoted it - and they work just fine. Not sure what's happening there.

In many respects I agree with your critique of our portal, it is a bit "busy" but it is what the site owner wants. I thought the slow scrolling display of (Aeva) gallery items is a little less boring than simply a stic display of 3 or 4 pictures. I'd prefer them being a bit bigger and without the thunbnail border but that would require resizing each picture's preview and add considerably to the load time. At least there aren't any awful flash animations!

The Cookie Acceptance panel.... yes, well.... I do agree with you and one day I might actually know enough CSS (and/or Java) to make it a bit more presentable. On the other hand, its gaudiness does draw your attention and makes you want to click on "I accept" just to get rid of it!!

Thanks for your assistance, I really appreciate it - and welcomed your constructive criticisms too!

MultiformeIngegno

  • Posts: 1,337

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #13, on June 18th, 2012, 03:59 PM »
@Lorenzo> I don't really care whether FB buys Opera or Opera buys FB or Opera stays alone or whatever... What matters to me is the quality of the software.
Quote from markham on June 18th, 2012, 10:25 AM
My posted link gave you a 404?
No, your forum link in your profile...
Quote
In many respects I agree with your critique of our portal, it is a bit "busy" but it is what the site owner wants. I thought the slow scrolling display of (Aeva) gallery items is a little less boring than simply a stic display of 3 or 4 pictures.
It displays 20 pics as the header says, and since it's so slow to scroll, no one will ever wait to see the 20th, thus making it a waste of your server resources to both generate the thumbnail and send it to the browser...
Quote
Thanks for your assistance, I really appreciate it - and welcomed your constructive criticisms too!
No problem :)

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
« Reply #14, on June 18th, 2012, 04:00 PM »
Quote
@Lorenzo> I don't really care whether FB buys Opera or Opera buys FB or Opera stays alone or whatever... What matters to me is the quality of the software.
I care, because I do not want to remain with FastMail if FB takes it over ;)
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial