miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

making messages listed in reverse order, newest at the top

 
Author Peta
Guest
#1 | Posted: 14 Sep 2005 10:20 
Hi,
how can i set, if i can reverse order messages to
new in top ? (in messages, no in topic)
Ex:
normal order:
26.september 2005 Blablabla
29.september 2005 Blablabla
30.september 2005 Blablabla
i can new in top (for guestbook forum)
30.september 2005 Blablabla
29.september 2005 Blablabla
26.september 2005 Blablabla

Peta

Author marsbar
Associated Member
#2 | Posted: 14 Sep 2005 14:33 
Section 4.2.8 of the miniBB Manual (sorting thread in descending order) may have the answer you need.
All the best -
mb

Author Team
8-)
#3 | Posted: 14 Sep 2005 17:30 
marsbar provided the answer to the specific threads. If you need to set order for EVERY thread, it's better to edit bb_func_vthread.php and strictly set $srt='DESC';

Author cvp
Guest
#4 | Posted: 8 Aug 2007 12:13 
edit bb_func_vthread.php and strictly set $srt='DESC';
How to do that? How so adjust?
I have:
if(isset($themeDesc) and in_array($topic,$themeDesc)) $srt='DESC'; else $srt='ASC';

Author cvp
Guest
#5 | Posted: 8 Aug 2007 13:22 
Help me pls.

if(isset($themeDesc) and in_array($topic,$themeDesc)) $srt=''; else $srt='';

or

$srt="";

and malfunctions. Date is:
26.september 2005 Blablabla
29.september 2005 Blablabla
30.september 2005 Blablabla

And I need:
30.september 2005 Blablabla
29.september 2005 Blablabla
26.september 2005 Blablabla


...pls help me. Very, very thx all

Author Paul
Lead Developer 
#6 | Posted: 9 Aug 2007 02:48 
Instead of the line you have just put

$srt='DESC';

Author cvp
Guest
#7 | Posted: 9 Aug 2007 05:46 
omg....very thx. Now is oukej.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 making messages listed in reverse order, newest at the top
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Private Messaging add-on: allow your miniBB-forums members to communicate with each other.


  ⇑