vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Support :: Messages - View Topic
Topic Rating: *****
Printable View
kyoshi
New Member
*

Posts: 27
Status: Offline
Joined:  
Reputation: 0%  


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?

{Smile}
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Messages (5th Jun 08 at 9:12pm UTC)
Messages as in PMs?

They automatically ordered Newest to Oldest... {Smile}
kyoshi
New Member
*

Posts: 27
Status: Offline
Joined:  
Reputation: 0%  


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
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Messages (5th Jun 08 at 10:16pm UTC)
the newest is first. The oen with the most recent reply! {Smile}


Board Link?
kyoshi
New Member
*

Posts: 27
Status: Offline
Joined:  
Reputation: 0%  


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
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
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) {Smile}

Image
kyoshi
New Member
*

Posts: 27
Status: Offline
Joined:  
Reputation: 0%  


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.

{Grin}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


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. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


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. {Tongue Out} )
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


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. {Tongue Out}

This is [as far as I'm aware] currently not available, but who knows, maybe Ross will feel like adding this. {Wink}

rroll.to— Shorten a link, rickroll your friends.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
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 {Smile}

Code: JavaScript
 
  1. <script type="text/javascript">
  2. <!--
  3. /* Reverse Post Order in Topic
  4. Written for vForums
  5. http://virtualforums.co.uk */
  6.  
  7. if(location.href.match(/action\/view_topic(\/|$)/gi)) {
  8.     var td = get('td', TAG);
  9.     var posts = Array();
  10.     var posts_holder = false;
  11.     for(i=0; i<td.length; i++) {
  12.         if(td.item(i).id && td.item(i).id.match(/^post-/)) {
  13.             posts.push(td.item(i).parentNode);
  14.             if(!posts_holder) {
  15.                 posts_holder = td.item(i).parentNode.parentNode;
  16.             }
  17.         }
  18.     }
  19.     if(posts_holder) {
  20.         posts.reverse();
  21.         for(p=0; p<posts.length; p++) {
  22.             posts_holder.appendChild(posts[p]);
  23.         }
  24.     }
  25. }
  26. //-->
  27. </script>
 

Image
 Printable View

All times are GMT+0 :: The current time is 1:03am
Page generated in 0.3952 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums