Wedge

Public area => Off-topic => The Pub => Other software => Topic started by: markham on June 17th, 2012, 09:56 AM

Title: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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:
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?
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao 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.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham on June 17th, 2012, 10:41 AM
Yes I did validate the (SMF) page with several footnotes and no errors specific to those were found.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao on June 17th, 2012, 12:21 PM
Yeah... Odd. Plus, it's working in Opera 12 now. At least for the one above...?!
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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 ....
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: 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.
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...?
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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(http://liveinthephilippinesforum.com/forum/index.php?page=cookies) 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.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao on June 18th, 2012, 08:29 AM
Quote from markham on June 18th, 2012, 07:47 AM
Yes, this page(http://liveinthephilippinesforum.com/forum/index.php?page=cookies) 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...
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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(http://liveinthephilippinesforum.com/forum/index.php?page=cookies) 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 ...
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: 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.

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.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham 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!
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: MultiformeIngegno on June 18th, 2012, 11:12 AM
Little OT: how will be happy Nao if rumours of Facebook acquiring Opera are confirmed? :whistle: :lol:
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao 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 :)
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Arantor 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 ;)
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao on June 18th, 2012, 04:04 PM
Even if they leave it alone...? (Privacy policy and all.)
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Arantor on June 18th, 2012, 04:06 PM
Sorry, did you seriously mean that Facebook would honour a privacy policy?

FACEBOOK? PRIVACY? :lol:
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao on June 18th, 2012, 05:44 PM
The question is, how would can they survive after it's made clear that they're reading people's e-mails or private messages over a fb.com...?

The fact that they own the server that stores my data doesn't bother me. Other than that...
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Arantor on June 18th, 2012, 05:57 PM
That fact doesn't seem to stop GMail...
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Nao on June 18th, 2012, 06:50 PM
Google doesn't read gmail e-mails apart from computing/analyzing contents to provide targeted advertisements... (Can live with that -- a single line of text...)
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham on June 18th, 2012, 06:56 PM
Quote from Nao on June 18th, 2012, 03:59 PM
Quote from markham on June 18th, 2012, 10:25 AM
My posted link gave you a 404?
No, your forum link in your profile...
Oh ... ooops!  :blush: I have rectified that small matter  :).
Quote
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...
Well it started out as a static display of 6 thumbnails in a full width block but the owner didn't like it and asked me to come up with a different idea. Yes the scroll speed is possibly a little slow even though I spent quite some time adjusting it for the best look. Any faster and blurring can occur. I also had to take into account that not all browsers can scroll the block horizontally - webkit ones can't for some reason - so I had to make changes to allow for vertical scroll which is how Chrome et al display that block.

Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: Arantor on June 18th, 2012, 07:30 PM
Quote from Nao on June 18th, 2012, 06:50 PM
Google doesn't read gmail e-mails apart from computing/analyzing contents to provide targeted advertisements... (Can live with that -- a single line of text...)
That's what they tell you. Given their other activities, eg all the wi-fi slurping that went on with Street View, I'm not sure I believe a word of it.

@markham: I have never observed any issues with Webkit being unable to scroll horizontally in any fashion you throw at it.
Title: Re: Opera 12 (release) breaks Nao's Footnotes Mod in SMF
Post by: markham on June 18th, 2012, 08:46 PM
Quote from Arantor on June 18th, 2012, 07:30 PM
Quote from Nao on June 18th, 2012, 06:50 PM
Google doesn't read gmail e-mails apart from computing/analyzing contents to provide targeted advertisements... (Can live with that -- a single line of text...)
That's what they tell you. Given their other activities, eg all the wi-fi slurping that went on with Street View, I'm not sure I believe a word of it.
I've read that both the British and Irish governments are to reopen their respective inquiries into what exactly Google's cars did eavesdrop on and what happened to all that data that they weren't supposed to be collecting.
Quote
@markham: I have never observed any issues with Webkit being unable to scroll horizontally in any fashion you throw at it.
Oh it does scroll horizontally but the problem I found was that the items were not constrained within the display area. But it works and the owner is happy, so I'm not going to spend any more time trying to fix it[1]
 1. Given that hopefully we'll be migrating to Wedge