FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » force announcements above stickies
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: force announcements above stickies [message #27581 is a reply to message #27575] Tue, 13 September 2005 14:29 Go to previous messageGo to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma:
Senior Member
This seems to have done the trick.

ORDER BY (CASE WHEN thread_opt>=4 THEN 4294967294 WHEN thread_opt>=2 THEN 4294967296 ELSE {SQL_TABLE_PREFIX}thread.last_post_date END) ASC');


Thanks for the pointer. By the way, that's a very clever approach to ordering, at least from my perspective.

[Updated on: Tue, 13 September 2005 14:31]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to sort for popular topics
Next Topic: Rank picture for admin and moderator
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 00:10:36 GMT 2024

Total time taken to generate the page: 0.03969 seconds