The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to sort forums automatically
I'm building a site that has a ton of forums, sub-forums, etc. I'd like it if they could all be sorted alphabetically, ignoring the "display order" key. It's quite a pain to keep up with the "display order" for all of the games. It'd be much easier if I could just drop new forums in there and they'd be sorted automatically.
In fact, if I could just change it site-wide (which would probably be easiest anyhow), that'd be fine. I figured I could just find the ORDER BY clause in there somewhere, but I'm not having much luck. I imagine this is a very minor code change somewhere. Any ideas? |
#2
|
|||
|
|||
I found in "functions_databuild.php", on line 48, the following:
Code:
$forums = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "forum ORDER BY parentid, displayorder"); [code] Code:
$forums = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "forum ORDER BY parentid, title"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|