The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
stop threads bumping in certain forum
i need to have threads not move to the top when someone replies but only in one forum, can anyone help :cry:
|
#2
|
|||
|
|||
Hello:
I am also very interested in knowing if this is already available. I've done a little searching on the forum and didn't see anything. If there is already a hack available can you please tell me where it is and if not is this something that one of you can do? thanx, Dennis |
#3
|
||||
|
||||
So as to do that, you have to cancel option of sorting messages according to "last post date". Messages bump up because they're sorted according to last post date. Do you really think you need it canceled? Because if your members dont like this sorting, they can simply change their sorting style, it's not mandatory.
|
#4
|
|||
|
|||
OK:
Thanx for the tip on the easy solution. But is it possible to add a hack that would disable anyone from changing their sorting style on just one topic or on individual categories? I'm looking for a more permanent solution. DPerley |
#5
|
||||
|
||||
yeah I need it only in my news forum ... Id rather it worked automatically
|
#6
|
||||
|
||||
It's possible but here is an important "but":
If what you want is to fix the sorting to an other field like "title", "replycount", "views", "postusername", "voteavg". apply the hack below. But if you want to sort according to thread start date, no it's not possible with this small code change. Anyway here is your hack: Edit forumdisplay.php, find PHP Code:
PHP Code:
It fixes the sortfield to "title" if forumid is 1, "views" if 2, "postusername" if 3.. Forum readers wont be able to change the sortfield for these forums anymore. Not tested but should work.. Enjoy.. Logician |
#7
|
|||
|
|||
Logician:
thanx for the advice. Someone else on another forum suggested this might work for the date thing. ------------------------------------------------- Not entirley sure, but a brief look suggests that doing something like: if ($forumid == 4) { $sortfield = "sql_field_name_for_date"; } and that should actually do it if you put that at the top of forumdisplay.php ------------------------------------------------- What's your take on that? thanx, DPerley |
#8
|
||||
|
||||
I have written my tip before checking the db (and still cant access here where I wrote this message), however if there is a first date field in the table script pulls the data, yes this may work.
Seemed a wise tip to me. You'd better give it a shot and if it works my advice wont be needed |
#9
|
||||
|
||||
all sounds nice but whats the sql_field_name_for_date?
|
#10
|
||||
|
||||
just as a curiosity, what version you installed? the one for mods or the one for a specific usergroup?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|