Setting to Disable Timeline on Posts

Can someone please add the ability to disable the scrollable Timeline to the right of posts in these forums? I’ve stumbled upon these forums many times when trying to do something with PowerShell and most of the time posters (ex: such as here) are not using the proper formatting to post their code. So their code gets truncated by the scrollable Timeline to the right of posts.

So from the example post I linked to above, this code is truncated:

The code if posted correctly would look like this:

[String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }

I joined these forums thinking maybe there was a setting in my profile to disable the timeline, but unfortunately there isn’t. Can this be implemented?

In the example you provided, they did actually use a preformatted text element.
Below using the pre element:

[String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }

If they had not formatted it at all it would look like this and it would wrap:
[String]$Check = ‘abc 123’ [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { “The fifth Character ‘$Character’ is a number” } else { ‘not’ }

You are correct in the way it should be properly display formatted text with backticks or however you did it :man_shrugging::
[String]$Check = 'abc 123' [String]$FifthCharacter = $Check.ToCharArray()[4] if ($FifthCharacter -as [Int]) { "The fifth Character '$Character' is a number" } else { 'not' }

I edited that post to use the current formatting option, three backticks. <pre>.. </pre> may have been the way the old forum software used to work.

I know nothing about turning off the timeline, unfortunately.

Ok thanks for your responses. I see this site forum is using the Discourse discussion platform. I found a post from 2023 about disabling the timeline, but it just talks about using CSS to hide it, so it’s not a built-in feature you can turn on or off for the entire platform let alone for individual users. I was under the impression this forum was custom built from the ground up and some admin here had full control over how it functioned, since it’s a forum about coding. But I guess I should have known better. :sweat_smile:

In Firefox you can override a site’s CSS with userContent.css. I would imagine other browsers have similar functionality. For Firefox:

  1. Go to about:config, ensure toolkit.legacyUserProfileCustomizations.stylesheets is set to true
  2. Go to about:profiles and identify the profile that’s in use.
  3. Navigate to the folder (Root Directory), create a new folder called chrome.
  4. In the chrome folder, create a text file userContent.css.
  5. Add the CSS below to userContent.css and save the file.
@-moz-document domain("forums.powershell.org") {
    .topic-body .cooked {
        overflow: visible !important;
    }
    .timeline-container {
        display: none;
    }
}
  1. Restart Firefox.
  2. Voila.
3 Likes

Thanks Matt, I am aware of the ability to replace the CSS via a similar method in Chrome, but never thought to look if there was a way to set this up permanently. I currently don’t use Firefox as my main browser, but I will see if I can replicate this functionality in Chrome.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.