Post number on slider disagrees with post

Kind of a small issue, but I just noticed that the post number on the post doesn’t agree with the post number on the right side scroll slider. In the example below, I’m looking at the last post in the thread. The disagreement appears to be due to hidden posts, but shows this way for regular users. Should one or the other be adjusted to take hidden posts into account that regular users have no idea even exist?

1 Like

This is actually correct. One is the absolute post number, the other is the relative post count in the live topic.

1 Like

Maybe I’m not being clear. It doesn’t make sense (to the average user) that there are a total of 64 posts in the thread, but the one they’re looking at is #68. We know it’s because there are hidden posts. But because they have no clue about the hidden posts, it is confusing them.

1 Like

So what would you propose?

Right, but like user ID numbers, or topic ID numbers, it is what it is – a unique numeric identifier for each post.

At SitePoint we do it mainly for different reasons, but it is easy to display the post id number near posts:

2 Likes

Okay, I understand the post # is not just a reference, it is used as the ID for the post. Therefore, the hidden posts need to keep their numbers in the sequence.

If we can consider it a just a display issue, I can think of two ways to fix it:

  1. For display purpose only, adjust the “post#nn” displayed in the popup box by subtracting the number of hidden posts above it, eg:


    I understand that the displayed post number would disagree with the coded URL in the box.

  2. Include hidden posts in the relative post number and total (eg. 64/64) even when they are not expanded (admins/mods) or even visible (regular users). In my example, the last post would then show 68/68 on the slider. I understand that the incrementing number in the slider would “jump” as it passes hidden posts. This would expose to the clever user that there are posts hiding. But they can already tell that if they click each post’s timestamp in succession.

All that said, I understand that both of these might be difficult to implement in the CSS. Given that only one of our users has noticed this, if it’s difficult to change, it’s not a high priority for me personally.

I suspect that you are good company.

1 Like

It is not used as the post id, it is the post id.

The numbers in the timeline scroller are “nth visible post numbers”, not post id numbers

Okay, then my solution #2 could be restated: “In the timeline scroller, display the Nth post number, including invisible posts in N.”

This will not be happening.