inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 20, 2013 4:09:17 GMT -8
Someone asked for this in another board, thought I may as well post it here. Goto Admin > Themes > Layout Templates Select the "Posting Page" template, and click on the "Thread Summary" tab. At the bottom, paste this in... <script>
jQuery.fn.reverse = [].reverse;
$(".container.posts.summary table.list tr").reverse().each(function(){ $(this).appendTo($(this).parent()); });
</script>
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 20, 2013 6:24:05 GMT -8
I like the idea of it being reversed, but I never look at a thread summary anyway, or ok, i do but very rarely. I always usually quote people so have the info right there in front of me Good and useful either way though
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 20, 2013 6:49:28 GMT -8
I like the idea of it being reversed, but I never look at a thread summary anyway, or ok, i do but very rarely. I always usually quote people so have the info right there in front of me Good and useful either way though Same here, never really look at it, and if I do it's like once in a blue moon
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Feb 20, 2013 7:26:21 GMT -8
Thanks Peter I think I may have been one of the ones who asked for this at some point. Very useful
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Feb 21, 2013 8:17:43 GMT -8
I'll add this to the index when I do my next trawl. Really need to organise that thing, too. >_>
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 23, 2013 11:50:57 GMT -8
First of all, thanks Peter... a question: it seems it works perfectly with 1-page-threads but with >1-page-threads is seems to be working only 'quoting', and not 'replying'... is that issue only mine or someone else noticed it ?!
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 11:59:34 GMT -8
user07Just tested it myself with a 1 page thread, and an 11 page thread, replying and quoting, no issues at all. What browser and OS? Any custom template changes to those areas where the summary displays?
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 23, 2013 12:05:40 GMT -8
Thank you for answering, Peter well, no changes in "Thread Summary" but maybe I'd have to look somewhere else...
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 12:12:06 GMT -8
It's a very simple script, all my tests appear to work fine. Not sure what to suggest Link me to your forum so I can see if there is anything I can spot.
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 23, 2013 16:06:55 GMT -8
Ok, so, I really have no idea about the reason but the issue was probably because of my relocated Reply button... ( also, it wasn't true that this script wasn't working, it worked but ONLY and ALWAYS for the first page of each thread... sorry I didn't explain correctly ) Anyway, I am using this code here: support.proboards.com/post/5162858/thread (REPLY Button Relocation) Changing this (Structure > Layout Templates > Thread > Post List): <a class="button" href="/post/new/$[post.thread_id]" role="button">Reply</a> with this: <a role="button" href="/post/new/$[post.thread_id]" class="button reply-button ">Reply</a> made your script working, Peter (but Reply button wasn't working anymore for posts found via 'Recent' link so I've tried with this: {if !$[viewing_recent_posts]} <a role="button" href="/post/new/$[post.thread_id]" class="button reply-button ">Reply</a>{/if} {if $[viewing_recent_posts]} <a class="button" href="/post/new/$[post.thread_id]" role="button">Reply</a>{/if} and now it seems that everything is fine enough: 'Reply' clicked in in-thread-posts links to a reply page with a reversed summary; 'Reply' clicked in recent-posts links to a reply page with a reversed summary of the first thread's page, but that doesn't matter much... )
|
|
xLc
Junior Member
Posts: 290
inherit
180982
0
Sept 18, 2019 6:25:07 GMT -8
xLc
290
July 2012
lifestylecourier
|
Post by xLc on Feb 26, 2013 8:38:25 GMT -8
Same happened on mine with Reply relocation, so disabled it, cause not sure what you did to fix it user07
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Feb 26, 2013 10:58:37 GMT -8
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Mar 11, 2013 22:18:15 GMT -8
Peter , sorry to bother you again... but is there a way to modify this script so that it can work with also the messages'summary (conversations/PM)?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 12, 2013 2:58:17 GMT -8
Peter , sorry to bother you again... but is there a way to modify this script so that it can work with also the messages'summary (conversations/PM)? Try this code instead of the other... <script>
jQuery.fn.reverse = [].reverse;
$(".container.posts.summary table.list tr, .container.messages.summary table.list tr").reverse().each(function(){ $(this).appendTo($(this).parent()); });
</script>
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Mar 12, 2013 4:03:34 GMT -8
Peter thank you very much it didn't change anything but this <script>
jQuery.fn.reverse = [].reverse;
$(".container.messages.summary table.list tr").reverse().each(function(){ $(this).appendTo($(this).parent()); });
</script> in Conversation Summary's template worked Thanks again!
|
|