The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hi,
we are implementing a Little Archieve in our Board, and so some little Hacks would help us. I am not sure how to do this, maybe someone can help me. [list=1][*]Thread-Sorting In the Forum now we put some Information and it is absolut not of Interest when this Things are posted, it would be better, if the Threads are sorted alphbetically. Is this possible? Possibly a Hack, where to Change the sorting in the CP for each Forum.[*]Rating In This Forum only the Moderators and Administrators schould rate the Treads. I can Build in, that Usergroups can rate, if rating is anabled, but in all other Forums Registered Users can Rate, but in this Forum they should not Rate. Is This Possible? May in Connection with a Text in the Small Permissions Box an the bottom of the Site: You can't rate in this Forum.[*]disabling Columns And the third Question is, if i can disable some Columns in the Overview of this Forum. It is absolutetly not from interest, how many Posts a Thread has, the Most of them have only one! [/list=1] I Hope some of you have an Idea, or know a Hack that helps me. Thanks and regards Hoffi PS: The Forum is in German: http://www.calibra.de/vb2/ |
#2
|
||||
|
||||
1. In forumdisplay.php replace:
Code:
if (!isset($sortfield)) { $sortfield = ""; } Code:
if (!isset($sortfield)) { if ($forumid==xxx) $sortfield = 'title'; else $sortfield = ''; } 2. Go to Forum Permissions and set for each usergroup in the Archive forum that "Can Rate threads if thread rating is enabled in the forum?" is NO. 3. I'm not in the mood, this is the worst kind of hacking. |
#3
|
||||
|
||||
Thanks for the fast answer.
1. I think this works not for Subforen, so i try (this evening) PHP Code:
2. This I have searched, but i didn't find it. Is it possible that during an update this Pont is missing? I logged in, and used the Link Forum Permissions in the User-Group Group. Then scroll down to the Forum I want to change, and click on the [Edit]-Link behind the Usergroup. Then i don't see an option like you describes. 3. Yes, thats it. May it work like number one, around the <td>-Tags? |
#4
|
||||
|
||||
I Have tested this order and it works with one Forum. But it is always Descending. I can't get it Ascending!!
Di you have an idea? |
#5
|
||||
|
||||
You need to add this line in the IF block:
Code:
$sortorder='asc'; |
#6
|
||||
|
||||
I must be a little bit confused.
I tried this out, when i was editing the Code, and it doesn't work. I tried it now a second time, and it works. I don't know why, but now this Issue works. Thanks FireFly. But the 2nd Question I can't find this Option! Is it possible that i forgot something during an Update? So the Major Question: What can i Do, that all options are there? |
#7
|
||||
|
||||
I just released the Hack for the deafult sort order:
Advanced Forum Properties part 2: https://vborg.vbsupport.ru/showthrea...threadid=34556 Part 1 is the Days Prune override Hack: https://vborg.vbsupport.ru/showthread.php?threadid=3371 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|