By default the date/time a topic was started is not shown on the Message Index so it is not possible to sort topics by their start date/time.
This modification displays the date/time a topic was started beside the name of the member who started the topic and also adds the option to sort topics by their start date/time.
Release History: 1.0 - 18-Sep-23 o Initial Release
1.1 - 20-Sep-23 o Added mod setting to configure custom date/time format for topic start date on Message Index (includes option to hide topic start date on Message Index). o Reduced core file edits by using hooks where possible.
1.2 - 14-Nov-23 o Added option to hide the time when the 'Shorthand Date Display' option is enabled (ie, when 'Today' and/or 'Yesterday' are shown). o As per Steve's request added option to hide start date/time unless sorting topics by date/time. o Added support for an alternate text string to use instead of $txt['date'] (Note: Alternate text string name is $txt['tsdomi_date'] and it's in the Modifications language file). o SMF 2.0: Fixed bug reported by FragaCampos that occurred when sorting by date and changing pages in boards with multiple topic pages.
1.3 - 15-Nov-23 o Fixed bug reported by Steve that occurred when the 'Hide start date/time unless sorting topics by date/time.' option is enabled, a board was viewed for the first time and the first sort done was by topic start date.
License Copyright 2023 Kathy Leslie
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You have to register or login to be able to leave a review