The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I sort New Topics by forum/category?
I did a search here trying to find an answer and could not, so apologies if this is a repeat question but I did try to find the answer myself first.
When users click on New Topics they get a list of the latest topics since they last logged on in chronological order. What I would like to do is have this list still be in chrono order but organized by category/forum. Instead of: Message 1 in Chat Forum Message 2 in Support Forum Message 2 in Chat Forum Message X in Photo Forum Message 3 in Support Forum Message 3 in Chat Forum I would like to have Chat Forum: Message 1 Message 2 Message 3 Support Forum Message 2 Message 3 Photo Forum Message X etc. This way when members pull up the new topics they are sorted and if they are really only interested in a particularly category or forum they can see what is new in that category/forum without wading through all of the rest of the new messages in other forums that are displayed on the results list. This "should" be an easy modification if it requires a mod because it is just adding another value to the sort order, but I thought there might be a way to do this in vbulletin by default without hacking the code. Does anyone have an answer? BTW I'm using 3.6.2 Thanks in advance! |
#2
|
|||
|
|||
I figured this one out myself.
Edit search.php Line 2766 change it to this: $sortby = 'thread.forumid ASC, thread.lastpost DESC'; I'm not sure if there is a thread.forumname variable or not to sort by name but at least this way it groups all of the forums together by their forum ID number. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|