Show most recent posts at the top March 29, 2017, 06:24:24 pm In SMF, under Pofile > Look and Layout there is an option Show most recent posts at the top.I cannot find it into elkarte, was removed? It hasn't much sense to exist, but a member just asked about this and wanted to know if is still available or not.http://www.simplemachines.org/community/index.php?topic=141179.0
Re: Show most recent posts at the top Reply #1 – March 29, 2017, 06:38:01 pm It's easy to do on a custom basis anyway. Simply a matter of shifting one chunk of PHP. Could easily turn it into a mod too.TBH I find having them at the top makes more sense, because guests don't get unread indicators and will often want the most recent content. Come to think of it, logged in members often want the most recent content too, so even though they do get the new posts function IMO it still doesn't make a lot of sense for recent posts to be at the bottom.
Re: Show most recent posts at the top Reply #2 – March 29, 2017, 06:53:01 pm You are right, but is not such a requested option, only one member asked for it in the last 2 years.Most forums are acting like elkarte, so people which already used forums expect to see the last post at the bottom. Once I landed on a SMF forum which had this option turned on for guests, and after a couple of pages of reading without much sense I noticed the date and this "strange" behaviour.
Re: Show most recent posts at the top Reply #3 – March 29, 2017, 09:44:38 pm I thought we already have this as an addon somewhere?
Re: Show most recent posts at the top Reply #4 – March 29, 2017, 10:04:42 pm Not that I can see. It'd be an easy one though.
Re: Show most recent posts at the top Reply #5 – March 30, 2017, 04:08:44 am The post below has an addon attached and also link to my suggested edit before it.Quote from: emanuele – May 26, 2015, 03:58:46 pmThis topic has a list of operations to edit the template, but today despite having several other things to do, I'm in a coding mood, so attached an addon that should do the trick without theme edits.Actually it's a bit of a trick because of the way the template uses id for styling, but I don't aim to perfection. Edited. My bad. The above is for the whole forum. And it is certainly not what you are looking for.
Re: Show most recent posts at the top Reply #6 – March 30, 2017, 05:03:44 am @ahrasis I am afraid that addon has nothing to do with what I asked here
Re: Show most recent posts at the top Reply #7 – March 30, 2017, 05:05:14 am I already noted that when I edited the reply.
Re: Show most recent posts at the top Reply #8 – March 30, 2017, 07:27:12 am Quote from: radu81 – March 29, 2017, 06:24:24 pmIn SMF, under Pofile > Look and Layout there is an option Show most recent posts at the top.I cannot find it into elkarte, was removed? It hasn't much sense to exist, but a member just asked about this and wanted to know if is still available or not.It was removed 3 years ago and never replaced.The changes to the code (to remove it) are:https://github.com/elkarte/Elkarte/commit/d2f3fd01083d9b0fa75b4aaa24e410dcdd130728if you want to reimplement it, you can just revert them (i.e. search for the green bits and replace them with the corresponding red ones).I'm not a fan of it, actually, I find it meaningful in PMs (and only because they are not really a very good discussion system anyway and people are used to read emails backwards), but not in normal discussions.
Re: Show most recent posts at the top Reply #9 – March 30, 2017, 07:49:19 am Oh you're talking about upside down threads. I thought you were talking about the recent posts list in the info centre.
Re: Show most recent posts at the top Reply #10 – March 30, 2017, 08:41:25 am Thanks for the info Emanuele, I prefer keep things simple, so I will not edit the files. If in the future more users will ask for this feature I will do it.
Re: Show most recent posts at the top Reply #11 – March 30, 2017, 03:44:37 pm Well, the code is there, if anyone wants to put ad addon together is just a matter of testing it a bit.
Re: Show most recent posts at the top Reply #12 – March 30, 2017, 04:14:52 pm Do not waste time on this since lacks interest. I opened this topic just to be sure it was removed or not. Thanks
Re: Show most recent posts at the top Reply #13 – April 07, 2017, 05:43:14 pm The simple fix I proposed is:https://github.com/emanuele45/Dialogo/commit/179bafc5936e2bf92e7973133fc7c55bd985edbfand it's live here.
Re: Show most recent posts at the top Reply #14 – April 07, 2017, 07:08:22 pm are you sure this is related to posts order and not to privacy of custom fields?