The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Howto Show threads from the beginning, sorted by Last Post Time in Descending Order?
My forum is currently show threads from the beginning, sorted by Thread Title in Ascending order by default.
How can I change default setting to: Show threads from the beginning, sorted by Last Post Time in Descending Order? I need this setting to be permanent, i.e. this setting will be applied to all users. I believe I can run sql query correct? Can anyone give me the query to do this? Many thanks. |
#2
|
||||
|
||||
Quote:
You can change that on a forum per forum basis at Forum Manager-Edit Forum and the options you need are: Default View Age Default Sort Field Default Sort Order or you can change them for all the forums in one fell swoop at the phpmyadmin in the cp of your host by running the following queries: To show threads from the begin: Code:
UPDATE forum SET daysprune = -1 To sort by Last Post Time: Code:
UPDATE forum SET defaultsortfield = 'lastpost'; Whereas to sort in a descending order: Code:
UPDATE forum SET defaultsortorder = 'desc'; If your db tables have a prefix you should include that as well in the query. Hope it helps. |
#3
|
|||
|
|||
Thanks borbole, that does the trick!
Although I see no difference after I did that, I remember that I need to update the counter after any changes. Admin CP -> Import & Maintenance -> Update Counters -> Rebuild Forum Information Thanks again. |
#4
|
||||
|
||||
You are welcome. Glad to have been of help.
|
#5
|
|||
|
|||
Thanks guys.
You have also helped me. And sure many others. |
#6
|
|||
|
|||
Sorry but if I'm using a prefix where must be added??
Thanks in advance. |
#7
|
|||
|
|||
Quote:
Code:
UPDATE vbforum SET defaultsortorder = 'desc'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|