kyoshi New Member
Posts: 27 Status: Offline Joined:
pm | Messages (5th Jun 08 at 8:47pm UTC) | | Where do I find the settings in admin to set messages in descending or ascending order by date?
| |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Messages (5th Jun 08 at 9:12pm UTC) | | Messages as in PMs?
They automatically ordered Newest to Oldest...
| |
|
kyoshi New Member
Posts: 27 Status: Offline Joined:
pm | Re: Messages (5th Jun 08 at 10:07pm UTC) | | No, I mean messages on the message board? My message board shows the oldest post first then goes down to the newest post. I'd like to be able to set the messages so that the newest message is first then goes down to the oldest. | |
|
Michael Moderator
Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
pmvForum | Re: Messages (5th Jun 08 at 10:16pm UTC) | | the newest is first. The oen with the most recent reply!
Board Link? | |
|
kyoshi New Member
Posts: 27 Status: Offline Joined:
pm | Re: Messages (5th Jun 08 at 10:21pm UTC) | | http://budo.vforums.co.uk check out the message 'Professor Arrived' (in the 'Martial Arts Discussion' board) and you'll see what I mean. | |
|
Ross Administrator
Posts: 3,709 Status: Offline Gender: Male Age: 8 1⁄1 Joined:
Additional Groups: Support Team
pmwwwgtalkvForum | Re: Messages (5th Jun 08 at 11:11pm UTC) | | Hi. Any topics which are either "Sticky" or "Announcements" remain at the top of the board above all other topics. Looking at that board, the topic you mentionned appears as the first standard (non-sticky) topic. You can have it appear above the "Welcome" topic by unstickying the welcome topic (if that's what you want) | |
|
|
kyoshi New Member
Posts: 27 Status: Offline Joined:
pm | Re: Messages (5th Jun 08 at 11:24pm UTC) | | No, I'm not talking about topics, i understand the sticky... I'm talking about messages (replies), for example...
message blah blah 5th July 2008
message blah blah 9th July 2008
The 9th July message (the newest) is at the bottom and the oldest message is at the top. I'd like to be able to admin my settings to have 9th July message (newest) above the 5th July message.
| |
|
Marc vChat Developer
I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
pmwww | Re: Messages (6th Jun 08 at 3:15am UTC) | | The system is designed to automatically sort from newest to oldest. Most likely what happened is that someone replied to that topic then deleted their post, causing it to remain at the top. Have a look at your Security Records and/or Recycle Bin to see if that's the case. | |
rroll.to— Shorten a link, rickroll your friends. |
|
Nick Very Senior Member
Posts: 3,012 Status: Offline Gender: Male Location: vForums Age: 34 Joined:
pmwww | Re: Messages (6th Jun 08 at 3:56am UTC) | | Or if in general Kyoshi wants the newest Post at the top, like my post will be at the bottom as it is the newest post. And I think Kyoshi wants the newest post at the top instead of the bottom. (this is what I am getting. This is just my guess. ) | |
|
Marc vChat Developer
I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 32 Joined:
Additional Groups: Coding Team
pmwww | Re: Messages (6th Jun 08 at 4:29am UTC) | | Ohh, you're meaning that you want to be able to choose if within a topic itself the replies are sorted from newest to oldest. I understand now.
This is [as far as I'm aware] currently not available, but who knows, maybe Ross will feel like adding this. | |
rroll.to— Shorten a link, rickroll your friends. |
|
Ross Administrator
Posts: 3,709 Status: Offline Gender: Male Age: 8 1⁄1 Joined:
Additional Groups: Support Team
pmwwwgtalkvForum | Re: Messages (6th Jun 08 at 5:40pm UTC) | | Hi again,
I don't think it'd be beneficial to have this as a built in feature at this time. However, you can place this code into your global footer which should do what you want
Code: JavaScript - <script type="text/javascript">
- <!--
- /* Reverse Post Order in Topic
- Written for vForums
- http://virtualforums.co.uk */
-
- if(location.href.match(/action\/view_topic(\/|$)/gi)) {
- var td = get('td', TAG);
- var posts = Array();
- var posts_holder = false;
- for(i=0; i<td.length; i++) {
- if(td.item(i).id && td.item(i).id.match(/^post-/)) {
- posts.push(td.item(i).parentNode);
- if(!posts_holder) {
- posts_holder = td.item(i).parentNode.parentNode;
- }
- }
- }
- if(posts_holder) {
- posts.reverse();
- for(p=0; p<posts.length; p++) {
- posts_holder.appendChild(posts[p]);
- }
- }
- }
- //-->
- </script>
| |
|
|