miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | 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 Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB