inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 25, 2018 16:55:55 GMT -8
Hi, I need the recent posts in my thread to add to the beginning of the post list, rather than at the end of the post list. Can this be done by editing the Layout Templates, and if so how?
To make sure I am getting my message across and there's no confusion, recent posts append themselves to the end of the post list, so what I need is code to make it appear first when you make a post, rather than at the end.
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 25, 2018 17:57:19 GMT -8
I've seen this request many times. The problem comes with pages. The code is only able to gather information from the posts present on the current screen. That means, if your thread spans 2 or more pages, it can only access the posts on page 1 -- it can't successfully reorder the entire thread because it can't access all the posts. I believe I've seen this code made, I want to say by Todge? But it only works if the thread stays on page 1.
|
|
inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 25, 2018 19:16:44 GMT -8
Yes, I only need it for the first page, the rest doesn't matter to me. Can you help me find the code that was made for this purpose? ₪» ⅀ ƪ Ƒ «₪
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 26, 2018 1:35:20 GMT -8
Yeah, I'll take a look in the morning for you, see if I can locate it. It was a long time ago, I
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 26, 2018 9:59:32 GMT -8
Hmm from looking around in my bookmarks, the only thing I found was support.proboards.com/thread/596087which is similar-ish in the type of action requested but not, obviously, what you want. xD I think there's a plugin or code for reversing the order in the thread summary when looking at the posting page, too.. So a few things exist that are near but not exact. Perhaps they'll provide enough structure for another coder to reference to create your code, though? A starting base, as it were? =/
|
|
inherit
256720
0
Jun 18, 2020 15:10:59 GMT -8
bluecargo1
36
October 2018
bluecargo1
|
Post by bluecargo1 on Oct 27, 2018 12:09:39 GMT -8
I found Peter 's code for reordering post summaries, so I edited it for myself to reorder the posts Thanks for the help. - can be marked resolved
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Oct 27, 2018 13:22:48 GMT -8
Oh daaang, nicely done!
|
|