Topic Start Date on Message Index

Started by GL700Wing, September 19, 2023, 03:26:09 PM

Previous topic - Next topic

Steve

Since you seem to be working while on vacation, I didn't want this to get lost  :laugh: :

Quote from: Steve on May 08, 2024, 08:08:06 AMWhat about if I'm looking at a multi-page topic, and I go to a different page in that same topic, I have to sort by Date again? For example, if I'm looking at page 2 of the topic and click page 5, why do I have to resort again?
My pet rock is not feeling well. I think it's stoned.

Arantor

And the same observation made back then applies now.

How is navigation inside a topic related to sort order of the board the topic is in?

Also, Ctrl-click to open a topic into a new tab may help.
Holder of controversial views, all of which my own.


Diego Andrés

Could apply it as board_user in the session.
Sounds pointless given that the pagination gets the updated URL and opening in a new tab or going back doesn't change the sorting order.

And there is also this MOD https://custom.simplemachines.org/index.php?mod=4340
If Steve intention is to have it as a default order for everyone.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Steve

If you order a topic by, say, subject, no matter what page you're on in the topic and you go to a different page in the same topic, it stays sorted by subject. Such is not the case with this mod.
My pet rock is not feeling well. I think it's stoned.

Arantor

There is a difference though.

This mod rearranges *the list of topics*. Not when you go *into a topic*.
Holder of controversial views, all of which my own.


GL700Wing

#45
Quote from: Steve on July 22, 2024, 10:53:03 AMIf you order a topic by, say, subject, no matter what page you're on in the topic and you go to a different page in the same topic, it stays sorted by subject. Such is not the case with this mod.
OK - I'm really confused because even without this mod installed I can't see any sort options once I'm viewing a topic - I can only see sort options on the message index.

How do you order an individual topic by subject?

Also, would you please provide some screen captures to help explain the problem.


Edit ...

Just wondering if the following is an example of what you're referring to:
1. Eight pages of topics are shown in the message index for a particular board;
2. You click on the 'Subject' link at the top of the message index to change the sort method for the current message index view from the default method of 'Last Post' to 'Subject';
3. You page through the message index (each page shown in the message index will be sorted by 'Subject').
4. You view a topic on any page; and
5. When you return to the message index from the topic the message index view has returned to using the default sort method of 'Last Post'.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Steve

Arrghhh! I can be so thick-headed sometimes. I'll go sit back in my corner now ...


(There's no problem.  :-[  )
My pet rock is not feeling well. I think it's stoned.

Arantor

I wasn't sure if it was me misunderstanding what you were asking for...
Holder of controversial views, all of which my own.


Steve

Naw, you're pretty good at deciphering what a person really wants. 'Twas just me being a bonehead.  :P
My pet rock is not feeling well. I think it's stoned.

GL700Wing

Version 1.4 - 04-Aug-24
o Changed code for displaying date on message index in ./Themes/default/MessageIndex.template.php to check for '_REQUEST' values instead of '_GET' values.
o SMF 2.1: Added option to choose a different style/colour sort icon.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Advertisement: