The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
An Idea for Thread Display Order
Would it be possible to create a hack that would allow the default thread display order for certain forums to be set to Alphabetical? I am thinking for book lists and FAQs this would be a nice feature.
Obviously the user can click the THREAD button to reorder the posts alphabetically or reverse alpha, but certain information-only forums really would benefit from a default presentation like this, plus very few new users know they can reorder the display of threads by thread/starter/replies/views/rating or Last Post. Maybe what I am actually suggesting is that the admin could be able to select any of these options: thread title/starter/replies/views/rating/lastpost could be configurable as the Thread sort order, able to override "last post" order, which would remain the default. Regards, Matt |
#2
|
|||
|
|||
Very nice idea, actually.
|
#3
|
||||
|
||||
in your forumdisplay.php you can find this:
PHP Code:
|
#4
|
|||
|
|||
But, that would change all the forums to the new order (alphabetic or views, etc) wouldn't it? I was really hoping to just affect one or two - the faq sorted by alpha; the booklist sorted by rating, and so forth.
Regards, Matt |
#5
|
||||
|
||||
replace it with an if-clause:
PHP Code:
|
#6
|
|||
|
|||
Thanks Xenon!
|
#7
|
|||
|
|||
This is great, Thanks!
|
#8
|
|||
|
|||
Xenon, I can't find the string of characters:
$sortfield ='lastpost' in the template forumdisplay. What is the exact name of the template I need to look for. I am only interested for the time being by having the Thread display in the order: first created, first in the list. I totally agree with Memobug. We should have the choice of orders'criterias in the Admin options. Thanks for your help! |
#9
|
||||
|
||||
Catherine you should read more carefully:
i said forumdisplay.php not the forumdisplay template |
#10
|
|||
|
|||
Xenon,
Sorry for my stupid question but I am not a Java script specialist and am just trying to hack some of my templates based on my knowledge of other programming languages. So where can I find forumdisplay.php? Thank you to let me know. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|