forum theme changed, or is it just me?

Started by Dariusz Piatkowski, October 06, 2026, 03:23:43 AM

Previous topic - Next topic

Dave Yeo

Still no toolbar here.
Also have to turn off JavaScript to get the Attachments thingy.

Kim

#16
@Dave: Thanks for the reports and the screenshot, they helped pin this down.

SMF 2.1.7 ships with a few lines of JavaScript written in 2020-era syntax (the [tt]??[/tt] and [tt]?.[/tt] operators): one in script.js and two in quotedText.js. SeaMonkey 2.53 is built on an older Gecko engine that doesn't understand that syntax. SMF also bundles all its scripts into one combined file, so the browser didn't just skip those lines. It rejected the whole file, and none of the forum's JavaScript ran. That's why you got no editor toolbar, and also no attachment box: SMF hides the plain upload field and expects JavaScript to build the drag-and-drop one. With JavaScript turned off, SMF falls back to plain HTML, which is why the attachment field showed up then.

How I found it
  • The scripts reach your browser fine, so nothing on your end or mine was blocking them. (The toolbar problem others had earlier was a different cause, already fixed on the server side.)
  • The forum's logs show you visiting with SeaMonkey 2.53 and Dooble on OS/2. SeaMonkey's user-agent claims a recent Firefox, but the engine underneath is from the Firefox 60 era.
  • Ran every script the forum serves through a JavaScript parser set to what that engine supports. Only those two stock SMF files failed, and every combined script file failed because it includes script.js.

By patching the system: the three lines now use older, equivalent syntax, and script.js got a small fallback for [tt]String.replaceAll()[/tt]. The combined script files have been rebuilt from the patched versions, and they now parse cleanly at the level SeaMonkey 2.53 understands. Modern browsers behave exactly as before. Dooble should have worked all along, since its engine is newer.

Please reload a reply page in SeaMonkey with Ctrl+F5 so it doesn't use a cached copy. You should see the toolbar and the attachment box with JavaScript on. If something is still missing, the first red error in Tools → Web Development → Browser Console would tell me what's left.

@Martin: This is a compatibility issue in stock SMF 2.1.7, so an SMF update could bring it back, but I'll also reported it to Simple Machines team.

Martin Iturbide

Hello.
This is a test from Dooble.
The Bar looks goodl .  :(  :o  8)
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

Hello
This is test with Firefox 45.
I don't see the bar. but I can add attachments.
Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

@khadmin Did you modified the SMForum script to try to fix this? or just notified about the bug?
Because I still experience the "bug" on Firefox 45 for OS/2.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Guillaume Gay

Bonjour to all !

Forum theme has changed indeed. Not bad.

However, a missing feature that's been lost in the battle is the "forum topic reminder" we used to have in the title of every posts (between the date and the post #).
When you have multiple tabs opened, one per topic, you hardly see in which one you are unless scrolling to the top of the page or placing the mouse cursor on the tab and waiting for the topic name to show up... or you try to guess what it is about, you're lost and you simply close the tab because you loose the interest in catching up.

The "new" flag now shows up correctly in the "Latest Forum Posts" section of OS2Wold.com. It did not until today, I'd say.

Have a good one to all
--
Guillaume GAY

Kim

#21
Quote from: Martin Iturbide on October 08, 2026, 08:31:38 PM@khadmin Did you modified the SMForum script to try to fix this? or just notified about the bug?
Because I still experience the "bug" on Firefox 45 for OS/2.

I've patched the smf code and reported it as a bug; but the toolbar needs at Firefox 49 but I've added the same kind of code fallback now also for older FF see if it works now then with FF45.

Kim

Quote from: Guillaume Gay on October 08, 2026, 10:33:16 PMHowever, a missing feature that's been lost in the battle is the "forum topic reminder" we used to have in the title of every posts (between the date and the post #).
When you have multiple tabs opened, one per topic, you hardly see in which one you are unless scrolling to the top of the page or placing the mouse cursor on the tab and waiting for the topic name to show up... or you try to guess what it is about, you're lost and you simply close the tab because you loose the interest in catching up.

I believe what you're talking about is a SMF settings which seems to be disabled to default (OFF) in the upgrade, so enabled, so should work now.

Guillaume Gay

Hi !

Quote from: khadmin on October 09, 2026, 10:18:12 AMI believe what you're talking about is a SMF settings which seems to be disabled to default (OFF) in the upgrade, so enabled, so should work now.
Exactly! Thanks for enabling it, Kim.  :)

Have a nice day!
--
Guillaume GAY

Kim

#24
Quote from: Martin Iturbide on October 08, 2026, 08:24:05 PMThis is test with Firefox 45. I don't see the bar. but I can add attachments.

Hi Martin,

To answer your questions properly: I did both. I changed the forum's scripts here, and I reported the problem to Simple Machines.

Firefox 45 is a separate case from the first fix. That fix was for SeaMonkey 2.53 and Dooble, which couldn't read some newer JavaScript syntax at all. That stopped every script, which is why they lost the attachment box too. Firefox 45 reads the scripts fine, but the editor uses a function that only arrived in Firefox 47 (and quoting uses one from Firefox 49). That's why the toolbar fails while attachments keep working, exactly as you saw.

The syntax fix for SeaMonkey 2.53 and Dooble has been submitted to Simple Machines (PR #9765, planned for SMF 2.1.9).

For Firefox 45 I briefly added fallbacks for the missing functions here, but I've decided to remove them again, and I didn't submit them to Simple Machines. Firefox 45 dates from 2016 and has years of unfixed security holes. SMF doesn't support browsers that old, so a patch like that is unlikely to be accepted, and I'd have to re-apply my own workaround after every SMF update. So Firefox 45 isn't supported here. On OS/2, please use SeaMonkey 2.53 or Dooble for posting.

Update 10 Oct: Firefox 45 / SeaMonkey 2.42 support has been added back, see further down.

Dave Yeo

We don't actually have SeaMonkey 2.53 and on Linux SeaMonkey 2.53.24 works fine as there has been a lot of backports to SeaMonkey.
What we have is Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Firefox/45.0 SeaMonkey/2.42.9esr which is the same code base as Firefox 45. A bunch of us do change the user agent to get by bot checks.
The fixes you did for SeaMonkey 2.53 does help a lot to make OS2World usable on our ancient Mozilla apps, so thanks for that. The lack of the toolbar just means remembering the mark ups or using the cheat sheet I posted up thread.

Kim

Quote from: Dave Yeo on October 09, 2026, 07:11:27 PMWhat we have is Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Firefox/45.0 SeaMonkey/2.42.9esr which is the same code base as Firefox 45. A bunch of us do change the user
  agent to get by bot checks.

Thanks Dave, that clears up a mix-up on my side. I'd assumed people on OS/2 were on SeaMonkey 2.53, so my advice to use it for posting was no help at all here. Sorry about that.

So I've had another look, and Firefox 45 (and SeaMonkey 2.42) support is back, done differently this time:

  • The fallbacks for the missing functions now live in a small separate script instead of being patched into SMF's own files. An SMF update won't wipe them, and newer browsers simply ignore them.
  • It doesn't depend on your user agent, so it works whether or not you've changed yours to get past the bot check.

Could someone on Firefox 45 or SeaMonkey 2.42 open a reply and tell me whether the editor toolbar shows up now? Until then, Dave's cheat sheet up the thread still does the job.

Pete

Hi Kim

Using Daves most recent build of Seamonkey 2.42, toolbar shows up and seems to work so far


Thanks

Pete

Kim

Quote from: Pete on October 10, 2026, 01:01:56 PMUsing Daves most recent build of Seamonkey 2.42, toolbar shows up and seems to work so far

Thanks Pete!

//Kim

Martin Iturbide

This is a test from Firefox 45
BOLD

8)  ???
Martin Iturbide
OS2World NewsMaster
... just share the dream.